Assuming you're successful with your approach have you thought about what 
you're going to display to user until you get back all requested data.
That's not how things are normally working - very likely you have less or more 
significant data buffering going at your video decoder.
Instead, you should be rather thinking about improving a decoding resiliency 
e.g. just by repeating non-corrupted/missing data or by using some more 
advanced tools present in H.264 - if that is your format.
Best regards,

Andrew

From: [email protected] [mailto:[email protected]] On 
Behalf Of Marco Anastasi
Sent: Thursday, October 11, 2012 4:43 PM
To: [email protected]
Subject: [Libav-user] Detecting broken frame

Hi all,
I'm using avcodec to decode an RTSP video stream for a custom streaming 
application that I'm working on, and I noticed that sometimes a frame gets 
corrupted and the video breaks completely, until it goes back to normal after a 
while, I guess when a key frame is received. I believe the breakage to happen 
when a keyframe goes missing, or when a packet is corrupted or missing. I would 
like to detect when this happens, in order to send an out-of-band message to 
the streaming server and force it to send another keyframe when one is lost. 
Could anyone give me any hint about how / where I could retrieve this 
information?
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to