Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2015 09:27
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/541767d73bb4f518b5e0 to your computer and use it in GitHub Desktop.
Save anonymous/541767d73bb4f518b5e0 to your computer and use it in GitHub Desktop.
D:\ffmpeg>ffmpeg.exe -loop 1 -i b.jpg -filter_complex "[0:v][0:v]overlay=x='-100
+t*25':y=0[out]" -map [out] -t 8 -y output.mp4
ffmpeg version N-69972-g6c91afe Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enab
le-zlib
libavutil 54. 19.100 / 54. 19.100
libavcodec 56. 25.100 / 56. 25.100
libavformat 56. 23.100 / 56. 23.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.100 / 5. 11.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, image2, from 'b.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 32543 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [S
AR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0000000004457980] deprecated pixel format used, make sure you did se
t range correctly
[swscaler @ 00000000048200a0] deprecated pixel format used, make sure you did se
t range correctly
[libx264 @ 0000000004a12ca0] using SAR=1/1
[libx264 @ 0000000004a12ca0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0000000004a12ca0] profile High, level 3.0
[libx264 @ 0000000004a12ca0] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_
adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf56.23.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x48
0 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.25.100 libx264
Stream mapping:
Stream #0:0 (mjpeg) -> overlay:main
Stream #0:0 (mjpeg) -> overlay:overlay
overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
frame= 53 fps=0.0 q=28.0 size= 122kB time=00:00:00.16 bitrate=6270.6kbits/
frame= 97 fps= 95 q=28.0 size= 143kB time=00:00:01.92 bitrate= 611.0kbits/
frame= 140 fps= 92 q=28.0 size= 161kB time=00:00:03.64 bitrate= 362.6kbits/
frame= 186 fps= 92 q=28.0 size= 179kB time=00:00:05.48 bitrate= 267.1kbits/
frame= 200 fps= 82 q=-1.0 Lsize= 203kB time=00:00:07.92 bitrate= 210.0kbits
/s
video:200kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: 1.581429%
[libx264 @ 0000000004a12ca0] frame I:1 Avg QP:21.41 size:120370
[libx264 @ 0000000004a12ca0] frame P:50 Avg QP:23.14 size: 1222
[libx264 @ 0000000004a12ca0] frame B:149 Avg QP:30.07 size: 151
[libx264 @ 0000000004a12ca0] consecutive B-frames: 0.5% 0.0% 1.5% 98.0%
[libx264 @ 0000000004a12ca0] mb I I16..4: 0.7% 36.0% 63.3%
[libx264 @ 0000000004a12ca0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 8.9% 1.2
% 0.4% 0.0% 0.0% skip:89.6%
[libx264 @ 0000000004a12ca0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 2.4% 0.3
% 0.1% direct: 0.2% skip:97.0% L0:69.3% L1:24.8% BI: 6.0%
[libx264 @ 0000000004a12ca0] 8x8 transform intra:36.4% inter:19.8%
[libx264 @ 0000000004a12ca0] coded y,uvDC,uvAC intra: 99.8% 96.9% 83.6% inter: 0
.7% 0.9% 0.3%
[libx264 @ 0000000004a12ca0] i16 v,h,dc,p: 12% 25% 12% 50%
[libx264 @ 0000000004a12ca0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 33% 12% 5% 5%
5% 12% 5% 15%
[libx264 @ 0000000004a12ca0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 22% 11% 7% 8%
7% 13% 7% 16%
[libx264 @ 0000000004a12ca0] i8c dc,h,v,p: 40% 37% 11% 12%
[libx264 @ 0000000004a12ca0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0000000004a12ca0] ref P L0: 68.7% 2.1% 21.5% 7.7%
[libx264 @ 0000000004a12ca0] ref B L0: 98.7% 0.7% 0.7%
[libx264 @ 0000000004a12ca0] ref B L1: 97.7% 2.3%
[libx264 @ 0000000004a12ca0] kb/s:203.94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment