Skip to content

Instantly share code, notes, and snippets.

@saschagehlich
Created April 24, 2013 15:57
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 saschagehlich/378fe272c09d230c48a0 to your computer and use it in GitHub Desktop.
Save saschagehlich/378fe272c09d230c48a0 to your computer and use it in GitHub Desktop.
saschagehlich@Sash ⮀ ~ ⮀ ffmpeg -i ghost.gif ghost.mp4
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 24 2013 16:46:38 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[gif @ 0x7fdfeb015a00] max_analyze_duration 5000000 reached at 5000000 microseconds
[gif @ 0x7fdfeb015a00] Estimating duration from bitrate, this may be inaccurate
Input #0, gif, from 'ghost.gif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 280x210, 0.20 fps, 100 tbr, 100 tbn, 100 tbc
[libx264 @ 0x7fdfeb018000] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fdfeb018000] profile High 4:4:4 Predictive, level 3.0, 4:4:4 8-bit
[libx264 @ 0x7fdfeb018000] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=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_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'ghost.mp4':
Metadata:
encoder : Lavf54.63.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 280x210, q=-1--1, 12800 tbn, 100 tbc
Stream mapping:
Stream #0:0 -> #0:0 (gif -> libx264)
Press [q] to stop, [?] for help
frame= 2480 fps=2075 q=-1.0 Lsize= 228kB time=00:00:24.78 bitrate= 75.3kbits/s dup=2417 drop=0
video:198kB audio:0kB subtitle:0 global headers:0kB muxing overhead 14.900059%
[libx264 @ 0x7fdfeb018000] frame I:13 Avg QP:19.87 size: 6641
[libx264 @ 0x7fdfeb018000] frame P:676 Avg QP:31.71 size: 130
[libx264 @ 0x7fdfeb018000] frame B:1791 Avg QP:33.00 size: 16
[libx264 @ 0x7fdfeb018000] consecutive B-frames: 3.6% 0.0% 0.7% 95.6%
[libx264 @ 0x7fdfeb018000] mb I I16..4: 1.2% 65.8% 33.1%
[libx264 @ 0x7fdfeb018000] mb P I16..4: 0.0% 0.1% 0.1% P16..4: 3.1% 0.9% 0.9% 0.0% 0.0% skip:94.9%
[libx264 @ 0x7fdfeb018000] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 0.7% 0.0% 0.0% direct: 0.0% skip:99.3% L0:53.5% L1:46.5% BI: 0.0%
[libx264 @ 0x7fdfeb018000] 8x8 transform intra:65.5% inter:50.0%
[libx264 @ 0x7fdfeb018000] coded y,u,v intra: 47.1% 0.0% 0.0% inter: 0.6% 0.0% 0.0%
[libx264 @ 0x7fdfeb018000] i16 v,h,dc,p: 37% 23% 30% 10%
[libx264 @ 0x7fdfeb018000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 11% 48% 1% 2% 2% 2% 2% 3%
[libx264 @ 0x7fdfeb018000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 18% 16% 5% 5% 5% 4% 5% 6%
[libx264 @ 0x7fdfeb018000] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fdfeb018000] ref P L0: 84.4% 11.5% 3.6% 0.5%
[libx264 @ 0x7fdfeb018000] ref B L0: 78.8% 20.4% 0.8%
[libx264 @ 0x7fdfeb018000] ref B L1: 90.8% 9.2%
[libx264 @ 0x7fdfeb018000] kb/s:65.29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment