Difference between revisions of "H.264 Software"
From esoterum.org
(→ffmpeg) |
(→ffmpeg) |
||
Line 3: | Line 3: | ||
*<code>ffmpeg -i video.264 video.yuv</code> (conversion, decode, .264 to .yuv) | *<code>ffmpeg -i video.264 video.yuv</code> (conversion, decode, .264 to .yuv) | ||
*<code>ffmpeg -s hd1080 -i video.264 video.yuv</code> | *<code>ffmpeg -s hd1080 -i video.264 video.yuv</code> | ||
+ | |||
+ | === <code>configure</code> === | ||
+ | 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 == | == JM Reference Code == |
Revision as of 17:43, 13 August 2008
ffmpeg
- ffmpeg documentation
ffmpeg -i video.264 video.yuv
(conversion, decode, .264 to .yuv)ffmpeg -s hd1080 -i video.264 video.yuv
configure
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?