[FFmpeg-trac] #1106(avcodec:closed): 10 bit RGB DPX file identified as rgb48le

FFmpeg trac at avcodec.org
Tue May 8 13:28:20 CEST 2012


#1106: 10 bit RGB DPX file identified as rgb48le
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  dpx gbr10    |  worksforme
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by michael):

 Replying to [comment:3 dericed]:
 > When I convert the DPX to raw rgb48le then there is random data in bits
 11-16 for each channel. Is the conversion of this DPX to raw rgb48le not a
 lossless conversion? Where does this extra data come from?
 > ...
 > OK, looking closer it seems that bits 11-16 are a copy of bits 1-6, so
 the 10 bit DPX sample decodes to bit:1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6. Is
 there a way to prevent this, as it seems to just add noise in the lesser
 significant bits?

 The bits replication is needed to maintain pure white and pure black.
 Consider 1bit mono to be converted to lets say 8 bit without replication
 it would become gray/black.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1106#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list