[FFmpeg-user] ffmpeg does not display correct pixfmt for prores 4444 with alpha

Robert Krüger krueger at lesspain.de
Sat May 18 15:52:34 CEST 2013


Hi,

I just tested the new alpha support for prores_lgpl and it appears to work
but funnily the pixfmt is not detected correctly (see command line output
below).

The two things in the output that caught my attention were:

    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le,
1920x1080, 40697 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc

should be fmt:yuva444p10le

and then

Input stream #0:0 frame changed from size:1920x1080 fmt:yuv444p10le to
size:1920x1080 fmt:yuva444p10le

full command line and output:

ffmpeg -vcodec prores_lgpl -i
~/samples/software/fcp_7/prores/fcp7_prores_hq444_1080_25p_1f_transparent_bg.mov
-vframes 1 -pix_fmt rgba ~/tmp/prores4444-framedump-kostya-rgba.png
ffmpeg version N-53244-ge1efacf Copyright (c) 2000-2013 the FFmpeg
developers
  built on May 18 2013 15:34:19 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration:
  libavutil      52. 33.100 / 52. 33.100
  libavcodec     55. 10.101 / 55. 10.101
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/krueger/samples/software/fcp_7/prores/fcp7_prores_hq444_1080_25p_1f_transparent_bg.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-05-07 13:52:34
  Duration: 00:00:00.04, start: 0.000000, bitrate: 43467 kb/s
    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le,
1920x1080, 40697 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2013-05-07 13:52:34
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2013-05-07 13:52:34
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      creation_time   : 2013-05-07 13:52:34
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
Output #0, image2, to
'/Users/krueger/tmp/prores4444-framedump-kostya-rgba.png':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf55.7.100
    Stream #0:0(eng): Video: png, rgba, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Metadata:
      creation_time   : 2013-05-07 13:52:34
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
Stream mapping:
  Stream #0:0 -> #0:0 (prores_lgpl -> png)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:1920x1080 fmt:yuv444p10le to
size:1920x1080 fmt:yuva444p10le
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:64kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.033497%

Is this a bug or me not understanding the internal workings well enough?

Cheers,

Robert


More information about the ffmpeg-user mailing list