[FFmpeg-user] prores422 > h264: video now in slow motion

sean darcy seandarcy2 at gmail.com
Fri Apr 13 22:47:41 CEST 2012


I have a ProRes422 that I'm trying to convert to h264. The original clip 
plays fine in Quicktime. The conversion seems to work, but when I play 
it with either mplayer of ffplay, the h264 clip is in slow motion - very 
slow motion.

ffmpeg -i /opt/second2T/video/labs#170380-1.mov -an -vcodec libx264 -r 
60 -preset slower -tune film -crf 18 -threads 0 Volume2.mov
ffmpeg version N-39731-g0cd17a6 Copyright (c) 2000-2012 the FFmpeg 
developers
   built on Apr 11 2012 21:54:39 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
   configuration: --prefix=/usr --bindir=/usr/bin 
--datadir=/usr/share/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man 
--shlibdir=/usr/lib64 --extra-cflags='-Ofast -march=native -mtune=native 
-fopenmp -fomit-frame-pointer -pipe' --enable-static --enable-shared 
--enable-gpl --enable-nonfree --enable-version3 --enable-postproc 
--enable-avfilter --enable-pthreads --enable-x11grab --enable-gray 
--enable-vaapi --enable-hardcoded-tables --enable-libaacplus 
--enable-frei0r --enable-libdirac --disable-decoder=libdirac 
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg 
--enable-librtmp --enable-libschroedinger 
--disable-encoder=libschroedinger --enable-libspeex --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid 
--enable-zlib --disable-debug --cpu=amdfam10 --arch=x86_64 --enable-pic 
--enable-libopencv --enable-openssl
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 67.101 /  2. 67.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/opt/second2T/gavin-video/PacLabs#170380-1.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-03-05 23:56:50
   Duration: 00:28:36.01, start: 0.000000, bitrate: 59349 kb/s
     Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 
720x486, 59337 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2012-03-05 23:56:50
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-03-06 00:03:55
       handler_name    : Apple Alias Data Handler
       timecode        : 01:00:00;00
Incompatible pixel format 'yuv422p10le' for codec 'libx264', 
auto-selecting format 'yuv420p'
[buffer @ 0x1306060] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:0/1 
sws_param:flags=2
[buffersink @ 0x1334720] auto-inserting filter 'auto-inserted scale 0' 
between the filter 'src' and the filter 'out'
[scale @ 0x1304100] w:720 h:486 fmt:yuv422p10le sar:0/1 -> w:720 h:486 
fmt:yuv420p sar:0/1 flags:0x4
[libx264 @ 0x1301c20] using cpu capabilities: MMX2 SSE2Fast FastShuffle 
SSEMisalign LZCNT
[libx264 @ 0x1301c20] profile High, level 3.1
[libx264 @ 0x1301c20] 264 - core 122 r2184+36 22f2e8b - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - 
options: cabac=1 ref=8 deblock=1:-1:-1 analyse=0x3:0x133 me=umh subme=9 
psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=9 
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 
intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 
qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'Volume2.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-03-05 23:56:50
     encoder         : Lavf54.3.100
     Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 
720x486, q=-1--1, 60 tbn, 60 tbc
     Metadata:
       creation_time   : 2012-03-05 23:56:50
       handler_name    : Apple Alias Data Handler
Stream mapping:
   Stream #0:0 -> #0:0 (prores -> libx264)

Here I set the x264 frame rate to 60. I first tried it without the frame 
rate. No help.


Any help appreciated.

sean



More information about the ffmpeg-user mailing list