[FFmpeg-user] uyvy422 psuedo 10-bit?

Bob Maple bobm-ffmpeg at burner.com
Sat Jul 27 11:12:18 CEST 2013


I'm doing some playing around with Quicktimes using Avid's codecs of
which it has a couple;  "Avid 1:1" which is 8 bit, and "Avid Packed"
which is 10-bit.

ffmpeg is able to read both of these, but just identifies the pixel
format for both as "uyvy422", which -pix_fmts shows as 16bpp, yet it
reads the 10-bit version as well... though I'd expect to see a different
pixel format at 20bpp.

Any insight/explanation as to what is happening in this case?  Is it
actually reading the 10-bit and scaling it immediately to 8-bit to shove
into the uyvy422 pixel format?  Just trying to understand what is
happening internally.


ffprobe from the 'Avid 1:1' (8-bit) source:
------------------------------------

D:\>d:\ffmpeg\ffprobe.exe Avid-11-709.mov
ffprobe version N-54960-gf3f4e13 Copyright (c) 2007-2013 the FFmpeg
developers
  built on Jul 26 2013 19:21:01 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 19.100 / 55. 19.100
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.103 /  3. 81.103
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Avid-11-709.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-07-27 09:47:35
  Duration: 00:00:01.00, start: 0.000000, bitrate: 796692 kb/s
    Stream #0:0(eng): Video: rawvideo (AV1x / 0x78315641), uyvy422,
1920x1080, 796645 kb/s, SAR 1920:1920 DAR 16:9, 23.98 fps, 23.98 tbr,
24k tbn, 24k tbc
    Metadata:
      creation_time   : 2013-07-27 09:47:35
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      creation_time   : 2013-07-27 09:47:36
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
Unsupported codec with id 0 for input stream 1


ffprobe from the 'Avid Packed' source:
--------------------------------------

D:\>d:\ffmpeg\ffprobe.exe AvidPacked-709.mov
ffprobe version N-54960-gf3f4e13 Copyright (c) 2007-2013 the FFmpeg
developers
  built on Jul 26 2013 19:21:01 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 19.100 / 55. 19.100
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.103 /  3. 81.103
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AvidPacked-709.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-07-27 09:34:50
  Duration: 00:00:01.00, start: 0.000000, bitrate: 994380 kb/s
    Stream #0:0(eng): Video: rawvideo (AVup / 0x70755641), uyvy422,
1920x1080, 994333 kb/s, SAR 1920:1920 DAR 16:9, 23.98 fps, 23.98 tbr,
24k tbn, 24k tbc
    Metadata:
      creation_time   : 2013-07-27 09:34:50
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      creation_time   : 2013-07-27 09:34:52
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
Unsupported codec with id 0 for input stream 1


More information about the ffmpeg-user mailing list