Non-monotonous DTS in output stream after time=26:29:43

Questions involving a Windows version of FFmpeg.
Post Reply
alexxm
Posts: 1
Joined: Tue Jun 12, 2018 8:34 pm

Non-monotonous DTS in output stream after time=26:29:43

Post by alexxm » Tue Jun 12, 2018 9:21 pm

I'm trying to transcode the stream from RTP to RTMP, but after time =26:29:43 i get error: Non-monotonous DTS in output stream.

Command line:

Code: Select all

ffmpeg.exe -hide_banner -protocol_whitelist rtp,udp,rtmp,flv -i rtp://225.100.101.132:5000 -vcodec copy -acodec aac -b:a 160K -correct_ts_overflow 0 -f mpegts udp://10.100.1.49:5000 -loglevel warning
I know that this is because the 32-bit time format in ffmpeg and tried different options:
-use_wallclock_as_timestamps 1
-fflags + genpts
-correct_ts_overflow 0
But still nothing works out after time 26:29:43 or even earlier.

Any moore ideas?

Log:
frame=4769062 fps= 50 q=-1.0 size=39644592kB time=26:29:42.99 bitrate=3404.9kbits/s speed= 1x
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
................
frame=4769086 fps= 50 q=-1.0 size=39644821kB time=26:29:43.47 bitrate=3404.9kbits/s speed= 1x
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[rtp @ 0000000000525180] Invalid timestamps stream=0, pts=328115844, dts=8918032436, size=13955
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[rtp @ 0000000000525180] Invalid timestamps stream=0, pts=328117644, dts=8918034236, size=13403
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[rtp @ 0000000000525180] Invalid timestamps stream=0, pts=328110444, dts=8918037836, size=6419
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[rtp @ 0000000000525180] Invalid timestamps stream=0, pts=328110444, dts=8918037836, size=6419
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
frame=4769116 fps= 50 q=-1.0 size=39645062kB time=26:29:44.07 bitrate=3404.9kbits/s speed= 1x
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[rtp @ 0000000000525180] Invalid timestamps stream=0, pts=328112244, dts=8918043236, size=2923
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[mpegts @ 0000000002f70240] Non-monotonous DTS in output stream 0:0; previous: 8584572161, current: -5360631; changing to 8584572162. This may result in incorrect timestamps in the output file.
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[mpegts @ 0000000002f70240] Non-monotonous DTS in output stream 0:0; previous: 8584572162, current: -5358831; changing to 8584572163. This may result in incorrect timestamps in the output file.
[NULL @ 0000000000529b00] ct_type:0 pic_struct:2
[mpegts @ 0000000002f70240] Non-monotonous DTS in output stream 0:0; previous: 8584572163, current: -5357031; changing to 8584572164. This may result in incorrect timestamps in the output file.
[NULL @ 0000000000529b00] ct_type:0 pic_struct:1
[mpegts @ 0000000002f70240] Non-monotonous DTS in output stream 0:0; previous: 8584572164, current: -5355231; changing to 8584572165. This may result in incorrect timestamps in the output file.

vayvanne
Posts: 12
Joined: Thu Jul 03, 2014 10:49 pm

Re: Non-monotonous DTS in output stream after time=26:29:43

Post by vayvanne » Sat Jul 14, 2018 10:43 pm

have you tried the same on a Linux build?

Post Reply