-
-
Save gabeodess/b6b0729decd600fc3916 to your computer and use it in GitHub Desktop.
ffmpeg for Web
This file contains 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
$ffmpeg -i market2.mp4 -vcodec libx264 -acodec libfaac -s 640x360 -vb 872000 -an -profile main -pix_fmt yuv420p -movflags +faststart market-sd.mp4 | |
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers | |
built on Nov 4 2014 12:47:40 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libvpx | |
libavutil 52. 66.100 / 52. 66.100 | |
libavcodec 55. 52.102 / 55. 52.102 | |
libavformat 55. 33.100 / 55. 33.100 | |
libavdevice 55. 10.100 / 55. 10.100 | |
libavfilter 4. 2.100 / 4. 2.100 | |
libavresample 1. 2. 0 / 1. 2. 0 | |
libswscale 2. 5.102 / 2. 5.102 | |
libswresample 0. 18.100 / 0. 18.100 | |
libpostproc 52. 3.100 / 52. 3.100 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'market2.mp4': | |
Metadata: | |
major_brand : isom | |
minor_version : 512 | |
compatible_brands: isomiso2avc1mp41 | |
encoder : Lavf55.33.100 | |
Duration: 00:00:21.90, start: 0.000000, bitrate: 4848 kb/s | |
Stream #0:0(eng): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 4838 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default) | |
Metadata: | |
handler_name : VideoHandler | |
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 3 kb/s (default) | |
Metadata: | |
handler_name : SoundHandler | |
Please use -profile:a or -profile:v, -profile is ambiguous | |
[libx264 @ 0x7fd57301d000] using SAR=1/1 | |
[libx264 @ 0x7fd57301d000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX | |
[libx264 @ 0x7fd57301d000] profile Main, level 3.0 | |
[libx264 @ 0x7fd57301d000] 264 - core 142 r2479 dd79a61 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 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=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=872 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 | |
Output #0, mp4, to 'market-sd.mp4': | |
Metadata: | |
major_brand : isom | |
minor_version : 512 | |
compatible_brands: isomiso2avc1mp41 | |
encoder : Lavf55.33.100 | |
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 872 kb/s, 11988 tbn, 23.98 tbc (default) | |
Metadata: | |
handler_name : VideoHandler | |
Stream mapping: | |
Stream #0:0 -> #0:0 (h264 -> libx264) | |
Press [q] to stop, [?] for help | |
[mp4 @ 0x7fd573016e00] Starting second pass: moving the moov atom to the beginning of the file | |
frame= 526 fps= 45 q=-1.0 Lsize= 2414kB time=00:00:21.85 bitrate= 904.9kbits/s dup=1 drop=0 | |
video:2407kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.283851% | |
[libx264 @ 0x7fd57301d000] frame I:3 Avg QP:18.43 size: 74608 | |
[libx264 @ 0x7fd57301d000] frame P:214 Avg QP:19.93 size: 8327 | |
[libx264 @ 0x7fd57301d000] frame B:309 Avg QP:27.31 size: 1484 | |
[libx264 @ 0x7fd57301d000] consecutive B-frames: 8.2% 25.9% 43.9% 22.1% | |
[libx264 @ 0x7fd57301d000] mb I I16..4: 2.0% 0.0% 98.0% | |
[libx264 @ 0x7fd57301d000] mb P I16..4: 0.1% 0.0% 2.9% P16..4: 34.9% 7.6% 10.7% 0.0% 0.0% skip:43.7% | |
[libx264 @ 0x7fd57301d000] mb B I16..4: 0.0% 0.0% 0.2% B16..8: 10.6% 3.0% 2.4% direct: 2.4% skip:81.3% L0:23.0% L1:59.6% BI:17.4% | |
[libx264 @ 0x7fd57301d000] final ratefactor: 19.24 | |
[libx264 @ 0x7fd57301d000] coded y,uvDC,uvAC intra: 94.6% 91.7% 75.4% inter: 12.5% 13.6% 4.4% | |
[libx264 @ 0x7fd57301d000] i16 v,h,dc,p: 28% 13% 9% 50% | |
[libx264 @ 0x7fd57301d000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 17% 10% 6% 9% 11% 8% 8% 8% | |
[libx264 @ 0x7fd57301d000] i8c dc,h,v,p: 48% 18% 25% 10% | |
[libx264 @ 0x7fd57301d000] Weighted P-Frames: Y:0.0% UV:0.0% | |
[libx264 @ 0x7fd57301d000] ref P L0: 74.1% 10.4% 11.2% 4.2% | |
[libx264 @ 0x7fd57301d000] ref B L0: 93.4% 5.8% 0.9% | |
[libx264 @ 0x7fd57301d000] ref B L1: 94.8% 5.2% | |
[libx264 @ 0x7fd57301d000] kb/s:898.61 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment