Page 1 of 1

force timeshift in http stream

Posted: 31 Jan 2014 23:35
by kurapika
Hi,
Is there a way to force client-side timeshift
--access-filter timeshift --timeshift-force doesn't seem to work in the last version of VLC
I have dvb_link server that streams each TV channel as HTTP stream (mostly MPEG2/MP2 streams) like this: http://hostname:49153/TVChannels/?channelId=12870000 and I cannot use PAUSE like in MPC-HC and WMP

//Regards

Re: force timeshift in http stream

Posted: 01 Feb 2014 17:58
by Rémi Denis-Courmont
Timeshifting is automatic on pause nowadays.

Re: force timeshift in http stream

Posted: 01 Feb 2014 18:54
by kurapika
Hi,
Thank you Rémi for your replay

When I resume after some time of pause, the video gets mixed:
It plays about 1 second of the current audio stream with the video from when I paused
and then it keeps playing the few seconds with the sound unsynchronized and freezing frames
Also, the debug logging interface shows this:


[000000000375ccb0] logger interface: using logger.
libdvbpsi error (PSI decoder): TS duplicate (received 9, expected 10) for PID 0
libdvbpsi error (PSI decoder): TS duplicate (received 9, expected 10) for PID 17
[mpeg2video @ 0000000003847ae0] 00 motion_type at 41 33
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 7 18
[mpeg2video @ 0000000003847ae0] invalid mb type in P Frame at 16 19
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 12 20
[mpeg2video @ 0000000003847ae0] slice mismatch
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 0 22
[mpeg2video @ 0000000003847ae0] invalid cbp at 0 23
[mpeg2video @ 0000000003847ae0] invalid cbp at 0 24
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 7 25
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 9 26
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 0 27
[mpeg2video @ 0000000003847ae0] 00 motion_type at 14 28
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 6 29
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 0 30
[mpeg2video @ 0000000003847ae0] invalid mb type in P Frame at 42 31
[mpeg2video @ 0000000003847ae0] invalid cbp at 0 32
[mpeg2video @ 0000000003847ae0] invalid cbp at 0 33
[mpeg2video @ 0000000003847ae0] 00 motion_type at 0 34
[mpeg2video @ 0000000003847ae0] 00 motion_type at 1 35
[mpeg2video @ 0000000003847ae0] Warning MVs not available
[mpeg2video @ 0000000003847ae0] concealing 810 DC, 810 AC, 810 MV errors
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 11) for PID 10
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 15) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 15) for PID 17
[mpeg2video @ 0000000003847ae0] 00 motion_type at 3 27
[mpeg2video @ 0000000003847ae0] 00 motion_type at 1 28
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 30 10
[mpeg2video @ 0000000003847ae0] mb incr damaged
[mpeg2video @ 0000000003847ae0] 00 motion_type at 14 30
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 1 31
[mpeg2video @ 0000000003847ae0] 00 motion_type at 0 32
[mpeg2video @ 0000000003847ae0] mb incr damaged
[mpeg2video @ 0000000003847ae0] 00 motion_type at 28 34
[mpeg2video @ 0000000003847ae0] ac-tex damaged at 15 35
[mpeg2video @ 0000000003847ae0] concealing 1170 DC, 1170 AC, 1170 MV errors
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 7) for PID 109
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 15) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 15) for PID 1
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 2) for PID 10


if I don't pause, the video is good
I tried timeshift-force in VLC 0.9.9, it creates 50MB files of current TS stream in the timeshifting directory and the pause works! But it lacks many features like YADIF deinterlace mode