Page 1 of 1

VLC crash on playing mpeg2 stream

Posted: 20 Apr 2007 18:10
by divinehawk
I'm getting a VLC crash when playing an mpeg2 ts stream over multicast. This is over satellite so the stream isn't error-free (lost packets, etc).

Error signature:
AppName: vlc.exe
AppVer: 0.8.6.0
ModName: liblibmpeg2_plugin.dll
ModVer: 0.0.0.0
Offset: 000162c1

Unfortunately, the stream itself is in a production environment and would be difficult to obtain for reproducing the error in a debugging environment.

Please advise on what I should do next. Thank you!

Posted: 20 Apr 2007 20:09
by DJ
Try posting messages. But if the stream is full of errors it is doubtful it will be usable anyway. VLC has no means for error correction to fill in missing data.

Posted: 20 Apr 2007 20:42
by divinehawk
I'll see if I can get the messages...

Not looking for error correction, but it would be nice if VLC resumed playing through the errors (rather than crashing abruptly)

Posted: 23 Apr 2007 12:17
by cferkel
I am having the same issue (multicast video stream over sat. connection crashing program). This is the case with 0.8.6a and b. Here is a shortened version of the messages:

main warning: PTS is out of range (204950), dropping buffer
main warning: PTS is out of range (181432), dropping buffer
main warning: PTS is out of range (157464), dropping buffer
main warning: PTS is out of range (133495), dropping buffer
main warning: PTS is out of range (109527), dropping buffer
main warning: PTS is out of range (85558), dropping buffer
main warning: PTS is out of range (61589), dropping buffer
main warning: PTS is out of range (37621), dropping buffer
main warning: PTS is out of range (13652), dropping buffer
main warning: PTS is out of range (-10317), dropping buffer
main warning: PTS is out of range (-34286), dropping buffer
main warning: buffer is 44945 late, triggering upsampling
main warning: backward_pts != dts (-11545)
main warning: vout synchro warning: pts != current_date (11544)
main warning: backward_pts != dts (-22455)
main warning: backward_pts != current_pts (22455)
main warning: timing screwed, stopping resampling
main warning: buffer is 76525 late, triggering upsampling
main warning: backward_pts != dts (-10944)
main warning: vout synchro warning: pts != current_date (10944)
main warning: backward_pts != dts (-10845)
main warning: backward_pts != current_pts (10844)
main warning: vout synchro warning: pts != current_date (10633)
main warning: backward_pts != dts (-10633)
main warning: backward_pts != current_pts (-10634)
main warning: vout synchro warning: pts != current_date (10633)
main warning: backward_pts != dts (-10478)
main warning: timing screwed, stopping resampling
main warning: backward_pts != dts (-10278)
main warning: backward_pts != current_pts (10477)
main warning: buffer is 115824 late, triggering upsampling
main warning: vout synchro warning: pts != current_date (10278)
main warning: audio drift is too big (125158), dropping buffer
main warning: vout synchro warning: pts != current_date (10121)
main warning: backward_pts != dts (-10122)
main warning: backward_pts != current_pts (-10123)
main warning: vout synchro warning: pts != current_date (10122)
main warning: backward_pts != dts (-9834)
main warning: backward_pts != current_pts (9833)
main warning: backward_pts != dts (-9711)
main warning: vout synchro warning: pts != current_date (9711)
main warning: audio drift is too big (128451), dropping buffer
main warning: backward_pts != dts (-9522)
main warning: backward_pts != dts (-9411)
main warning: backward_pts != current_pts (9522)
main warning: vout synchro warning: pts != current_date (9410)
main warning: audio drift is too big (120760), dropping buffer
main warning: vout synchro warning: pts != current_date (9277)
main warning: backward_pts != dts (-9278)
main warning: backward_pts != current_pts (-9278)
main warning: vout synchro warning: pts != current_date (9277)
main warning: backward_pts != dts (-9166)
main warning: backward_pts != current_pts (9166)
main warning: vout synchro warning: pts != current_date (9021)
main warning: backward_pts != dts (-9022)
main warning: backward_pts != current_pts (-9023)
main warning: vout synchro warning: pts != current_date (9021)
main warning: audio drift is too big (126250), dropping buffer
main warning: audio drift is too big (122965), dropping buffer
main warning: audio drift is too big (124733), dropping buffer
main warning: backward_pts != dts (-15666)
main warning: backward_pts != current_pts (15666)
main warning: audio drift is too big (123195), dropping buffer
main warning: audio drift is too big (122920), dropping buffer
main warning: audio drift is too big (121525), dropping buffer
main warning: backward_pts != dts (-10989)
main warning: backward_pts != current_pts (10988)
main warning: backward_pts != dts (-10045)
main warning: audio drift is too big (120651), dropping buffer
main warning: backward_pts != current_pts (10044)
main warning: resampling stopped after 32519065 usec (drift: 57733)
main warning: buffer is 56643 in advance, triggering downsampling
main warning: resampling stopped after 8316145 usec (drift: 7872)
main warning: late picture skipped (-798)
main warning: late picture skipped (-786)
main warning: late picture skipped (-759)
main warning: late picture skipped (-744)
main warning: late picture skipped (-794)
main warning: late picture skipped (-778)
main warning: late picture skipped (-797)
main warning: late picture skipped (-790)
main warning: late picture skipped (-793)
main warning: late picture skipped (-791)
*continues*

There are many more 'late picture skipped' warnings. Please let me know if more information is needed. Thank you in advance for any insight.

Posted: 23 Apr 2007 14:59
by DJ
There are timing errors, This could be caused by a connection that is to slow for the bit rate of the media to a sound card that doesn't control the picture properly for sync.

VLC requires transcoding for streaming as it wants control of the stream. Some knowledge of formats and containers is required to do this properly as well as some knowledge of protocols to choose from to get the best transfer for the purpose of the stream.

Posted: 24 Apr 2007 16:16
by cferkel
The stream I am receiving is encoded at the distant end of the satellite connection and I have no control over it. I believe there is enough bandwidth available and it is a video only stream. Are there any settings in VLC that I could tweak to experiment with this? Thank you.

Posted: 25 Apr 2007 09:24
by DJ
You can try Preferences, Audio, Output modules and from the pull down choose "Win32 waveOut extension output" then press Save and close the player. This is the older method of addressing the audio card and shows a bit better timing. But this issue should also show up in other formats (files) looking at messages. Perhaps just not quite as bad.

The better solution (if it is happening in other files) is look for audio driver updates.

Re: VLC crash on playing mpeg2 stream

Posted: 20 May 2008 09:09
by s3rg3
I've exactly the same problem, is the problem solved?

Re: VLC crash on playing mpeg2 stream

Posted: 20 May 2008 19:40
by VLC_help
Try nightly builds and see how they work.
http://nightlies.videolan.org/