non monotonically increasing dts to muxer
Hello, I transcode udp stream satellite tv in vlc:
:sout=#transcode{vfilter={canvas{width=1280,height=720}},vcodec=h264,vb=4000,fps=25,acodec=mp3,ab=128,channels=2,samplerate=44100,venc=x264{preset=medium,ref=1,subme=1,keyint=50}}:duplicate{dst=http{mux=ts,dst=:8080/}}
The resulting stream of take away through ffmpeg,
ffmpeg-i http://127.0.0.1:8080-vcodec copy-acodec copy-f mpegts udp :/ / @ 239.0.0.1:3000
The logs (debug=2) of vlc experience the following message if the satellite stream of errors occur because of a short-term loss of signal:
ts debug: transport_error_indicator set (pid = 325)
ts debug: transport_error_indicator set (pid = 325)
ts warning: discontinuity received 0x5 instead of 0x7 (pid = 325)
ts debug: transport_error_indicator set (pid = 325)
the CPU load increases, and the logs cut off the flow of ffmpeg:
[Mpegts @ 0x8e84ec0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 93600> = 93600
av_interleaved_write_frame (): Invalid argument
It is necessary that vlc tried to skip the error and automatically restoring normal flow. P.S. In version 1.1.x vlts automatically synchronized flow in case of errors:
stream_out_transcode debug: drift is too high, resetting master sync