
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (23)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (3416)
-
Record Webcam as single JPG files [on hold]
2 décembre 2016, par clicI have to record a Windows Directshow Webcam video stream (UHD, 30fps, yuyv422) as single JPG images. Performance is important, so preferably by using NVIDIA GPU acceleration via CUDA or something..
What is the most simple but powerful solution, without having to buy proprietary software ?
I had a look at ffmpeg, by recording as MJPEG and then using something like jpegtran to get the JPGs. I tried :
ffmpeg -f dshow -video_size 1920x1080 -framerate 50 -vcodec mjpeg -i video="XI100DUSB-HDMI Video" out.avi
But it results in an I/O error saying ’Could not set video options’. Maybe because of the yuyv422 pixel format of my Magewell USB dongles..
Or is ffmpeg able to record as single JPGs directly somehow ?
If someone has any other idea/solution besides ffmpeg, please let me know too ! Thanks !
EDIT :
I was now able to save JPGs directly, using
webcamimg%04d.jpg
instead ofout.avi
. But it’s always claiming about full real-time buffer. Raising thertbufsize
parameter doesn’t really help..ffmpeg console output :
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-li
bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.100 / 57. 64.100
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[dshow @ 0000000001c628a0] Could not set video options
video=XI100DUSB-HDMI Video: I/O errorOutput of : ffmpeg -list_options true -f dshow -i video="XI100DUSB-HDMI Video"
[dshow @ 00000000004d71e0] DirectShow video device options (from video devices)
[dshow @ 00000000004d71e0] Pin "Capture" (alternative pin name "0")
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1920x1080 fps=15 max s=1920x1080 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1920x1080 fps=15 max s=1920x1080 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=640x360 fps=15 max s=640x360 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=640x360 fps=15 max s=640x360 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=640x480 fps=15 max s=640x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=640x480 fps=15 max s=640x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=720x480 fps=15 max s=720x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=720x480 fps=15 max s=720x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=720x576 fps=15 max s=720x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=720x576 fps=15 max s=720x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=768x576 fps=15 max s=768x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=768x576 fps=15 max s=768x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=800x600 fps=15 max s=800x600 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=800x600 fps=15 max s=800x600 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=856x480 fps=15 max s=856x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=856x480 fps=15 max s=856x480 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=960x540 fps=15 max s=960x540 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=960x540 fps=15 max s=960x540 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1024x576 fps=15 max s=1024x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1024x576 fps=15 max s=1024x576 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1024x768 fps=15 max s=1024x768 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1024x768 fps=15 max s=1024x768 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x720 fps=15 max s=1280x720 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x720 fps=15 max s=1280x720 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x800 fps=15 max s=1280x800 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x800 fps=15 max s=1280x800 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x960 fps=15 max s=1280x960 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x960 fps=15 max s=1280x960 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x1024 fps=15 max s=1280x1024 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1280x1024 fps=15 max s=1280x1024 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1368x768 fps=15 max s=1368x768 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1368x768 fps=15 max s=1368x768 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1440x900 fps=15 max s=1440x900 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1440x900 fps=15 max s=1440x900 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1600x1200 fps=15 max s=1600x1200 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1600x1200 fps=15 max s=1600x1200 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1680x1050 fps=15 max s=1680x1050 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1680x1050 fps=15 max s=1680x1050 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1920x1200 fps=15 max s=1920x1200 fps=59.9999
[dshow @ 00000000004d71e0] pixel_format=yuyv422 min s=1920x1200 fps=15 max s=1920x1200 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1920x1080 fps=15 max s=1920x1080 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1920x1080 fps=15 max s=1920x1080 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=640x360 fps=15 max s=640x360 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=640x360 fps=15 max s=640x360 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=640x480 fps=15 max s=640x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=640x480 fps=15 max s=640x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=720x480 fps=15 max s=720x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=720x480 fps=15 max s=720x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=720x576 fps=15 max s=720x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=720x576 fps=15 max s=720x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=768x576 fps=15 max s=768x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=768x576 fps=15 max s=768x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=800x600 fps=15 max s=800x600 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=800x600 fps=15 max s=800x600 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=856x480 fps=15 max s=856x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=856x480 fps=15 max s=856x480 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=960x540 fps=15 max s=960x540 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=960x540 fps=15 max s=960x540 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1024x576 fps=15 max s=1024x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1024x576 fps=15 max s=1024x576 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1024x768 fps=15 max s=1024x768 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1024x768 fps=15 max s=1024x768 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x720 fps=15 max s=1280x720 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x720 fps=15 max s=1280x720 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x800 fps=15 max s=1280x800 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x800 fps=15 max s=1280x800 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x960 fps=15 max s=1280x960 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x960 fps=15 max s=1280x960 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x1024 fps=15 max s=1280x1024 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1280x1024 fps=15 max s=1280x1024 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1368x768 fps=15 max s=1368x768 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1368x768 fps=15 max s=1368x768 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1440x900 fps=15 max s=1440x900 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1440x900 fps=15 max s=1440x900 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1600x1200 fps=15 max s=1600x1200 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1600x1200 fps=15 max s=1600x1200 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1680x1050 fps=15 max s=1680x1050 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1680x1050 fps=15 max s=1680x1050 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1920x1200 fps=15 max s=1920x1200 fps=59.9999
[dshow @ 00000000004d71e0] unknown compression type 0xE436EB7D min s=1920x1200 fps=15 max s=1920x1200 fps=59.9999
video=XI100DUSB-HDMI Video: Immediate exit requested -
Syncing 3 RTSP video streams in ffmpeg
26 septembre 2017, par Damon MariaI’m using an AXIS Q3708 camera. It internally has 3 sensors to create a 180º view. Each sensor puts out it’s own RTSP stream. To put together the full 180º view I need to pull an image from each stream and place the images side-by-side. Obviously it’s important that the 3 streams be synchronized so the 3 images were taken at the same ’wall clock’ time. For this reason I want to use ffmpeg because it should be a champ at this.
I intended to use the hstack filter to combine the 3 images. However, it’s causing me a lot of grief and errors.
What I’ve tried :
1. Hstack the rtsp streams :
ffmpeg -i "rtsp://root:root@192.168.13.104/axis-media/media.amp?camera=1" -i "rtsp://root:root@192.168.13.104/axis-media/media.amp?camera=2" -i "rtsp://root:root@192.168.13.104/axis-media/media.amp?camera=3" -filter_complex "[0:v][1:v][2:v]hstack=inputs=3[v]" -map "[v]" out.mp4
I get lots of RTSP dropped packets decoding errors which is strange given this is an i7-7700K 4.2GHz with an NVIDIA GTX 1080 Ti and 32GB of RAM and the camera is on a local gigabit network :
[rtsp @ 0xd4eca42a00] max delay reached. need to consume packetA dup=0 drop=136 speed=1.16x
[rtsp @ 0xd4eca42a00] RTP: missed 5 packets
[rtsp @ 0xd4eca42a00] max delay reached. need to consume packetA dup=0 drop=137 speed=1.15x
[rtsp @ 0xd4eca42a00] RTP: missed 4 packets
[h264 @ 0xd4ecbb3520] error while decoding MB 14 15, bytestream -21
[h264 @ 0xd4ecbb3520] concealing 1185 DC, 1185 AC, 1185 MV errors in P frame2. Using
ffmpeg -i %s -c:v copy -map 0:0 out.mp4
to save each stream to a file and then run the abovehstack
command with the 3 files rather than 3 RSTP streams. First off, there are no dropped packets saving the files, and the hstack runs at speed=25x so I don’t know why the operation in 1 had so many errors. But in the resulting video, some parts ’pause’ between frames as tho the same image was used across 2 frames for some of the hstack inputs, but not the others. Also, the ’scene’ at a set distance into the video lags behind the input videos – which would happen if the frames are being duplicated.3. If I use the RTSP streams as the input, and for the output specify
-f null -
(thenull
demuxer) then the demuxer reports a lot of these errors :[null @ 0x76afb1a060] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1
Last message repeated 1 times
[null @ 0x76afb1a060] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 2 >= 2
[null @ 0x76afb1a060] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3 >= 3
[null @ 0x76afb1a060] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4 >= 4
Last message repeated 1 times
[null @ 0x76afb1a060] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 5 >= 5
Last message repeated 1 timesWhich sounds again like frames are being duplicated.
4. If I add
-vsync cfr
then the null muxer no longer reportsnon monotonically increasing dts
, and dropped packet / decoding errors are reduced (but still there). Does this show that timing info from the RTSP streams is ’tripping up’ ffmpeg ? I presume it’s not a solution tho because it is essentially wiping out and replacing the timing information ffmpeg would need to use to sync ?5. Saving a single RTSP stream (re-encoding, not using the
copy
codec ornull
demuxer) logs a lot of warnings like :Past duration 0.999992 too large
Last message repeated 7 times
Past duration 0.999947 too large
Past duration 0.999992 too large6. I first tried performing this in code (using PyAV). But struck problems when pushing a frame from each container into the 3 hstack inputs would cause hstack to output multiple frames (when it should be only one). Again, this points to hstack duplicating frames.
7. I have used Wireshark to sniff the RTCP/RTP traffic and the RTCP Sender Report’s have correct NTP timestamps in them matched to the timestamps in the RTP streams.
8. Using ffprobe to show the frames of a RTSP stream (example below) I would have expected to see real (NTP based timestamps) given they exist in the RTCP packets. I’m not sure what is correct behaviour for ffprobe. But it does show that most frame timestamps are not exactly 0.25s (the camera is running 4 FPS) which might explain
-vsync cfr
’fixing’ some issues and thePast duration 0.999992
style errors :pkt_pts=1012502
pkt_pts_time=0:00:11.250022
pkt_dts=1012502
pkt_dts_time=0:00:11.250022
best_effort_timestamp=1012502
best_effort_timestamp_time=0:00:11.250022
pkt_duration=N/A
pkt_duration_time=N/A
pkt_pos=N/AI posted this as a possible hstack bug on the ffmpeg bug tracker but that discussion fizzled out.
So, question : how do I sync 3 RTSP video streams through hstack in ffmpeg ?
-
What flags should enable to get maximum performance using ffpeg ?
19 octobre 2017, par SamI am using windows, my application is using opencv and for codecs, we have used ffmpeg. We see the performance is very slow, we want to improve it by compiling ffmpeg with all flags which could take hardware and GPU acceleation into consideration.
I did./configure --help
inside the ffmpeg source, I see below list option, can you please tell which all can really imporve the performance. Note that we would like to take advantage of hardware and gpu capabilities.$ ./configure —help
Usage : configure [options]
Options : [defaults in brackets after descriptions]Help options :
—help print this message
—quiet Suppress showing informative output
—list-decoders show all available decoders
—list-encoders show all available encoders
—list-hwaccels show all available hardware accelerators
—list-demuxers show all available demuxers
—list-muxers show all available muxers
—list-parsers show all available parsers
—list-protocols show all available protocols
—list-bsfs show all available bitstream filters
—list-indevs show all available input devices
—list-outdevs show all available output devices
—list-filters show all available filtersStandard options :
—logfile=FILE log tests and output to FILE [ffbuild/config.log]
—disable-logging do not log configure debug information
—fatal-warnings fail if any configure warning is generated
—prefix=PREFIX install in PREFIX [/usr/local]
—bindir=DIR install binaries in DIR [PREFIX/bin]
—datadir=DIR install data files in DIR [PREFIX/share/ffmpeg]
—docdir=DIR install documentation in DIR [PREFIX/share/doc/ffmpeg ]
—libdir=DIR install libs in DIR [PREFIX/lib]
—shlibdir=DIR install shared libs in DIR [LIBDIR]
—incdir=DIR install includes in DIR [PREFIX/include]
—mandir=DIR install man page in DIR [PREFIX/share/man]
—pkgconfigdir=DIR install pkg-config files in DIR [LIBDIR/pkgconfig]
—enable-rpath use rpath to allow installing libraries in paths
not part of the dynamic linker search path
use rpath when linking programs (USE WITH CARE)
—install-name-dir=DIR Darwin directory name for installed targetsLicensing options :
—enable-gpl allow use of GPL code, the resulting libs
and binaries will be under GPL [no]
—enable-version3 upgrade (L)GPL to version 3 [no]
—enable-nonfree allow use of nonfree code, the resulting libs
and binaries will be unredistributable [no]Configuration options :
—disable-static do not build static libraries [no]
—enable-shared build shared libraries [no]
—enable-small optimize for size instead of speed
—disable-runtime-cpudetect disable detecting CPU capabilities at runtime (sma ller binary)
—enable-gray enable full grayscale support (slower color)
—disable-swscale-alpha disable alpha channel support in swscale
—disable-all disable building components, libraries and programs
—disable-autodetect disable automatically detected external libraries [no ]Program options :
—disable-programs do not build command line programs
—disable-ffmpeg disable ffmpeg build
—disable-ffplay disable ffplay build
—disable-ffprobe disable ffprobe build
—disable-ffserver disable ffserver buildDocumentation options :
—disable-doc do not build documentation
—disable-htmlpages do not build HTML documentation pages
—disable-manpages do not build man documentation pages
—disable-podpages do not build POD documentation pages
—disable-txtpages do not build text documentation pagesComponent options :
—disable-avdevice disable libavdevice build
—disable-avcodec disable libavcodec build
—disable-avformat disable libavformat build
—disable-swresample disable libswresample build
—disable-swscale disable libswscale build
—disable-postproc disable libpostproc build
—disable-avfilter disable libavfilter build
—enable-avresample enable libavresample build [no]
—disable-pthreads disable pthreads [autodetect]
—disable-w32threads disable Win32 threads [autodetect]
—disable-os2threads disable OS/2 threads [autodetect]
—disable-network disable network support [no]
—disable-dct disable DCT code
—disable-dwt disable DWT code
—disable-error-resilience disable error resilience code
—disable-lsp disable LSP code
—disable-lzo disable LZO decoder code
—disable-mdct disable MDCT code
—disable-rdft disable RDFT code
—disable-fft disable FFT code
—disable-faan disable floating point AAN (I)DCT code
—disable-pixelutils disable pixel utils in libavutilIndividual component options :
—disable-everything disable all components listed below
—disable-encoder=NAME disable encoder NAME
—enable-encoder=NAME enable encoder NAME
—disable-encoders disable all encoders
—disable-decoder=NAME disable decoder NAME
—enable-decoder=NAME enable decoder NAME
—disable-decoders disable all decoders
—disable-hwaccel=NAME disable hwaccel NAME
—enable-hwaccel=NAME enable hwaccel NAME
—disable-hwaccels disable all hwaccels
—disable-muxer=NAME disable muxer NAME
—enable-muxer=NAME enable muxer NAME
—disable-muxers disable all muxers
—disable-demuxer=NAME disable demuxer NAME
—enable-demuxer=NAME enable demuxer NAME
—disable-demuxers disable all demuxers
—enable-parser=NAME enable parser NAME
—disable-parser=NAME disable parser NAME
—disable-parsers disable all parsers
—enable-bsf=NAME enable bitstream filter NAME
—disable-bsf=NAME disable bitstream filter NAME
—disable-bsfs disable all bitstream filters
—enable-protocol=NAME enable protocol NAME
—disable-protocol=NAME disable protocol NAME
—disable-protocols disable all protocols
—enable-indev=NAME enable input device NAME
—disable-indev=NAME disable input device NAME
—disable-indevs disable input devices
—enable-outdev=NAME enable output device NAME
—disable-outdev=NAME disable output device NAME
—disable-outdevs disable output devices
—disable-devices disable all devices
—enable-filter=NAME enable filter NAME
—disable-filter=NAME disable filter NAME
—disable-filters disable all filters
—disable-v4l2_m2m disable V4L2 mem2mem code [autodetect]External library support :
Using any of the following switches will allow FFmpeg to link to the
corresponding external library. All the components depending on that library
will become enabled, if all their other dependencies are met and they are not
explicitly disabled. E.g. —enable-libwavpack will enable linking to
libwavpack and allow the libwavpack encoder to be built, unless it is
specifically disabled with —disable-encoder=libwavpack.Note that only the system libraries are auto-detected. All the other external
libraries must be explicitly enabled.Also note that the following help text describes the purpose of the libraries
themselves, not all their features will necessarily be usable by FFmpeg.—disable-alsa disable ALSA support [autodetect]
—disable-appkit disable Apple AppKit framework [autodetect]
—disable-avfoundation disable Apple AVFoundation framework [autodetect]
—enable-avisynth enable reading of AviSynth script files [no]
—disable-bzlib disable bzlib [autodetect]
—disable-coreimage disable Apple CoreImage framework [autodetect]
—enable-chromaprint enable audio fingerprinting with chromaprint [no]
—enable-frei0r enable frei0r video filtering [no]
—enable-gcrypt enable gcrypt, needed for rtmp(t)e support
if openssl, librtmp or gmp is not used [no]
—enable-gmp enable gmp, needed for rtmp(t)e support
if openssl or librtmp is not used [no]
—enable-gnutls enable gnutls, needed for https support
if openssl is not used [no]
—disable-iconv disable iconv [autodetect]
—disable-jack disable libjack support [autodetect]
—enable-jni enable JNI support [no]
—enable-ladspa enable LADSPA audio filtering [no]
—enable-libass enable libass subtitles rendering,
needed for subtitles and ass filter [no]
—enable-libbluray enable BluRay reading using libbluray [no]
—enable-libbs2b enable bs2b DSP library [no]
—enable-libcaca enable textual display using libcaca [no]
—enable-libcelt enable CELT decoding via libcelt [no]
—enable-libcdio enable audio CD grabbing with libcdio [no]
—enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
and libraw1394 [no]
—enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
—enable-libflite enable flite (voice synthesis) support via libflite [ no]
—enable-libfontconfig enable libfontconfig, useful for drawtext filter [no]
—enable-libfreetype enable libfreetype, needed for drawtext filter [no]
—enable-libfribidi enable libfribidi, improves drawtext filter [no]
—enable-libgme enable Game Music Emu via libgme [no]
—enable-libgsm enable GSM de/encoding via libgsm [no]
—enable-libiec61883 enable iec61883 via libiec61883 [no]
—enable-libilbc enable iLBC de/encoding via libilbc [no]
—enable-libkvazaar enable HEVC encoding via libkvazaar [no]
—enable-libmodplug enable ModPlug via libmodplug [no]
—enable-libmp3lame enable MP3 encoding via libmp3lame [no]
—enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no ]
—enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
—enable-libopencv enable video filtering via libopencv [no]
—enable-libopenh264 enable H.264 encoding via OpenH264 [no]
—enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
—enable-libopenmpt enable decoding tracked files via libopenmpt [no]
—enable-libopus enable Opus de/encoding via libopus [no]
—enable-libpulse enable Pulseaudio input via libpulse [no]
—enable-librsvg enable SVG rasterization via librsvg [no]
—enable-librubberband enable rubberband needed for rubberband filter [no]
—enable-librtmp enable RTMP[E] support via librtmp [no]
—enable-libshine enable fixed-point MP3 encoding via libshine [no]
—enable-libsmbclient enable Samba protocol via libsmbclient [no]
—enable-libsnappy enable Snappy compression, needed for hap encoding [n o]
—enable-libsoxr enable Include libsoxr resampling [no]
—enable-libspeex enable Speex de/encoding via libspeex [no]
—enable-libssh enable SFTP protocol via libssh [no]
—enable-libtesseract enable Tesseract, needed for ocr filter [no]
—enable-libtheora enable Theora encoding via libtheora [no]
—enable-libtwolame enable MP2 encoding via libtwolame [no]
—enable-libv4l2 enable libv4l2/v4l-utils [no]
—enable-libvidstab enable video stabilization using vid.stab [no]
—enable-libvmaf enable vmaf filter via libvmaf [no]
—enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
—enable-libvorbis enable Vorbis en/decoding via libvorbis,
native implementation exists [no]
—enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no]
—enable-libwavpack enable wavpack encoding via libwavpack [no]
—enable-libwebp enable WebP encoding via libwebp [no]
—enable-libx264 enable H.264 encoding via x264 [no]
—enable-libx265 enable HEVC encoding via x265 [no]
—enable-libxavs enable AVS encoding via xavs [no]
—enable-libxcb enable X11 grabbing using XCB [autodetect]
—enable-libxcb-shm enable X11 grabbing shm communication [autodetect]
—enable-libxcb-xfixes enable X11 grabbing mouse rendering [autodetect]
—enable-libxcb-shape enable X11 grabbing shape rendering [autodetect]
—enable-libxvid enable Xvid encoding via xvidcore,
native MPEG-4/Xvid encoder exists [no]
—enable-libxml2 enable XML parsing using the C library libxml2 [no]
—enable-libzimg enable z.lib, needed for zscale filter [no]
—enable-libzmq enable message passing via libzmq [no]
—enable-libzvbi enable teletext support via libzvbi [no]
—disable-lzma disable lzma [autodetect]
—enable-decklink enable Blackmagic DeckLink I/O support [no]
—enable-libndi_newtek enable Newteck NDI I/O support [no]
—enable-mediacodec enable Android MediaCodec support [no]
—enable-libmysofa enable libmysofa, needed for sofalizer filter [no]
—enable-openal enable OpenAL 1.1 capture support [no]
—enable-opencl enable OpenCL code
—enable-opengl enable OpenGL rendering [no]
—enable-openssl enable openssl, needed for https support
if gnutls is not used [no]
—disable-sndio disable sndio support [autodetect]
—disable-schannel disable SChannel SSP, needed for TLS support on
Windows if openssl and gnutls are not used [autodetec t]
—disable-sdl2 disable sdl2 [autodetect]
—disable-securetransport disable Secure Transport, needed for TLS support
on OSX if openssl and gnutls are not used [autodetect ]
—disable-xlib disable xlib [autodetect]
—disable-zlib disable zlib [autodetect]The following libraries provide various hardware acceleration features :
—disable-audiotoolbox disable Apple AudioToolbox code [autodetect]
—disable-cuda disable dynamically linked Nvidia CUDA code [autodete ct]
—enable-cuda-sdk enable CUDA features that require the CUDA SDK [no]
—disable-cuvid disable Nvidia CUVID support [autodetect]
—disable-d3d11va disable Microsoft Direct3D 11 video acceleration code [autodetect]
—disable-dxva2 disable Microsoft DirectX 9 video acceleration code [ autodetect]
—enable-libdrm enable DRM code (Linux) [no]
—enable-libmfx enable Intel MediaSDK (AKA Quick Sync Video) code via libmfx [no]
—enable-libnpp enable Nvidia Performance Primitives-based code [no]
—enable-mmal enable Broadcom Multi-Media Abstraction Layer (Raspbe rry Pi) via MMAL [no]
—disable-nvenc disable Nvidia video encoding code [autodetect]
—enable-omx enable OpenMAX IL code [no]
—enable-omx-rpi enable OpenMAX IL code for Raspberry Pi [no]
—enable-rkmpp enable Rockchip Media Process Platform code [no]
—disable-vaapi disable Video Acceleration API (mainly Unix/Intel) co de [autodetect]
—disable-vda disable Apple Video Decode Acceleration code [autodet ect]
—disable-vdpau disable Nvidia Video Decode and Presentation API for Unix code [autodetect]
—disable-videotoolbox disable VideoToolbox code [autodetect]Toolchain options :
—arch=ARCH select architecture []
—cpu=CPU select the minimum required CPU (affects
instruction selection, may crash on older CPUs)
—cross-prefix=PREFIX use PREFIX for compilation tools []
—progs-suffix=SUFFIX program name suffix []
—enable-cross-compile assume a cross-compiler is used
—sysroot=PATH root of cross-build tree
—sysinclude=PATH location of cross-build system headers
—target-os=OS compiler targets OS []
—target-exec=CMD command to run executables on target
—target-path=DIR path to view of build directory on target
—target-samples=DIR path to samples directory on target
—tempprefix=PATH force fixed dir/prefix instead of mktemp for checks
—toolchain=NAME set tool defaults according to NAME
—nm=NM use nm tool NM [nm -g]
—ar=AR use archive tool AR [ar]
—as=AS use assembler AS []
—ln_s=LN_S use symbolic link tool LN_S [ln -s -f]
—strip=STRIP use strip tool STRIP [strip]
—windres=WINDRES use windows resource compiler WINDRES [windres]
—x86asmexe=EXE use nasm-compatible assembler EXE [nasm]
—cc=CC use C compiler CC [gcc]
—cxx=CXX use C compiler CXX [g++]
—objcc=OCC use ObjC compiler OCC [gcc]
—dep-cc=DEPCC use dependency generator DEPCC [gcc]
—nvcc=NVCC use Nvidia CUDA compiler NVCC [nvcc]
—ld=LD use linker LD []
—pkg-config=PKGCONFIG use pkg-config tool PKGCONFIG [pkg-config]
—pkg-config-flags=FLAGS pass additional flags to pkgconf []
—ranlib=RANLIB use ranlib RANLIB [ranlib]
—doxygen=DOXYGEN use DOXYGEN to generate API doc [doxygen]
—host-cc=HOSTCC use host C compiler HOSTCC
—host-cflags=HCFLAGS use HCFLAGS when compiling for host
—host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host
—host-ld=HOSTLD use host linker HOSTLD
—host-ldflags=HLDFLAGS use HLDFLAGS when linking for host
—host-libs=HLIBS use libs HLIBS when linking for host
—host-os=OS compiler host OS []
—extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
—extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
—extra-objcflags=FLAGS add FLAGS to OBJCFLAGS []
—extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
—extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS []
—extra-ldlibflags=ELDFLAGS add ELDFLAGS to LDLIBFLAGS []
—extra-libs=ELIBS add ELIBS []
—extra-version=STRING version string suffix []
—optflags=OPTFLAGS override optimization-related compiler flags
—nvccflags=NVCCFLAGS override nvcc flags [-gencode arch=compute_30,code=sm _30 -O2]
—build-suffix=SUFFIX library name suffix []
—enable-pic build position-independent code
—enable-thumb compile for Thumb instruction set
—enable-lto use link-time optimization
—env="ENV=override" override the environment variablesAdvanced options (experts only) :
—malloc-prefix=PREFIX prefix malloc and related names with PREFIX
—custom-allocator=NAME use a supported custom allocator
—disable-symver disable symbol versioning
—enable-hardcoded-tables use hardcoded tables instead of runtime generation
—disable-safe-bitstream-reader
disable buffer boundary checking in bitreaders
(faster, but may crash)
—sws-max-filter-size=N the max filter size swscale uses [256]Optimization options (experts only) :
—disable-asm disable all assembly optimizations
—disable-altivec disable AltiVec optimizations
—disable-vsx disable VSX optimizations
—disable-power8 disable POWER8 optimizations
—disable-amd3dnow disable 3DNow ! optimizations
—disable-amd3dnowext disable 3DNow ! extended optimizations
—disable-mmx disable MMX optimizations
—disable-mmxext disable MMXEXT optimizations
—disable-sse disable SSE optimizations
—disable-sse2 disable SSE2 optimizations
—disable-sse3 disable SSE3 optimizations
—disable-ssse3 disable SSSE3 optimizations
—disable-sse4 disable SSE4 optimizations
—disable-sse42 disable SSE4.2 optimizations
—disable-avx disable AVX optimizations
—disable-xop disable XOP optimizations
—disable-fma3 disable FMA3 optimizations
—disable-fma4 disable FMA4 optimizations
—disable-avx2 disable AVX2 optimizations
—disable-aesni disable AESNI optimizations
—disable-armv5te disable armv5te optimizations
—disable-armv6 disable armv6 optimizations
—disable-armv6t2 disable armv6t2 optimizations
—disable-vfp disable VFP optimizations
—disable-neon disable NEON optimizations
—disable-inline-asm disable use of inline assembly
—disable-x86asm disable use of standalone x86 assembly
—disable-mipsdsp disable MIPS DSP ASE R1 optimizations
—disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations
—disable-msa disable MSA optimizations
—disable-mipsfpu disable floating point MIPS optimizations
—disable-mmi disable Loongson SIMD optimizations
—disable-fast-unaligned consider unaligned accesses slowDeveloper options (useful when working on FFmpeg itself) :
—disable-debug disable debugging symbols
—enable-debug=LEVEL set the debug level []
—disable-optimizations disable compiler optimizations
—enable-extra-warnings enable more compiler warnings
—disable-stripping disable stripping of executables and shared libraries
—assert-level=level 0(default), 1 or 2, amount of assertion testing,
2 causes a slowdown at runtime.
—enable-memory-poisoning fill heap uninitialized allocated space with arbitra ry data
—valgrind=VALGRIND run "make fate" tests through valgrind to detect memo ry
leaks and errors, using the specified valgrind binary .
Cannot be combined with —target-exec
—enable-ftrapv Trap arithmetic overflows
—samples=PATH location of test samples for FATE, if not set use
$FATE_SAMPLES at make invocation time.
—enable-neon-clobber-test check NEON registers for clobbering (should be
used only for debugging purposes)
—enable-xmm-clobber-test check XMM registers for clobbering (Win64-only ;
should be used only for debugging purposes)
—enable-random randomly enable/disable components
—disable-random
—enable-random=LIST randomly enable/disable specific components or
—disable-random=LIST component groups. LIST is a comma-separated list
of NAME[:PROB] entries where NAME is a component
(group) and PROB the probability associated with
NAME (default 0.5).
—random-seed=VALUE seed value for —enable/disable-random
—disable-valgrind-backtrace do not print a backtrace under Valgrind
(only applies to —disable-optimizations builds)
—enable-osfuzz Enable building fuzzer tool
—libfuzzer=PATH path to libfuzzer
—ignore-tests=TESTS comma-separated list (without "fate-" prefix
in the name) of tests whose result is ignored
—enable-linux-perf enable Linux Performance Monitor APINOTE : Object files are built at the place where configure is launched.