Skip to content

Instantly share code, notes, and snippets.

Created June 27, 2012 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3004536 to your computer and use it in GitHub Desktop.
Save anonymous/3004536 to your computer and use it in GitHub Desktop.
0:508:kai@desktop ~/Desktop/compare [1]$ ffmpeg -i without.flv -vf "movie=with.flv, [in]overlay=main_w-overlay_w-10:main_h-overlay_h-10" compare.flv
ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 25 2012 00:54:04 with gcc 4.5.3
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --cc=i686-pc-linux-gnu-gcc --cxx=i686-pc-linux-gnu-g++ --ar=i686-pc-linux-gnu-ar --optflags='-O2 -march=core2 -fomit-frame-pointer -pipe' --extra-cflags='-O2 -march=core2 -fomit-frame-pointer -pipe' --extra-cxxflags='-O2 -march=core2 -fomit-frame-pointer -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-network --disable-vaapi --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --enable-x11grab --enable-libfreetype --enable-pthreads --enable-libgsm --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx --disable-mmx2 --disable-ssse3 --disable-vis --disable-neon --cpu=core2 --enable-hardcoded-tables
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from 'without.flv':
Metadata:
encoder : Lavf53.32.100
Duration: 00:00:18.07, start: 0.080000, bitrate: 2613 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1920x1280, 25 tbr, 1k tbn, 50 tbc
File 'compare.flv' already exists. Overwrite ? [y/N] y
w:1920 h:1280 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[movie @ 0x9324890] seek_point:0 format_name:(null) file_name:with.flv stream_index:0
[overlay @ 0x9324770] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_overlay_1'
[scale @ 0x93201e0] w:1920 h:1280 fmt:yuv420p -> w:1920 h:1280 fmt:yuva420p flags:0x4
[overlay @ 0x9324770] main w:1920 h:1280 fmt:yuv420p overlay x:-10 y:-10 w:1920 h:1280 fmt:yuva420p
[overlay @ 0x9324770] Overlay area (-10,-10)<->(1910,1270) not within the main area (0,0)<->(1920,1280) or zero-sized
Error opening filters!
0:509:kai@desktop ~/Desktop/compare [1]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment