Hi

I'm reverse engineering a DVR-Video-Format and was able to extract the 
h264-bytestream. The h264-bytestream does only contain IDR_SLICE, SEI and SLICE 
NAL-Units. So there are no SPS and PPS NAL-Units before each IDR_SLICE (which 
corresponds to AVCC scheme). I'm still searching for the SPS and PPS part in 
the DVR-Video-Format.

Feeding libav with this bytestream leads to the following error output:

non-existing PPS 0 referenced
decode_slice_header error
non-existing PPS 0 referenced
decode_slice_header error
no frame!

Which is logical, cause the decoder can't find any PPS NAL-Units in the 
bytestream.

So how can I set PPS manually on the AVCodecContext, so the decoder is able to 
decode the bytestream?

Best regards
Michael

_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to