H.264 Software
From esoterum.org
Contents
ffmpeg
Acronyms
- BSF: Bitstream Filter
References
- ffmpeg documentation
- ffmpeg mailing lists
- Information on configureing ffmpgeg H.264 for multithreading
ffmpeg -i video.264 video.yuv
(conversion, decode, .264 to .yuv)ffmpeg -s hd1080 -i video.264 video.yuv
ffmpeg -vframes [num frames] -i video.264 video.yuv
configure
configure --enable-gprof --disable-optimizations --disable-mmx --disable-mmx2 --disable-ssse3 --disable-armv5te --disable-armvfp --disable-iwmmxt --disable-network --disable-ipv6 --disable-zlib --disable-bzlib --disable-vhook --disable-mpegaudio-hp --disable-ffserver --disable-ffplay
configure --disable-decoder=AASC --disable-decoder=AMV --disable-decoder=ASV1 --disable-decoder=ASV2 --disable-decoder=AVS --disable-decoder=BETHSOFTVID --disable-decoder=BFI --disable-decoder=BMP --disable-decoder=C93 --disable-decoder=CAVS --disable-decoder=CINEPAK --disable-decoder=CLJR --disable-decoder=CSCD --disable-decoder=CYUV --disable-decoder=DNXHD --disable-decoder=DSICINVIDEO --disable-decoder=DVVIDEO --disable-decoder=DXA --disable-decoder=EACMV --disable-decoder=EATGV --disable-decoder=EIGHTBPS --disable-decoder=EIGHTSVX_EXP --disable-decoder=EIGHTSVX_FIB --disable-decoder=ESCAPE124 --disable-decoder=FFV1 --disable-decoder=FFVHUFF --disable-decoder=FLASHSV --disable-decoder=FLIC --disable-decoder=FLV --disable-decoder=FOURXM --disable-decoder=FRAPS --disable-decoder=GIF --disable-decoder=H261 --disable-decoder=H263 --disable-decoder=H263I --disable-decoder=H264 --disable-decoder=HUFFYUV --disable-decoder=IDCIN --disable-decoder=INDEO2 --disable-decoder=INDEO3 --disable-decoder=INTERPLAY_VIDEO --disable-decoder=JPEGLS --disable-decoder=KMVC --disable-decoder=LOCO --disable-decoder=MDEC --disable-decoder=MIMIC --disable-decoder=MJPEG --disable-decoder=MJPEGB --disable-decoder=MMVIDEO --disable-decoder=MOTIONPIXELS --disable-decoder=MPEG_XVMC --disable-decoder=MPEG1VIDEO --disable-decoder=MPEG2VIDEO --disable-decoder=MPEG4 --disable-decoder=MPEGVIDEO --disable-decoder=MSMPEG4V1 --disable-decoder=MSMPEG4V2 --disable-decoder=MSMPEG4V3 --disable-decoder=MSRLE --disable-decoder=MSVIDEO1 --disable-decoder=MSZH --disable-decoder=NUV --disable-decoder=PCX --disable-decoder=PNG --disable-decoder=PTX --disable-decoder=QDRAW --disable-decoder=QPEG --disable-decoder=QTRLE --disable-decoder=RAWVIDEO --disable-decoder=RL2 --disable-decoder=ROQ --disable-decoder=RPZA --disable-decoder=RV10 --disable-decoder=RV20 --disable-decoder=SGI --disable-decoder=SMACKER --disable-decoder=SMC --disable-decoder=SNOW --disable-decoder=SP5X --disable-decoder=SUNRAST --disable-decoder=SVQ1 --disable-decoder=SVQ3 --disable-decoder=TARGA --disable-decoder=THEORA --disable-decoder=THP --disable-decoder=TIERTEXSEQVIDEO --disable-decoder=TIFF --disable-decoder=TRUEMOTION1 --disable-decoder=TRUEMOTION2 --disable-decoder=TSCC --disable-decoder=TXD --disable-decoder=ULTI --disable-decoder=VB --disable-decoder=VC1 --disable-decoder=VCR1 --disable-decoder=VMDVIDEO --disable-decoder=VMNC --disable-decoder=VP3 --disable-decoder=VP5 --disable-decoder=VP6 --disable-decoder=VP6A --disable-decoder=VP6F --disable-decoder=VQA --disable-decoder=WMV1 --disable-decoder=WMV2 --disable-decoder=WMV3 --disable-decoder=WNV1 --disable-decoder=XAN_WC3 --disable-decoder=XL --disable-decoder=XSUB --disable-decoder=ZLIB --disable-decoder=ZMBV --disable-decoder=AC3 --disable-decoder=ALAC --disable-decoder=APE --disable-decoder=ATRAC3 --disable-decoder=COOK --disable-decoder=DCA --disable-decoder=DSICINAUDIO --disable-decoder=FLAC --disable-decoder=IMC --disable-decoder=MACE3 --disable-decoder=MACE6 --disable-decoder=MLP --disable-decoder=MP2 --disable-decoder=MP3 --disable-decoder=MP3ADU --disable-decoder=MP3ON4 --disable-decoder=MPC7 --disable-decoder=MPC8 --disable-decoder=NELLYMOSER --disable-decoder=QDM2 --disable-decoder=RA_144 --disable-decoder=RA_288 --disable-decoder=SHORTEN --disable-decoder=SMACKAUD --disable-decoder=SONIC --disable-decoder=TRUESPEECH --disable-decoder=TTA --disable-decoder=VMDAUDIO --disable-decoder=VORBIS --disable-decoder=WAVPACK --disable-decoder=WMAV1 --disable-decoder=WMAV2 --disable-decoder=WS_SND1 --disable-decoder=PCM_ALAW --disable-decoder=PCM_DVD --disable-decoder=PCM_F32BE --disable-decoder=PCM_MULAW --disable-decoder=PCM_S8 --disable-decoder=PCM_S16BE --disable-decoder=PCM_S16LE --disable-decoder=PCM_S16LE_PLANAR --disable-decoder=PCM_S24BE --disable-decoder=PCM_S24DAUD --disable-decoder=PCM_S24LE --disable-decoder=PCM_S32BE --disable-decoder=PCM_S32LE --disable-decoder=PCM_U8 --disable-decoder=PCM_U16BE --disable-decoder=PCM_U16LE --disable-decoder=PCM_U24BE --disable-decoder=PCM_U24LE --disable-decoder=PCM_U32BE --disable-decoder=PCM_U32LE --disable-decoder=PCM_ZORK --disable-decoder=INTERPLAY_DPCM --disable-decoder=ROQ_DPCM --disable-decoder=SOL_DPCM --disable-decoder=XAN_DPCM --disable-decoder=ADPCM_4XM --disable-decoder=ADPCM_ADX --disable-decoder=ADPCM_CT --disable-decoder=ADPCM_EA --disable-decoder=ADPCM_EA_MAXIS_XA --disable-decoder=ADPCM_EA_R1 --disable-decoder=ADPCM_EA_R2 --disable-decoder=ADPCM_EA_R3 --disable-decoder=ADPCM_EA_XAS --disable-decoder=ADPCM_G726 --disable-decoder=ADPCM_IMA_AMV --disable-decoder=ADPCM_IMA_DK3 --disable-decoder=ADPCM_IMA_DK4 --disable-decoder=ADPCM_IMA_EA_EACS --disable-decoder=ADPCM_IMA_EA_SEAD --disable-decoder=ADPCM_IMA_QT --disable-decoder=ADPCM_IMA_SMJPEG --disable-decoder=ADPCM_IMA_WAV --disable-decoder=ADPCM_IMA_WS --disable-decoder=ADPCM_MS --disable-decoder=ADPCM_SBPRO_2 --disable-decoder=ADPCM_SBPRO_3 --disable-decoder=ADPCM_SBPRO_4 --disable-decoder=ADPCM_SWF --disable-decoder=ADPCM_THP --disable-decoder=ADPCM_XA --disable-decoder=ADPCM_YAMAHA --disable-decoder=DVBSUB --disable-decoder=DVDSUB --disable-decoder=LIBA52 --disable-decoder=LIBAMR_NB --disable-decoder=LIBAMR_WB --disable-decoder=LIBDIRAC --disable-decoder=LIBFAAD --disable-decoder=LIBGSM --disable-decoder=LIBGSM_MS --disable-decoder=LIBSCHROEDINGER --disable-decoder=MPEG4AAC
Standard options:
--help print this message --logfile=FILE log tests and output to FILE [config.err] --disable-logging do not log configure debug information --prefix=PREFIX install in PREFIX [] --bindir=DIR install binaries in DIR [PREFIX/bin] --libdir=DIR install libs in DIR [PREFIX/lib] --shlibdir=DIR install shared libs in DIR [PREFIX/lib] --incdir=DIR install includes in DIR [PREFIX/include] --mandir=DIR install man page in DIR [PREFIX/share/man] --enable-static build static libraries [default=yes] --disable-static do not build static libraries [default=no] --enable-shared build shared libraries [default=no] --disable-shared do not build shared libraries [default=yes] --enable-gpl allow use of GPL code, the resulting libav* and ffmpeg will be under GPL [default=no] --enable-nonfree allow use of nonfree code, the resulting libav* and ffmpeg will be unredistributable [default=no] --enable-postproc enable GPLed postprocessing support [default=no] --enable-swscale software scaler support [default=no] --enable-avfilter video filter support (replaces vhook) [default=no] --enable-avfilter-lavf video filters dependant on avformat [default=no] --enable-beosthreads use BeOS threads [default=no] --enable-os2threads use OS/2 threads [default=no] --enable-pthreads use pthreads [default=no] --enable-w32threads use Win32 threads [default=no] --enable-x11grab enable X11 grabbing [default=no]
External library support:
--enable-mlib use Sun medialib [default=no] --enable-liba52 enable GPLed liba52 support [default=no] --enable-liba52bin open liba52.so.0 at runtime [default=no] --enable-avisynth allow reading AVISynth script files [default=no] --enable-libamr-nb enable libamr-nb floating point audio codec --enable-libamr-wb enable libamr-wb floating point audio codec --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no] --enable-libdirac enable Dirac support via libdirac [default=no] --enable-libfaac enable FAAC support via libfaac [default=no] --enable-libfaad enable FAAD support via libfaad [default=no] --enable-libfaadbin open libfaad.so.0 at runtime [default=no] --enable-libgsm enable GSM support via libgsm [default=no] --enable-libmp3lame enable MP3 encoding via libmp3lame [default=no] --enable-libnut enable NUT (de)muxing via libnut, native demuxer exists [default=no] --enable-libschroedinger enable Dirac support via libschroedinger [default=no] --enable-libtheora enable Theora encoding via libtheora [default=no] --enable-libvorbis enable Vorbis encoding via libvorbis, native implementation exists [default=no] --enable-libx264 enable H.264 encoding via x264 [default=no] --enable-libxvid enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists [default=no]
Advanced options (experts only):
--source-path=PATH path to source code [/home/mbaker/workspace/ffmpeg] --cross-prefix=PREFIX use PREFIX for compilation tools [] --enable-cross-compile assume a cross-compiler is used --target-os=OS compiler targets OS [linux] --cc=CC use C compiler CC [gcc] --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [ -D_ISOC9X_SOURCE] --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [] --extra-libs=ELIBS add ELIBS [] --build-suffix=SUFFIX suffix for application specific build [] --arch=ARCH select architecture [i686] --cpu=CPU selects the minimum cpu required (affects instruction selection, may crash on older CPUs) --enable-powerpc-perf enable performance report on PPC (requires enabling PMC) --disable-mmx disable MMX usage --disable-mmx2 disable MMX2 usage --disable-ssse3 disable SSSE3 usage --disable-armv5te disable armv5te usage --disable-armv6 disable armv6 usage --disable-armvfp disable ARM VFP usage --disable-iwmmxt disable iwmmxt usage --disable-altivec disable AltiVec usage --disable-network disable network support [default=no] --disable-ipv6 disable ipv6 support [default=no] --disable-zlib disable zlib [default=no] --disable-bzlib disable bzlib [default=no] --disable-vhook disable video hooking support --disable-mpegaudio-hp faster (but less accurate) MPEG audio decoding [default=no] --enable-gray enable full grayscale support (slower color) --disable-ffmpeg disable ffmpeg build --disable-ffserver disable ffserver build --disable-ffplay disable ffplay build --enable-small optimize for size instead of speed --enable-hardcoded-tables use hardcoded tables instead of runtime generation --enable-memalign-hack emulate memalign, interferes with memory debuggers --disable-encoder=NAME disables encoder NAME --enable-encoder=NAME enables encoder NAME --disable-decoder=NAME disables decoder NAME --enable-decoder=NAME enables decoder NAME --disable-encoders disables all encoders --disable-decoders disables all decoders --disable-muxer=NAME disables muxer NAME --enable-muxer=NAME enables muxer NAME --disable-muxers disables all muxers --disable-demuxer=NAME disables demuxer NAME --enable-demuxer=NAME enables demuxer NAME --disable-demuxers disables all demuxers --enable-parser=NAME enables parser NAME --disable-parser=NAME disables parser NAME --disable-parsers disables all parsers --enable-bsf=NAME enables bitstream filter NAME --disable-bsf=NAME disables bitstream filter NAME --disable-bsfs disables all bitstream filters --enable-protocol=NAME enables protocol NAME --disable-protocol=NAME disables protocol NAME --disable-protocols disables all protocols --disable-devices disables all devices --list-decoders show all available decoders --list-encoders show all available encoders --list-muxers show all available muxers --list-demuxers show all available demuxers --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
Developer options (useful when working on FFmpeg itself):
--disable-debug disable debugging symbols --enable-debug=LEVEL set the debug level [] --enable-gprof enable profiling with gprof [] --disable-optimizations disable compiler optimizations --enable-extra-warnings enable more compiler warnings --disable-stripping disable stripping of executables and shared libraries
JM Reference Code
Simulation Software
- Videolan.org (from Dr. Chatha)
- -No linux support yet?