
Recherche avancée
Autres articles (15)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (5342)
-
ffmpeg : How do I set the framerate and keep the default image resolution ?
8 septembre 2022, par Sprout CoderI have 23 frames inside a folder (each frame has the same resolution) :


frame-1.png
frame-2.png
......
frame-23.png



I want to create a 1 second video that will have the same resolution.
Each frame should therefore last for
1/23
seconds.

I tried to following command :


ffmpeg -r 23 -i "frame-%d.png" -c:v libx265 -r 23 out.mp4



But my mac crashed.


The resolution of each image is really big (15000x15000) but not big enough for ffmpeg to throw the usual "value is too big" (>INT_MAX) error..


I think it crashes because my command is not correct.


Could you please confirm what the correct command should be to achieve what I want ?


Also, will the frames be ordered correctly according to this command ?


Thank you in advance for your help


-
Force ffmpeg to quit when input resolution changes
22 octobre 2022, par rednineI'm using ffmpeg to restream a live feed. Unfortunately occasionally the input resolution changes but ffmpeg continues running. The nginx rtmp server I'm using doesn't cope well with this, and continues the stream with audio, but the video is mostly black or green with some artifacts.


Ideally what I want to happen is for ffmpeg to stop on an input resolution change, as I have a script that detects ffmpeg stopping and will restart it again.


I'm using -c:v copy in my ffmpeg command as unfortunately my machine is not powerful enough to re-encode the live video on the fly to a constant resolution (not without a significant quality reduction at least)


ffmpeg -i "http://mpegts-live-stream" -c:v copy -c:a aac -ac 2 -f flv "rtmp://nginxserver/live/streamname"


-
change resolution of video using ffmpeg
28 octobre 2022, par davidI have a folder that contains videos with a resolution of 1080 and different bitrates. I am trying to change their resolution to 480 and using the following code :


subprocess.call(['ffmpeg.exe','-i', pname1,'-vf', 'scale=-1:480,setsar=1:1','-c:v','libx264','-pix_fmt' ,'yuv420p','-b:v', str(cnt)+'K', '-bufsize', str(cnt)+'K' ,'-minrate', str(cnt)+'K','-maxrate', str(cnt)+'K', '-x264opts','keyint=60:min-keyint=60','-preset', 'veryfast', '-profile:v', 'high', '-f', 'hls', '-hls_time', '2', '-hls_list_size','0', pname2])



but it produces noting in the related filename (
pname2
). it also shows no error.
what is the problem and how can I change the resolution to 480 ?