[Libav-user] Issue with encode-decode examples for libvpx-VP9

rohit khali khali.rohit at gmail.com
Fri Jan 28 13:43:39 EET 2022


I am trying to use encode_video.c and decode_video.c from
https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples to evaluate VP9
codec. However I'm getting "invalid frame marker issue" while decoding the
encoded VP9 stream.
Below are the required details.

Encode example: I got a 25KB VP9 encoded stream, which I guess is RAW vp9
[root at a28becddbffa encode]# ./encode_video enc.vp9 libvpx-vp9
*[libvpx-vp9 @ 0x1cf6040] v1.11.0*
Send frame   0
Send frame  24
Write packet  24 (size=  761)
Decode Example:I've changed the codec_id to AV_CODEC_ID_VP9.
[root at a28becddbffa decode]# ./decode_video enc.vp9 vp
[Frame 1(352x288),codedPicNum=0, I]
saving frame   1[352-384 x 288]
[vp9 @ 0x1fb6300] Invalid frame marker
Error sending a packet for decoding

Any idea, what am I missing here.

Rohit Khali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220128/53a2cb09/attachment.htm>

More information about the Libav-user mailing list