Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st September 2012, 13:23   #1  |  Link
karthick1990r
Registered User
 
Join Date: May 2012
Posts: 1
detect packet loss in h.264

Hi,

I 'm working on a live streaming application. At the client side, i would like to detect packet losses so that retransmission of the packets can be requested. Right now, if a packet is lost , i 'm requesting a retransmission. But i think, losing a packet may not produce high distortion at the client always. So, under what conditions, should the retransmission requests to be made?
karthick1990r is offline   Reply With Quote
Old 1st September 2012, 18:56   #2  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
If the packet was marked as disposable (i.e. non-referenced, i.e. nal_ref_idc=0), then dropping it won't propagate any distortion to other frames. There aren't any easily-definable conditions under which distortion is predictably small but nonzero.

Alternately, if there's only a small number of clients per stream, you could use reference invalidation (x264_encoder_invalidate_reference) instead of retransmission. This accepts the loss of a frame, and just prevents the distortion from propagating.

Last edited by akupenguin; 1st September 2012 at 18:59.
akupenguin is offline   Reply With Quote
Reply

Tags
h.264, packet loss

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.