[FFmpeg-user] how transcode ProRes to Quicktime?
sean darcy
seandarcy2 at gmail.com
Fri Jun 8 01:18:45 CEST 2012
On 06/04/2012 01:51 AM, Carl Eugen Hoyos wrote:
> sean darcy<seandarcy2<at> gmail.com> writes:
>
>> ffmpeg -i original.mov -an -vcodec libx264 -profile:v main -preset
>> slower -tune film -crf 29 -vf hqdn3d=4 -threads 0 output.mov
>>
>> But that didn't work:
>> x264 [error]: main profile doesn't support 4:2:2
>
> Complete, uncut console output missing.
> But you could try to force yuv420p
>
> Carl Eugen
Complete, uncut console:
ffmpeg -i ../../originals/CG003.mov -an -vcodec libx264 -profile:v main
-tune film -crf 29 -vf hqdn3d=4 -threads 0 Vol_3-qt.mov
ffmpeg version N-40958-gea5dab5 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 22 2012 21:59:03 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-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-librtmp --enable-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. 53.100 / 51. 53.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 76.100 / 2. 76.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x921b40] Stream #1: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x921b40] Stream #2: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x921b40] Stream #3: not enough frames to
estimate rate; consider increasing probesize
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'../../originals/PostWorks/CG003.mov':
Metadata:
creation_time : 2012-03-19 20:17:52
Duration: 00:30:11.85, start: 0.246583, bitrate: 172305 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,
1920x1080, 169867 kb/s, 23.97 fps, 23.98 tbr, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2012-03-19 20:48:17
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32, 1152 kb/s
Metadata:
creation_time : 2012-03-19 20:48:18
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32, 1152 kb/s
Metadata:
creation_time : 2012-03-19 20:48:18
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2012-03-19 20:48:18
handler_name : Apple Alias Data Handler
timecode : 03:00:00:00
w:1920 h:1080 pixfmt:yuv422p10le tb:1/2997 sar:0/1 sws_param:flags=2
[buffersink @ 0x947960] No opaque field provided
[hqdn3d @ 0x946340] ls:4.000000 cs:3.000000 lt:6.000000 ct:4.500000
[hqdn3d @ 0x946340] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'Parsed_hqdn3d_0'
[scale @ 0x9075e0] w:1920 h:1080 fmt:yuv422p10le sar:0/1 -> w:1920
h:1080 fmt:yuv422p sar:0/1 flags:0x4
x264 [error]: main profile doesn't support 4:2:2
[libx264 @ 0x905c20] Error setting profile main.
Output #0, mov, to 'Vol_3-qt.mov':
Metadata:
creation_time : 2012-03-19 20:17:52
Stream #0:0(eng): Video: h264, yuv422p, 1920x1080, q=-1--1, 90k
tbn, 23.98 tbc
Metadata:
creation_time : 2012-03-19 20:48:17
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (prores -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
I've tried adding -pix_fmt yuv420p. That seems to make it work.
sean
More information about the ffmpeg-user
mailing list