[FFmpeg-trac] #4409(undetermined:new): Implement decoding for 10bit Grayscale (Y only) pixelformat from DPX

FFmpeg trac at avcodec.org
Mon Mar 30 16:08:58 CEST 2015

#4409: Implement decoding for 10bit Grayscale (Y only) pixelformat from DPX
             Reporter:               |                     Type:
  1.21gigawatts                      |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  2.6
  undetermined                       |               Blocked By:
             Keywords:  DPX, 10bit,  |  Reproduced by developer:  0
  grayscale, Y                       |
             Blocking:               |
Analyzed by developer:  0            |
 Summary of the bug: Hello, we are using a Scanity HDR filmscanner which is
 able to create 10bit grayscale DPX files. Current ffmpeg versions are not
 able to decode/encode this pixelformat.
 I need just to decode this pixelformat from DPX files from a Scanity
 So, in fact, this is not a bug, it is an improvement ticket.

 How to reproduce: just try to decode a DPX from the attached testbed

 C:\Users\gersti>ffmpegnew -i "I:\DPX\_DPX
 ffmpeg version N-70803-g0f16dfd Copyright (c) 2000-2015 the FFmpeg
   built with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libblu
 ray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrw
 b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
 enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxavs --enable-libxvid --enable-lzma --enable-decklink --enab
   libavutil      54. 20.100 / 54. 20.100
   libavcodec     56. 28.100 / 56. 28.100
   libavformat    56. 25.101 / 56. 25.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 12.100 /  5. 12.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [dpx @ 0000000002d27840] Packing 2 is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means
 that your file has a feature which has not been impl
 [dpx_pipe @ 0000000002d16600] decoding for stream 0 failed
 [dpx_pipe @ 0000000002d16600] Could not find codec parameters for stream 0
 (Video: dpx, none, 2048x1520): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx: could not find codec
 Input #0, dpx_pipe, from 'I:\DPX\_DPX
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: dpx, none, 2048x1520, 25 tbr, 25 tbn, 25 tbc
 At least one output file must be specified

 Additonal Information from SCANITY HDR:
 Supported Pixel Formats:
 *Bits per Component (Kodak Cineon, DPX): 8/10/16bit per Component
 *Color Components (DPX, TIFF): RGB / RGBA / Y only / Alpha only

 10 Bit Y Only:
 SCANITY usually will generate a DPX V2.0 conform images in the 10
 Bit Y only B image packing mode, which is used in the SPIRIT family.
 This switch allows to change the image packing to the DPX V2.0
 conform 10 Bit Y only A mode.

 I guess ffmpeg means with "[dpx @ 0000000002d27840] Packing 2 is not
 implemented" the B IMAGE PACKING MODE.

 Best Regards
 Christoph Gerstbauer

Ticket URL: <https://trac.ffmpeg.org/ticket/4409>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list