On Thu, Aug 19, 2021 at 12:07:33PM +0800, rui.jiang wrote:
> add palette data in avi header when the input data is raw gray8 pixel data 
> and the output data is 8bit uncompressed avi video
> 
> Signed-off-by: rui.jiang <229135...@qq.com>
> ---
>  libavformat/riffenc.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

breaks rawvideo in ffv1

./ffmpeg  -f rawvideo -framerate 2 -s 192x144 -pix_fmt gray -i video.raw 
-vcodec ffv1  -y  test.avi && ./ffmpeg -i test.avi -f null -
...
[ffv1 @ 0x5636115c9f40] Invalid version in global header
Stream mapping:
  Stream #0:0 -> #0:0 (ffv1 (native) -> wrapped_avframe (native))
Error while opening decoder for input stream #0:0 : Invalid data found when 
processing input


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to