[MPlayer-dev-eng] increase in latency following interruption in udp traffic

Collins, Diarmuid DCollins at curtisswright.com
Tue Oct 15 17:26:26 CEST 2013


Hi

I've been make a few local changes and build on mplayer while testing out some low latency playback of MPEG TS over UDP.

Currently the performance is very good, I receive a UDP stream from a camera, use the stream_udp module (modified for my requirements) to read in the UDP packets and playback using vdpau. The end to end latency is as low as the camera can manage (~300ms). I have been unable to get it this low with any other setup or application. All very good.

However I've noticed one issue that I cannot get around. If the UDP traffic is interrupted, say some dropped packets for 1-2 seconds, then when the video playback recovers  the latency has increased and never recovers.  So it might go from 300ms to 2.5 seconds. If I do fast forward the stream (even though the UDP stream is configured as not Seekable) I can reduce the latency.

Digging through the code I'm not sure if it's possible to solve this and get mplayer to recover automatically, If anyone has any thoughts or ideas I'd love to hear them

Diarmuid


_______________________________________________________________________
This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this email and any attached files. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries.  Documents attached hereto may contain technology subject to government export regulations. Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations.  The recipient should check this e-mail and any attachments for the presence of viruses. Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.


More information about the MPlayer-dev-eng mailing list