How to omit DTS and PTS in udp module
Posted: 26 Jan 2014 15:55
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
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