Created
August 19, 2015 15:47
-
-
Save sr105/d659bbf23a3582956e86 to your computer and use it in GitHub Desktop.
Example ffmpeg conversion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silver:2015 June hchapman$ ffmpeg -i BeerDemo_h264_aac.mp4 -c:v h264 -an OUTPUT.mp4 | |
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers | |
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libcaca --enable-vda | |
libavutil 54. 27.100 / 54. 27.100 | |
libavcodec 56. 41.100 / 56. 41.100 | |
libavformat 56. 36.100 / 56. 36.100 | |
libavdevice 56. 4.100 / 56. 4.100 | |
libavfilter 5. 16.101 / 5. 16.101 | |
libavresample 2. 1. 0 / 2. 1. 0 | |
libswscale 3. 1.101 / 3. 1.101 | |
libswresample 1. 2.100 / 1. 2.100 | |
libpostproc 53. 3.100 / 53. 3.100 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BeerDemo_h264_aac.mp4': | |
Metadata: | |
major_brand : isom | |
minor_version : 512 | |
compatible_brands: isomiso2avc1mp41 | |
encoder : Lavf56.25.101 | |
Duration: 00:00:34.28, start: 0.026122, bitrate: 1894 kb/s | |
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], 1761 kb/s, 29 fps, 29 tbr, 14848 tbn, 58 tbc (default) | |
Metadata: | |
handler_name : VideoHandler | |
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 128 kb/s (default) | |
Metadata: | |
handler_name : SoundHandler | |
[libx264 @ 0x7fc33a84ae00] using SAR=1/1 | |
[libx264 @ 0x7fc33a84ae00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX | |
[libx264 @ 0x7fc33a84ae00] profile High, level 4.0 | |
[libx264 @ 0x7fc33a84ae00] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=-2 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 'OUTPUT.mp4': | |
Metadata: | |
major_brand : isom | |
minor_version : 512 | |
compatible_brands: isomiso2avc1mp41 | |
encoder : Lavf56.36.100 | |
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], q=-1--1, 29 fps, 14848 tbn, 29 tbc (default) | |
Metadata: | |
handler_name : VideoHandler | |
encoder : Lavc56.41.100 libx264 | |
Stream mapping: | |
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) | |
Press [q] to stop, [?] for help | |
frame= 995 fps= 65 q=-1.0 Lsize= 6616kB time=00:00:34.24 bitrate=1582.9kbits/s dup=1 drop=0 | |
video:6606kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.158687% | |
[libx264 @ 0x7fc33a84ae00] frame I:7 Avg QP:12.90 size: 21733 | |
[libx264 @ 0x7fc33a84ae00] frame P:495 Avg QP:19.70 size: 11379 | |
[libx264 @ 0x7fc33a84ae00] frame B:493 Avg QP:20.53 size: 1985 | |
[libx264 @ 0x7fc33a84ae00] consecutive B-frames: 32.4% 4.2% 1.5% 61.9% | |
[libx264 @ 0x7fc33a84ae00] mb I I16..4: 60.6% 37.6% 1.7% | |
[libx264 @ 0x7fc33a84ae00] mb P I16..4: 3.3% 8.0% 0.3% P16..4: 9.6% 2.1% 1.1% 0.0% 0.0% skip:75.6% | |
[libx264 @ 0x7fc33a84ae00] mb B I16..4: 0.3% 0.5% 0.0% B16..8: 5.6% 0.6% 0.1% direct: 0.7% skip:92.2% L0:49.7% L1:44.7% BI: 5.6% | |
[libx264 @ 0x7fc33a84ae00] 8x8 transform intra:65.2% inter:86.5% | |
[libx264 @ 0x7fc33a84ae00] coded y,uvDC,uvAC intra: 21.9% 45.1% 12.0% inter: 2.6% 4.3% 0.9% | |
[libx264 @ 0x7fc33a84ae00] i16 v,h,dc,p: 60% 20% 7% 13% | |
[libx264 @ 0x7fc33a84ae00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 23% 29% 2% 3% 2% 3% 1% 2% | |
[libx264 @ 0x7fc33a84ae00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 23% 14% 2% 6% 4% 4% 3% 2% | |
[libx264 @ 0x7fc33a84ae00] i8c dc,h,v,p: 56% 19% 20% 5% | |
[libx264 @ 0x7fc33a84ae00] Weighted P-Frames: Y:3.8% UV:2.6% | |
[libx264 @ 0x7fc33a84ae00] ref P L0: 71.8% 14.5% 9.6% 3.9% 0.2% | |
[libx264 @ 0x7fc33a84ae00] ref B L0: 87.4% 10.6% 2.0% | |
[libx264 @ 0x7fc33a84ae00] ref B L1: 95.6% 4.4% | |
[libx264 @ 0x7fc33a84ae00] kb/s:1577.03 | |
silver:2015 June hchapman$ ffmpeg | |
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers | |
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libcaca --enable-vda | |
libavutil 54. 27.100 / 54. 27.100 | |
libavcodec 56. 41.100 / 56. 41.100 | |
libavformat 56. 36.100 / 56. 36.100 | |
libavdevice 56. 4.100 / 56. 4.100 | |
libavfilter 5. 16.101 / 5. 16.101 | |
libavresample 2. 1. 0 / 2. 1. 0 | |
libswscale 3. 1.101 / 3. 1.101 | |
libswresample 1. 2.100 / 1. 2.100 | |
libpostproc 53. 3.100 / 53. 3.100 | |
Hyper fast Audio and Video encoder | |
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... | |
Use -h to get full help or, even better, run 'man ffmpeg' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment