Page 1 of 1

Streaming pause/resume without bufferig

Posted: 22 Aug 2011 10:41
by dixkom
Good morning all! Is it possible to disable buffering when I use pause()? I'm using vlcj to run vlc. It would be fine if there is a possibility do disable/limit the buffering, so when I resume stream it will go live. This is on the client side, I stream video from IP cams.

Re: Streaming pause/resume without bufferig

Posted: 23 Aug 2011 11:18
by Jean-Baptiste Kempf
Reduce the caching.

Re: Streaming pause/resume without bufferig

Posted: 01 Sep 2011 23:47
by bendanan
Hi Jean-Baptiste,

I have the same problem with an IP camera using rtsp access.
Pause / wait 5 second for exemple/ Resume.
does not continue in live, it resume at the time when the pause occured and not the current live time.

Which caching are you speaking about?
There are a lot.
I tried --rtsp-caching=0, which suppress the 2 second delai in live, but did'nt find the caching for staying live after pause / resume.

Best regards
Armand Bendanan

Re: Streaming pause/resume without bufferig

Posted: 02 Sep 2011 10:56
by Sébastien Escudier
this is because of time-shifting.
I don"t think you can disable it.

Re: Streaming pause/resume without bufferig

Posted: 04 Sep 2011 23:18
by bendanan
Thanks for your reply.

This time-shifting function can in fact be very useful in some use cases.

In my case I still want to be in sync with the live video.
I can of course use pause, then: stop / play to achieve this function, but I will take some time.

In your opinion, is it possible to write a *video filter* which can have a function to suspend the video output? In my application, I will call this function of this filter in response to a pause/play command.

Can we easily insert a video filter in the video chain of VLC from an application and get a *kind of* pointer to this filter from the chain?

Is it the right way to achieve this function?

Re: Streaming pause/resume without bufferig

Posted: 05 Sep 2011 08:39
by Sébastien Escudier
it would be simpler to add an option to disable time shifting.

Re: Streaming pause/resume without bufferig

Posted: 05 Sep 2014 01:29
by ShiftZone
it would be simpler to add an option to disable time shifting.
Please do, it would be very appreciated :)