
Recherche avancée
Autres articles (54)
-
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 -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (6589)
-
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")