Skip to content

Instantly share code, notes, and snippets.

@whatvn
Last active Aug 29, 2015
Embed
What would you like to do?
ffmpeg command output
/usr/local/bin/ffmpeg -i /tmp/input.ts -acodec libfdk_aac -vcodec libx264 -s 640x360 -b:v 1000k /tmp/output.ts 2>&1 > /tmp/output.txt
ffmpeg version 2.4.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 4 2014 16:36:36 with gcc 4.6 (Ubuntu/Linaro 4.6.4-3ubuntu1)
configuration: --enable-libx264 --enable-libfdk-aac --enable-gpl --enable-nonfree --enable-shared --enable-avresample --enable-debug=3 --disable-pthreads
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[h264 @ 0x20667c0] Warning: not compiled with thread support, using thread emulation
[aac @ 0x2067280] Warning: not compiled with thread support, using thread emulation
Input #0, mpegts, from '/tmp/input.ts ':
Duration: 00:00:11.46, start: 1.000000, bitrate: 159 kb/s
Program 1
Stream #0:0[0x64]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 854x480, 24 fps, 24 tbr, 90k tbn, 48 tbc
Stream #0:1[0x65]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 173 kb/s
File '/tmp/output.ts' already exists. Overwrite ? [y/N] y
[libx264 @ 0x2090020] Warning: not compiled with thread support, using thread emulation
[libx264 @ 0x2090020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x2090020] profile High, level 3.0
[libfdk_aac @ 0x2090f20] Warning: not compiled with thread support, using thread emulation
[h264 @ 0x2067720] Warning: not compiled with thread support, using thread emulation
[aac @ 0x2067bc0] Warning: not compiled with thread support, using thread emulation
Output #0, mpegts, to '/tmp/output.ts':
Metadata:
encoder : Lavf56.4.101
Stream #0:0: Video: h264 (libx264), yuv420p, 640x360, q=-1--1, 1000 kb/s, 24 fps, 90k tbn, 24 tbc
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s
Metadata:
encoder : Lavc56.1.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
frame= 275 fps=186 q=0.0 Lsize= 306kB time=00:00:11.42 bitrate= 219.6kbits/s
video:58kB audio:179kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 29.003912%
[libx264 @ 0x2090020] frame I:2 Avg QP: 4.04 size: 5230
[libx264 @ 0x2090020] frame P:75 Avg QP: 0.30 size: 439
[libx264 @ 0x2090020] frame B:198 Avg QP: 1.30 size: 82
[libx264 @ 0x2090020] consecutive B-frames: 4.0% 0.0% 0.0% 96.0%
[libx264 @ 0x2090020] mb I I16..4: 96.4% 0.4% 3.3%
[libx264 @ 0x2090020] mb P I16..4: 0.0% 0.0% 0.1% P16..4: 0.9% 0.0% 0.0% 0.0% 0.0% skip:98.9%
[libx264 @ 0x2090020] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.5% 0.1% 0.0% direct: 0.1% skip:99.3% L0:45.7% L1:53.2% BI: 1.1%
[libx264 @ 0x2090020] final ratefactor: -22.00
[libx264 @ 0x2090020] 8x8 transform intra:0.5% inter:27.5%
[libx264 @ 0x2090020] coded y,uvDC,uvAC intra: 4.3% 4.2% 4.2% inter: 0.2% 0.2% 0.2%
[libx264 @ 0x2090020] i16 v,h,dc,p: 89% 7% 4% 0%
[libx264 @ 0x2090020] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 5% 50% 8% 5% 0% 0% 0% 0%
[libx264 @ 0x2090020] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 11% 30% 10% 9% 3% 3% 2% 3%
[libx264 @ 0x2090020] i8c dc,h,v,p: 97% 1% 1% 0%
[libx264 @ 0x2090020] Weighted P-Frames: Y:1.3% UV:1.3%
[libx264 @ 0x2090020] ref P L0: 96.7% 0.6% 2.2% 0.5%
[libx264 @ 0x2090020] ref B L0: 98.8% 1.2%
[libx264 @ 0x2090020] ref B L1: 99.0% 1.0%
[libx264 @ 0x2090020] kb/s:41.55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment