Created
May 22, 2013 21:20
-
-
Save vade/5631026 to your computer and use it in GitHub Desktop.
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
// crop a file to 480x480 to match aspect size the file we eventually concat to: | |
time ./ffmpeg -i Sequence3/2.mp4 -vf "crop=480:480" Sequence3/2_crop.mp4 | |
ffmpeg version 1.2.1-tessus Copyright (c) 2000-2013 the FFmpeg developers | |
built on May 9 2013 21:58:14 with llvm-gcc 4.2.1 (LLVM build 2336.1.00) | |
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect | |
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 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Sequence3/2.mp4': | |
Metadata: | |
major_brand : mp42 | |
minor_version : 1 | |
compatible_brands: mp41mp42isom | |
creation_time : 2013-05-22 16:59:16 | |
Duration: 00:00:05.67, start: 0.000000, bitrate: 1256 kb/s | |
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x640, 1138 kb/s, 29.98 fps, 30 tbr, 600 tbn, 1200 tbc | |
Metadata: | |
creation_time : 2013-05-22 16:59:16 | |
handler_name : Core Media Video | |
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 111 kb/s | |
Metadata: | |
creation_time : 2013-05-22 16:59:16 | |
handler_name : Core Media Audio | |
File 'Sequence3/2_crop.mp4' already exists. Overwrite ? [y/N] y | |
using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX | |
[libx264 @ 0x10201be00] profile High, level 3.0 | |
[libx264 @ 0x10201be00] 264 - core 130 r481 3a1e20c - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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 'Sequence3/2_crop.mp4': | |
Metadata: | |
major_brand : mp42 | |
minor_version : 1 | |
compatible_brands: mp41mp42isom | |
encoder : Lavf54.63.104 | |
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x480, q=-1--1, 15360 tbn, 30 tbc | |
Metadata: | |
creation_time : 2013-05-22 16:59:16 | |
handler_name : Core Media Video | |
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, s16, 128 kb/s | |
Metadata: | |
creation_time : 2013-05-22 16:59:16 | |
handler_name : Core Media Audio | |
Stream mapping: | |
Stream #0:0 -> #0:0 (h264 -> libx264) | |
Stream #0:1 -> #0:1 (aac -> libvo_aacenc) | |
Press [q] to stop, [?] for help | |
frame= 170 fps=0.0 q=-1.0 Lsize= 661kB time=00:00:05.74 bitrate= 942.0kbits/s | |
video:564kB audio:90kB subtitle:0 global headers:0kB muxing overhead 0.985634% | |
[libx264 @ 0x10201be00] frame I:1 Avg QP:25.73 size: 19511 | |
[libx264 @ 0x10201be00] frame P:135 Avg QP:25.50 size: 3839 | |
[libx264 @ 0x10201be00] frame B:34 Avg QP:29.91 size: 1144 | |
[libx264 @ 0x10201be00] consecutive B-frames: 65.9% 17.6% 14.1% 2.4% | |
[libx264 @ 0x10201be00] mb I I16..4: 15.7% 31.2% 53.1% | |
[libx264 @ 0x10201be00] mb P I16..4: 5.8% 7.8% 2.9% P16..4: 44.0% 12.2% 4.5% 0.0% 0.0% skip:22.8% | |
[libx264 @ 0x10201be00] mb B I16..4: 0.5% 0.1% 0.1% B16..8: 42.5% 5.4% 0.8% direct: 1.1% skip:49.5% L0:46.4% L1:49.1% BI: 4.5% | |
[libx264 @ 0x10201be00] 8x8 transform intra:46.2% inter:65.7% | |
[libx264 @ 0x10201be00] coded y,uvDC,uvAC intra: 37.1% 65.5% 23.3% inter: 15.6% 24.8% 1.5% | |
[libx264 @ 0x10201be00] i16 v,h,dc,p: 48% 19% 11% 22% | |
[libx264 @ 0x10201be00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 16% 31% 3% 3% 3% 4% 4% 4% | |
[libx264 @ 0x10201be00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 25% 19% 4% 4% 3% 6% 3% 3% | |
[libx264 @ 0x10201be00] i8c dc,h,v,p: 41% 20% 33% 6% | |
[libx264 @ 0x10201be00] Weighted P-Frames: Y:11.9% UV:10.4% | |
[libx264 @ 0x10201be00] ref P L0: 72.7% 17.4% 7.7% 1.9% 0.3% | |
[libx264 @ 0x10201be00] ref B L0: 91.7% 7.7% 0.7% | |
[libx264 @ 0x10201be00] ref B L1: 95.2% 4.8% | |
[libx264 @ 0x10201be00] kb/s:814.15 | |
real 0m3.463s | |
user 0m5.823s | |
sys 0m0.166s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment