[Libav-user] How to decode H.264 RTP packet using ffmpeg?

김희숙 hskim095 at naver.com
Fri Dec 2 08:05:48 CET 2011


Hi,
 
I'm wondering how to decode h.264 rtp packet using avcodec_decode_video2() function.
On encoding side, STAP-A type or FU-A mode rtp packets are sending.
I depacketize one rtp packet and input the data(avpkt) to avcodec_decode_video2().
But there are some errors and the decoding does not working.
 
The errors are as follows:
non-existing PPS 933740 referenced
decode_slice_header error
no frame!
 
Please give some advice and thank you.
 
Regards,
HSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111202/f3a696c5/attachment.html>


More information about the Libav-user mailing list