[FFmpeg-user] Prores 444 being detected by quicktime as 422?

Robert Krüger krueger at lesspain.de
Mon Sep 10 19:07:26 CEST 2012


On Mon, Sep 10, 2012 at 6:17 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Sam Marrocco <smarrocco <at> ringsidecreative.com> writes:
>
>> Carl is the first person to suggest that ffmpeg cannot
>> create yuv444 (which helps the mystery a bit).
>
> I tried very hard to suggest that FFmpeg is able to create
> yuv444 ProRes files.
> Please provide your failing prores_kostya command line
> together with complete, uncut console output.
>

It does not set the correct fourcc. It should be ap4h but it is apcn
(which is the fourcc for prores 422). Quicktime and other apple
software (like Final Cut) more or less blindly trust the fourcc. I
tried overriding it with -vtag but that didn't work either:

ffmpeg -i /Users/krueger/sample-db/fcp7/prores/fcp7_prores_hq_1080 at 24p_2s-ProRes-4444.mov
-vcodec prores_kostya -pix_fmt yuv444p10le -vtag ap4h -acodec copy -y
prores4444-vtag.mov
ffmpeg version N-43678-gceb8773 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 17 2012 22:28:27 with gcc 4.2.1 (GCC) (Apple Inc. build 5664)
  configuration:
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 53.100 / 54. 53.100
  libavformat    54. 25.100 / 54. 25.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 10.100 /  3. 10.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/krueger/sample-db/fcp7/prores/fcp7_prores_hq_1080 at 24p_2s-ProRes-4444.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2012-09-09 11:49:36
    encoder         : FFmbc 0.7
  Duration: 00:00:02.00, start: 0.000000, bitrate: 104070 kb/s
    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le,
1920x1080, 101756 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc
    Metadata:
      creation_time   : 2012-09-09 11:49:36
      handler_name    : DataHandler
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2012-09-09 11:49:36
      handler_name    : DataHandler
Codec 0x0 is not in the full list.
    Stream #0:2(eng): Data: unknown_codec (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-09-09 11:49:36
      handler_name    : DataHandler
      timecode        : 01:00:00:00
Output #0, mov, to 'prores4444-vtag.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    encoder         : Lavf54.25.100
    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv444p10le,
1920x1080, q=2-31, 200 kb/s, 24k tbn, 23.98 tbc
    Metadata:
      creation_time   : 2012-09-09 11:49:36
      handler_name    : DataHandler
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, 2304 kb/s
    Metadata:
      creation_time   : 2012-09-09 11:49:36
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (prores -> prores_kostya)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   48 fps=2.4 q=0.0 Lsize=   18088kB time=00:00:02.00
bitrate=74015.7kbits/s
video:17523kB audio:563kB subtitle:0 global headers:0kB muxing
overhead 0.013850%


More information about the ffmpeg-user mailing list