
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (41)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5326)
-
ffmpeg merge audio and video streams on the fly
19 décembre 2022, par KikoI'm trying to get a stream from Youtube and stream it via HTTP, but I have to use separate audio and video streams to get good quality. I don't know how to merge the streams on the fly with
ffmpeg
. (I'm usingpytube
)

I know I can do this by saving the streams, then merging them, and then streaming the output, but I would like to do it on the fly. This is my current code (which uses the old progressive streams) :


yt = YouTube(f"https://www.youtube.com/watch?v={url}")
video = yt.streams.filter(file_extension='mp4', progressive=True).first()
async def stream(response):
 for chunk in pytube_request.stream(video.url):
 await response.write(chunk)
return ResponseStream(stream, content_type="audio/mp4")



-
yt-dlp and ffmpeg CLI : dynamically naming output file using ${}
14 juin 2022, par garsonI'm trying to dynamically name the output created by running yt-dlp and piping to ffmpeg for further processing. Ideally I'd also like to preserve other metadata from the Youtube in the output mp4 file.


What I have tried (working example)


yt-dlp "https://www.youtube.com/watch?v=PtkqwslbLY8" -o - | /
ffmpeg -i - -vcodec libx264 -crf 23 -preset fast -profile:v /
baseline -level 3 -refs 6 -vf "scale=640:-1,pad=iw:480:0:(oh-ih)/2,/
format=yuv420p" -acodec copy ${%(title)s}out.mp4



What the current result is


However, this just creates a file called out.mp4, without anything of the earlier video title in the file name.


What I want the result to be


I want the result to be a file called something like Jupiter_101_National_Geographicout.mp4 (based on the title of the Youtube Video).


-
php streaming video : can tmp file be accessed before move_uploaded_file ?
5 août 2019, par JintorMy question is about accessing file while they are being uploaded to the server.
Can I perform "live" video streaming but BEFORE move_uploaded_file ???
because move_uploaded_file have to wait until the video is completely finished.
<?php
// Can I access tmp before move_uploaded_file ?
move_uploaded_file('tmp_name','new_location');Is there a way to access the tmp file during upload and perform ffmpeg ?
I was considering upload by chunk via xhr request... but it seems .mp4 from a mobile don’t necessarily apply a fast start...
how live streaming services companies do it ?
**** More clarifications :
Live streaming. Example User X take his phone and want to go live, he hit a button "stream yourself" than the camera starts recording and while uploading, the server begins to save it to the server and other users like Y, Z, A, B begin to watch while X is still begin live