VLC failed after PCR clock wrap
When trying to play or transcode the following .ts file, we get unrecoverable errors around the PCR clock wrap (4:45). This used to work in earlier versions of VLC.
File: http://villafiasco.asuscomm.com/npo.ts
Command:
/usr/bin/cvlc -vvv -I dummy input.ts --network-caching=3000 --sout-mux-caching=500 --sout-all --sout '#transcode{vcodec=h264,venc=x264{profile=main,level=3.1,preset=fast},acodec=mpga,vb=800,scale=1.0,ab=128,fps=25}:standard{access=http{user=dummyuser,pwd=dummypassword},mux=ts}' --http-port=5000 --http-host=xxxxxxx
Log:
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1657743)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1669585)
[00007f78c40009b8] core input warning: clock gap, unexpected stream discontinuity
[00007f78c40009b8] core input warning: feeding synchro with a new reference point trying to recover from clock gap
[00007f78bc4c9ea8] stream_out_transcode stream out debug: audio drift is too high (95443584335), resetting master sync
[00007f78bc4c9ea8] stream_out_transcode stream out debug: audio drift is too high (95443584335), resetting master sync
[00007f78bc4c9ea8] stream_out_transcode stream out warning: Reseting video sync
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1992024)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (2012761)
...
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1718287)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732560335,old=288902190,pcr=288898244)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1704946)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732584335,old=0,pcr=289324891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1685788)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732608335,old=0,pcr=289364891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1703751)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732640335,old=288899095,pcr=289404891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1698490)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732664335,old=0,pcr=289444891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1687205)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732688335,old=0,pcr=289484891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1670780)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732712335,old=0,pcr=289524891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1683035)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732736335,old=0,pcr=289564891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1678533)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732760335,old=0,pcr=289604891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1664777)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732784335,old=0,pcr=289644891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1652794)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732808335,old=0,pcr=289684891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1781061)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732832335,old=0,pcr=289724891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1806363)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732856335,old=0,pcr=289764891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1790244)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732880335,old=0,pcr=289804891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1774695)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732904335,old=0,pcr=289844891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1801287)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732928335,old=0,pcr=289884891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1808773)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732952335,old=0,pcr=289924891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1796112)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95732976335,old=0,pcr=289964891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1776152)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95733000335,old=0,pcr=290004891)
[00007f78bc4c8cb8] core mux warning: late buffer for mux input (1778820)
[00007f78bc4c8cb8] mux_ts mux warning: packet with too strange dts (dts=95733024335,old=0,pcr=290044891)
etc.