[FFmpeg-user] ProRes to x264
HallMarc Websites
marc at hallmarcwebsites.com
Wed Nov 16 00:02:56 CET 2011
I have used the following command
ffmpeg -y -i source.mov -sameq new.mp4
I have tried a few different flags in the command line and yet I still get a
video that when played through QT plugin well, the audio plays fine yet the
video seems to be in slow motion.
Complete output
/$ ffmpeg -y -i
/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/Hamilton-Beach-Sc
oop-30.mov -sameq
/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/atest.mp4
ffmpeg version N-34855-gc8136eb, Copyright (c) 2000-2011 the FFmpeg
developers
built on Nov 14 2011 16:03:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr/local/hgffmpeg --enable-shared
--enable-nonfree --enable-avfilter --enable-filter=movie --enable-gpl
--enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-x11grab --enable-libvpx --enable-libxvid
--extra-cflags=-I/usr/local/hgffmpeg/include/
--extra-ldflags=-L/usr/local/hgffmpeg/lib --enable-decoder=ac3
--enable-decoder=asv1 --enable-decoder=asv2 --enable-decoder=flac
--enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3
--enable-decoder=mpeg1video --enable-decoder=mpeg2video --enable-decoder=flv
--enable-decoder=fraps --enable-decoder=h263 --enable-decoder=h264
--enable-decoder=libgsm --enable-decoder=mjpeg --enable-decoder=mpeg4
--enable-decoder=mpeg4aac --enable-decoder=mpegvideo
--enable-decoder=mpeg4aac --enable-decoder=msmpeg4v1
--enable-decoder=msmpeg4v2 --enable-decoder=msmpeg4v3
--enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable- libavutil
51. 24. 1 / 51. 24. 1
libavcodec 53. 33. 0 / 53. 33. 0
libavformat 53. 20. 0 / 53. 20. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 48. 1 / 2. 48. 1
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 23976.00
(23976/1) -> 23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/Hamilton-Beach-S
coop-30.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-10-05 14:26:42
Duration: 00:00:29.98, start: 0.000000, bitrate: 104608 kb/s
Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
1920x1080, 102281 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn,
23976 tbc
Metadata:
creation_time : 2011-10-05 14:26:42
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 2
channels, s32, 2304 kb/s
Metadata:
creation_time : 2011-10-05 14:26:42
handler_name : ?Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2011-10-05 14:27:11
handler_name : ?Apple Alias Data Handler
Incompatible pixel format 'yuv422p10le' for codec 'libx264', auto-selecting
format 'yuv420p'
[buffer @ 0x97e8080] w:1920 h:1080 pixfmt:yuv422p10le tb:1/1000000 sar:1/1
sws_param:
[buffersink @ 0x97e82e0] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0x97d3680] w:1920 h:1080 fmt:yuv422p10le -> w:1920 h:1080
fmt:yuv420p flags:0x4
Incompatible sample format 's32' for codec 'libfaac', auto-selecting format
's16'
[libx264 @ 0x97f7180] using SAR=1/1
[libx264 @ 0x97f7180] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x97f7180] profile High, level 4.0
[libx264 @ 0x97f7180] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2011 - 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 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=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
'/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/atest.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-10-05 14:26:42
encoder : Lavf53.20.0
Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=-1--1, 2997 tbn, 23.98 tbc
Metadata:
creation_time : 2011-10-05 14:26:42
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2
channels, s16, 128 kb/s
Metadata:
creation_time : 2011-10-05 14:26:42
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (prores -> libx264)
Stream #0:1 -> #0:1 (pcm_s24le -> libfaac)
Press [q] to stop, [?] for help
frame= 9 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate=
0.0kbits/s frame= 18 fps= 16 q=0.0 size= 0kB time=00:00:00.00
bitrate= 0.0kbits/s frame= 26 fps= 16 q=0.0 size= 0kB
time=00:00:00.00 bitrate= 0.0kbits/s frame= 35 fps= 16 q=0.0 size=
0kB time=00:00:00.00 bitrate= 0.0kbits/s frame= 43 fps= 16 q=0.0
size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s frame= 47 fps=
14 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s frame=
54 fps= 14 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 63 fps= 15 q=28.0 size= 99kB time=00:00:00.20
bitrate=3883.8kbits/s frame= 72 fps= 15 q=28.0 size= 189kB
time=00:00:00.58 bitrate=2654.5kbits/s frame= 81 fps= 15 q=28.0 size=
304kB time=00:00:00.95 bitrate=2592.5kbits/s frame= 90 fps= 15 q=28.0
size= 394kB time=00:00:01.33 bitrate=2421.2kbits/s frame= 98 fps=
15 q=28.0 size= 515kB time=00:00:01.66 bitrate=2529.7kbits/s frame=
107 fps= 15 q=28.0 size= 615kB time=00:00:02.04 bitrate=2464.1kbits/s
frame= 116 fps= 16 q=28.0 size= 747kB time=00:00:02.41
bitrate=2529.1kbits/s frame= 124 fps= 15 q=28.0 size= 858kB
time=00:00:02.75 bitrate=2552.1kbits/s frame= 132 fps= 15 q=28.0 size=
992kB time=00:00:03.08 bitrate=2631.9kbits/s frame= 141 fps= 16 q=28.0
size= 1183kB time=00:00:03.46 bitrate=2800.4kbits/s frame= 150 fps=
16 q=28.0 size= 1315kB time=00:00:03.83 bitrate=2806.8kbits/s frame=
159 fps= 16 q=28.0 size= 1430kB time=00:00:04.21 bitrate=2781.5kbits/s
frame= 168 fps= 16 q=28.0 size= 1533kB time=00:00:04.58
bitrate=2737.4kbits/s frame= 177 fps= 16 q=28.0 size= 1600kB
time=00:00:04.96 bitrate=2640.7kbits/s frame= 186 fps= 16 q=28.0 size=
1712kB time=00:00:05.33 bitrate=2626.2kbits/s frame= 195 fps= 16 q=28.0
size= 1805kB time=00:00:05.71 bitrate=2587.1kbits/s frame= 204 fps=
16 q=28.0 size= 1908kB time=00:00:06.08 bitrate=2566.7kbits/s frame=
213 fps= 16 q=28.0 size= 2012kB time=00:00:06.46 bitrate=2549.9kbits/s
frame= 222 fps= 16 q=28.0 size= 2080kB time=00:00:06.84
bitrate=2490.9kbits/s frame= 231 fps= 16 q=28.0 size= 2181kB
time=00:00:07.21 bitrate=2476.0kbits/s frame= 240 fps= 16 q=28.0 size=
2258kB time=00:00:07.59 bitrate=2436.4kbits/s frame= 249 fps= 16 q=28.0
size= 2343kB time=00:00:07.96 bitrate=2409.5kbits/s frame= 258 fps=
16 q=28.0 size= 2425kB time=00:00:08.34 bitrate=2381.3kbits/s frame=
267 fps= 16 q=28.0 size= 2531kB time=00:00:08.71 bitrate=2378.4kbits/s
frame= 275 fps= 16 q=28.0 size= 2606kB time=00:00:09.05
bitrate=2358.9kbits/s frame= 285 fps= 16 q=28.0 size= 2686kB
time=00:00:09.46 bitrate=2324.0kbits/s frame= 294 fps= 16 q=28.0 size=
2804kB time=00:00:09.84 bitrate=2333.8kbits/s frame= 304 fps= 16 q=28.0
size= 2983kB time=00:00:10.26 bitrate=2381.9kbits/s frame= 314 fps=
16 q=28.0 size= 3054kB time=00:00:10.67 bitrate=2342.8kbits/s frame=
323 fps= 16 q=28.0 size= 3116kB time=00:00:11.05 bitrate=2309.7kbits/s
frame= 332 fps= 16 q=28.0 size= 3179kB time=00:00:11.42
bitrate=2278.7kbits/s frame= 341 fps= 16 q=28.0 size= 3212kB
time=00:00:11.80 bitrate=2229.5kbits/s frame= 350 fps= 16 q=28.0 size=
3246kB time=00:00:12.17 bitrate=2183.2kbits/s frame= 359 fps= 16 q=28.0
size= 3275kB time=00:00:12.55 bitrate=2137.3kbits/s frame= 368 fps=
16 q=28.0 size= 3329kB time=00:00:12.92 bitrate=2109.1kbits/s frame=
377 fps= 17 q=28.0 size= 3369kB time=00:00:13.30 bitrate=2074.4kbits/s
frame= 384 fps= 16 q=28.0 size= 3398kB time=00:00:13.59
bitrate=2047.0kbits/s frame= 393 fps= 16 q=28.0 size= 3438kB
time=00:00:13.97 bitrate=2015.7kbits/s frame= 402 fps= 16 q=28.0 size=
3469kB time=00:00:14.34 bitrate=1980.8kbits/s frame= 410 fps= 16 q=28.0
size= 3490kB time=00:00:14.68 bitrate=1947.1kbits/s frame= 419 fps=
16 q=28.0 size= 3521kB time=00:00:15.05 bitrate=1915.5kbits/s frame=
428 fps= 16 q=28.0 size= 3555kB time=00:00:15.43 bitrate=1887.0kbits/s
frame= 437 fps= 16 q=28.0 size= 3645kB time=00:00:15.80
bitrate=1889.0kbits/s frame= 446 fps= 16 q=28.0 size= 3717kB
time=00:00:16.18 bitrate=1881.6kbits/s frame= 455 fps= 16 q=28.0 size=
3784kB time=00:00:16.55 bitrate=1871.9kbits/s frame= 463 fps= 16 q=28.0
size= 3837kB time=00:00:16.89 bitrate=1861.0kbits/s frame= 473 fps=
17 q=28.0 size= 3960kB time=00:00:17.30 bitrate=1874.0kbits/s frame=
483 fps= 17 q=28.0 size= 4074kB time=00:00:17.72 bitrate=1882.7kbits/s
frame= 490 fps= 16 q=28.0 size= 4139kB time=00:00:18.01
bitrate=1881.8kbits/s frame= 498 fps= 16 q=28.0 size= 4200kB
time=00:00:18.35 bitrate=1874.8kbits/s frame= 507 fps= 16 q=28.0 size=
4297kB time=00:00:18.72 bitrate=1879.5kbits/s frame= 517 fps= 17 q=28.0
size= 4360kB time=00:00:19.14 bitrate=1865.7kbits/s frame= 528 fps=
17 q=28.0 size= 4490kB time=00:00:19.60 bitrate=1876.5kbits/s frame=
540 fps= 17 q=28.0 size= 4589kB time=00:00:20.10 bitrate=1869.9kbits/s
frame= 552 fps= 17 q=28.0 size= 4679kB time=00:00:20.60
bitrate=1860.5kbits/s frame= 564 fps= 17 q=28.0 size= 4766kB
time=00:00:21.10 bitrate=1850.1kbits/s frame= 575 fps= 17 q=28.0 size=
4839kB time=00:00:21.56 bitrate=1838.6kbits/s frame= 586 fps= 17 q=28.0
size= 4969kB time=00:00:22.02 bitrate=1848.4kbits/s frame= 596 fps=
17 q=28.0 size= 5044kB time=00:00:22.43 bitrate=1841.3kbits/s frame=
606 fps= 17 q=28.0 size= 5158kB time=00:00:22.85 bitrate=1848.6kbits/s
frame= 616 fps= 17 q=28.0 size= 5225kB time=00:00:23.27
bitrate=1839.1kbits/s frame= 624 fps= 17 q=28.0 size= 5280kB
time=00:00:23.60 bitrate=1832.3kbits/s frame= 634 fps= 17 q=28.0 size=
5360kB time=00:00:24.02 bitrate=1827.7kbits/s frame= 643 fps= 17 q=28.0
size= 5401kB time=00:00:24.39 bitrate=1813.2kbits/s frame= 652 fps=
17 q=28.0 size= 5490kB time=00:00:24.77 bitrate=1815.4kbits/s frame=
660 fps= 17 q=28.0 size= 5595kB time=00:00:25.10 bitrate=1825.4kbits/s
frame= 668 fps= 17 q=28.0 size= 5785kB time=00:00:25.44
bitrate=1862.5kbits/s frame= 677 fps= 17 q=28.0 size= 6004kB
time=00:00:25.81 bitrate=1905.1kbits/s frame= 688 fps= 17 q=28.0 size=
6183kB time=00:00:26.27 bitrate=1927.8kbits/s frame= 696 fps= 17 q=28.0
size= 6318kB time=00:00:26.60 bitrate=1944.9kbits/s frame= 705 fps=
17 q=28.0 size= 6461kB time=00:00:26.98 bitrate=1961.3kbits/s frame=
715 fps= 17 q=28.0 size= 6657kB time=00:00:27.40 bitrate=1990.1kbits/s
frame= 719 fps= 16 q=-1.0 Lsize= 7202kB time=00:00:29.90
bitrate=1973.0kbits/s
video:6896kB audio:287kB global headers:0kB muxing overhead 0.275473%
[libx264 @ 0x97f7180] frame I:19 Avg QP:19.25 size: 50514
[libx264 @ 0x97f7180] frame P:560 Avg QP:23.44 size: 9863
[libx264 @ 0x97f7180] frame B:140 Avg QP:27.04 size: 4124
[libx264 @ 0x97f7180] consecutive B-frames: 67.7% 18.6% 0.8% 12.8%
[libx264 @ 0x97f7180] mb I I16..4: 38.8% 55.8% 5.4%
[libx264 @ 0x97f7180] mb P I16..4: 2.9% 4.3% 0.4% P16..4: 19.9% 3.4%
2.1% 0.0% 0.0% skip:67.0%
[libx264 @ 0x97f7180] mb B I16..4: 0.3% 0.3% 0.1% B16..8: 26.3% 1.8%
0.1% direct: 0.3% skip:70.9% L0:47.4% L1:50.7% BI: 1.9%
[libx264 @ 0x97f7180] 8x8 transform intra:55.9% inter:86.5%
[libx264 @ 0x97f7180] coded y,uvDC,uvAC intra: 36.6% 30.5% 10.4% inter: 5.9%
4.1% 0.1%
[libx264 @ 0x97f7180] i16 v,h,dc,p: 50% 24% 5% 21%
[libx264 @ 0x97f7180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 16% 40% 3% 5% 4%
7% 4% 4%
[libx264 @ 0x97f7180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 25% 15% 4% 7% 5%
7% 4% 3%
[libx264 @ 0x97f7180] i8c dc,h,v,p: 77% 11% 10% 2%
[libx264 @ 0x97f7180] Weighted P-Frames: Y:0.9% UV:0.2%
[libx264 @ 0x97f7180] ref P L0: 62.5% 14.6% 14.4% 8.6% 0.0%
[libx264 @ 0x97f7180] ref B L0: 65.3% 27.3% 7.4%
[libx264 @ 0x97f7180] ref B L1: 89.3% 10.7%
[libx264 @ 0x97f7180] kb/s:1883.56
More information about the ffmpeg-user
mailing list