[Libav-user] 16-Bit RAW Video Recording Problem

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Apr 11 16:09:01 CEST 2013

Carel Combrink <carel.combrink at ...> writes:

>     [rawvideo  <at>  01dc8c40] = Invalid pixel format.
>     Last message repeated 1 times
> Input #0, matroska,webm, from 'Recording.avi':
>   Metadata:
>     ENCODER         : Lavf55.1.100
>   Duration: 00:00:00.70, start: 0.000000, bitrate: N/A
>     Stream #0:0: Video: rawvideo, 1024x768, SAR 1:1 DAR 4:3

While this does indeed look like a regression, I wonder 
if it was intended behaviour at any time:
Afaik, matroska does not define gray16 rawvideo, so 
I wonder if it was a good idea to choose mkv as 
output format.
(And the name you chose for the file does not increase 
confidence that you know exactly what you are doing.)

I suggest to use nut instead, it contains definitions 
for the format.

Carl Eugen

More information about the Libav-user mailing list