[FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

Reto Kromer amia-l at reto.ch
Thu Jan 29 11:26:53 CET 2015


Christoph Gerstbauer wrote:

>Can you explain me:
>
>Why it is the last 2 bits of the FIRST byte that shows me
>if it is 10bit?
>Shouldnt it be the first 2 bits of the SECOND byte?
>In my understanding, 8 bit are 8 digits -> first byte
>should be always full. (?)
>But maybe this only is for RGB correct and not for YUV?
>
>So why is this 10bit? ->  11111111 00000000
>And why is this 8bit ? -> 11111100 00000000 (only 6bits
>used)

Ange Albertini is doing a lot of reverse engineering and he
is publishing funny - and very useful indeed! - posters
about various formats, including AV related.

  https://code.google.com/p/corkami/  

Hope this helps! Reto


Reto Kromer | AV Preservation by reto.ch



More information about the ffmpeg-user mailing list