Skip to content

Instantly share code, notes, and snippets.

@walterdavis
Created July 21, 2014 14:42
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 walterdavis/ac7057b996f4ecd4759a to your computer and use it in GitHub Desktop.
Save walterdavis/ac7057b996f4ecd4759a to your computer and use it in GitHub Desktop.
ubuntu@ip-10-93-169-71:~/www$ ffmpeg -i ProRes422HQ_Test.mov -c:v libx264 -b:v 3500k -me_method umh -pix_fmt yuv420p -s 1280x720 -profile:v baseline -c:a libfaac -b:a 128k -ar 48000 ProRes422HQ_Test.mp4
ffmpeg version N-64743-g162cffc Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 17 2014 22:56:46 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.101 / 55. 48.101
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ProRes422HQ_Test.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-07-09 20:18:20
Duration: 00:00:10.15, start: 0.000000, bitrate: 223062 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 103 kb/s (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 222933 kb/s, 30.04 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
[libx264 @ 0x18ab760] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x18ab760] profile Constrained Baseline, level 3.1
[libx264 @ 0x18ab760] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=umh 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=48 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=3500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'ProRes422HQ_Test.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf55.48.101
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=-1--1, 3500 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Lavc55.69.100 libx264
Stream #0:1(eng): Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Lavc55.69.100 libfaac
Stream mapping:
Stream #0:1 -> #0:0 (prores (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (aac (native) -> aac (libfaac))
Press [q] to stop, [?] for help
frame= 305 fps= 69 q=-1.0 Lsize= 5242kB time=00:00:10.17 bitrate=4219.8kbits/s
video:5090kB audio:142kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.187441%
[libx264 @ 0x18ab760] frame I:3 Avg QP:19.10 size: 77964
[libx264 @ 0x18ab760] frame P:302 Avg QP:31.45 size: 16482
[libx264 @ 0x18ab760] mb I I16..4: 48.3% 0.0% 51.7%
[libx264 @ 0x18ab760] mb P I16..4: 1.9% 0.0% 2.9% P16..4: 42.3% 13.0% 4.8% 0.0% 0.0% skip:35.0%
[libx264 @ 0x18ab760] final ratefactor: 26.93
[libx264 @ 0x18ab760] coded y,uvDC,uvAC intra: 52.0% 71.2% 42.3% inter: 14.4% 30.7% 9.2%
[libx264 @ 0x18ab760] i16 v,h,dc,p: 45% 22% 9% 23%
[libx264 @ 0x18ab760] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 20% 6% 8% 6% 8% 5% 6%
[libx264 @ 0x18ab760] i8c dc,h,v,p: 52% 20% 20% 8%
[libx264 @ 0x18ab760] ref P L0: 80.4% 11.1% 8.5%
[libx264 @ 0x18ab760] kb/s:4096.84
ubuntu@ip-10-93-169-71:~/www$ ffmpeg -i ProRes422HQ_Test.mov -c:v libx264 -b:v 3500k -me_method umh -pix_fmt yuv420p -s 1280x720 -profile:v baseline -c:a libfaac -b:a 128k -ar 48000 ProRes422HQ_Test.m4v
ffmpeg version N-64743-g162cffc Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 17 2014 22:56:46 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.101 / 55. 48.101
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ProRes422HQ_Test.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-07-09 20:18:20
Duration: 00:00:10.15, start: 0.000000, bitrate: 223062 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 103 kb/s (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 222933 kb/s, 30.04 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
[libx264 @ 0x1caa760] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x1caa760] profile Constrained Baseline, level 3.1
[libx264 @ 0x1caa760] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=umh 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=48 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=3500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, ipod, to 'ProRes422HQ_Test.m4v':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf55.48.101
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720, q=-1--1, 3500 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Lavc55.69.100 libx264
Stream #0:1(eng): Audio: aac (libfaac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s (default)
Metadata:
creation_time : 2014-07-09 20:18:20
handler_name : Apple Alias Data Handler
encoder : Lavc55.69.100 libfaac
Stream mapping:
Stream #0:1 -> #0:0 (prores (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (aac (native) -> aac (libfaac))
Press [q] to stop, [?] for help
frame= 305 fps= 80 q=-1.0 Lsize= 5242kB time=00:00:10.17 bitrate=4219.8kbits/s
video:5090kB audio:142kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.187889%
[libx264 @ 0x1caa760] frame I:3 Avg QP:19.10 size: 77964
[libx264 @ 0x1caa760] frame P:302 Avg QP:31.45 size: 16482
[libx264 @ 0x1caa760] mb I I16..4: 48.3% 0.0% 51.7%
[libx264 @ 0x1caa760] mb P I16..4: 1.9% 0.0% 2.9% P16..4: 42.3% 13.0% 4.8% 0.0% 0.0% skip:35.0%
[libx264 @ 0x1caa760] final ratefactor: 26.93
[libx264 @ 0x1caa760] coded y,uvDC,uvAC intra: 52.0% 71.2% 42.3% inter: 14.4% 30.7% 9.2%
[libx264 @ 0x1caa760] i16 v,h,dc,p: 45% 22% 9% 23%
[libx264 @ 0x1caa760] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 20% 6% 8% 6% 8% 5% 6%
[libx264 @ 0x1caa760] i8c dc,h,v,p: 52% 20% 20% 8%
[libx264 @ 0x1caa760] ref P L0: 80.4% 11.1% 8.5%
[libx264 @ 0x1caa760] kb/s:4096.84
ubuntu@ip-10-93-169-71:~/www$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment