[FFmpeg-user] FFv1: Encode rgb48le?
Peter B.
pb at das-werkstatt.com
Wed Jun 13 20:11:50 CEST 2012
On 06/13/2012 04:32 PM, Carl Eugen Hoyos wrote:
>
>> + {0,3,4,0,7}, /* A */
> This line is superfluous (and has no effect because the
> number of components is three), patch probably welcome.
Makes sense. Thanks.
>>> (The naming is FFmpeg-specific afaik.)
>> I see.
>> btw: How are the 3x8bit (RGB24) stored in a 32bit word?
> Apart from the naming, the third number in {., ., x, ., .}
> tells you.
Oh, ok! Got it.
Thanks!
>>>> What is necessary in order to support it?
>>> encode_rgb_frame() needs to support bits_per_raw_sample>8
>>> similar to encode_plane()
>> I see...
>> I'll take a look at the code - maybe I'll understand it :)
> Unfortunately, it is less simple than I thought;-(
> ffv1 currently encodes up to 16 bit but 16bit RGB needs
> 17bit, so this is definitely not trivial.
Would you be so kind an point me to any kind of information where I
could read up on "why 16bit RGB requires 17bits?". Right now, I would
not understand why.
Thank you very much for your time,
Pb
More information about the ffmpeg-user
mailing list