Page 1 of 1

How to omit DTS and PTS in udp module

Posted: 26 Jan 2014 15:55
by sharbatgula
Hi,

I'm transcoding a bunch of RTP streams and outputing transport streams with udp module. Then I'm recording chunks of the output to a disc without altering the payload.
Finally, I'm remuxing the chinks to .mp4 with ffmpeg.
ffmpeg complains that the streams have non-monotonous DTS, i.e. "... previous: 43776, current: 42896; changing to 43777. .."
Most of the time the file is remuxed in full length, but sometimes I get shorter remuxed files and when playing those files in Windows media player the audio is out of sync with the video. Playback in VLC is fine, but the "corrupted" files show no timecode.

Is there a way to instruct VLC not to generate DTS and PTS timestamps but only PCR. I hope that this will help me fix the problem with ffmpeg remuxing.

BR,
Sharbat

Re: How to omit DTS and PTS in udp module

Posted: 26 Jan 2014 18:17
by RĂ©mi Denis-Courmont
No, I don't think it even would make sense.

Re: How to omit DTS and PTS in udp module

Posted: 28 Jan 2014 08:21
by sharbatgula
OK, then what could be the problem with the non-monotonous DTS? Too many encodings in parallel? I used to keep the CPU < 80%, Now I'm at 60% and observing.
Could dts-delay=<delay in ms> possibly help me with the out of sync audio when played in WMP?

Thanks