
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (54)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9075)
-
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 -
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).


-
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")