x264 [warning]: invalid DTS: PTS is less than DTS

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
luminarycrush
New Cone
New Cone
Posts: 1
Joined: 03 Feb 2013 22:23

x264 [warning]: invalid DTS: PTS is less than DTS

Postby luminarycrush » 03 Feb 2013 22:32

Hi, I'm using VLC to transcode an IP camera's MPEG4 video feed to x264 so I can push it to Justin.TV. It works fine for a while - hours, sometimes a day, but after some amount of time it stops working and I see the following debug output in the log file:

x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
[0x7fe3f4001538] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 2011 ms)
[0x7fe3f4001538] main input error: ES_OUT_RESET_PCR called
[0x7fe3f4001538] main input debug: Buffering 0%
[0x7fe3f4001538] main input debug: Buffering 9%
[0x7fe3f4001538] main input debug: Buffering 11%
[0x7fe3f4001538] main input debug: Buffering 24%
[0x7fe3f4001538] main input debug: Buffering 29%
[0x7fe3f4001538] main input debug: Buffering 35%
[0x7fe3f4001538] main input debug: Buffering 39%
[0x7fe3f4001538] main input debug: Buffering 42%
[0x7fe3f4001538] main input debug: Buffering 54%
[0x7fe3f4001538] main input debug: Buffering 59%
[0x7fe3f4001538] main input debug: Buffering 60%
[0x7fe3f4001538] main input debug: Buffering 64%
[0x7fe3f4001538] main input debug: Buffering 67%
[0x7fe3f4001538] main input debug: Buffering 68%
[0x7fe3f4001538] main input debug: Buffering 69%
[0x7fe3f4001538] main input debug: Buffering 79%
[0x7fe3f4001538] main input debug: Buffering 83%
[0x7fe3f4001538] main input debug: Buffering 85%
[0x7fe3f4001538] main input debug: Buffering 88%
[0x7fe3f4001538] main input debug: Buffering 91%
[0x7fe3f4001538] main input debug: Buffering 98%
[0x7fe3f4001538] main input debug: Buffering 99%
[0x7fe3f4001538] main input debug: Stream buffering done (2087 ms in 1999 ms)
[0x7fe3f4001538] main input debug: Decoder buffering done in 0 ms
[0x7fe3ec005dd8] stream_out_transcode stream out debug: late picture skipped (193349)
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS


this repeats over and over and the feed has stopped.

Here's my launching command:

/usr/bin/cvlc rtsp://<camera IP>:554 -vvv input_stream --sout='#transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=1,samplerate=11025}:rtp{dst=127.0.0.1,port=1234,sdp=file:///tmp/vlc.sdp}' >& ~/vlc.log &

JustinTV then reads from /tmp/vlc.sdp and rebroadcasts it.

Any thoughts?

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 71 guests