I have weird problem with rtsp stream.
I'm using vlc-2.0.5 running on ubuntu 64-bit to receive and re-stream h264 video from ip surveillance camera.
This cam serves stream via rtsp.
I discovered that after every 4h39 min (which is 16777seconds - 2^24 miliseconds) of running camera stream vlc stop receiving and re-streaming.
Message in log is:
Code: Select all
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
main error: ES_OUT_RESET_PCR called
Tested also with Wowza and is the same problem.
Log from wowza:
Code: Select all
Timecode out of order [video]: 83885700000:167771390000
Timecodes jumped back in time.
So It is a webcam/rtsp problem - looks like timestamp wraps. I can exactly predict when stream crash.
I have a question - is there any option to workaround this problem on vlc side or automatically reconnect when issue appear?
Thanks for help.
Greetings, Michal.