Streaming pause/resume without bufferig

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dixkom
New Cone
New Cone
Posts: 1
Joined: 22 Aug 2011 10:33

Streaming pause/resume without bufferig

Postby dixkom » 22 Aug 2011 10:41

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Streaming pause/resume without bufferig

Postby Jean-Baptiste Kempf » 23 Aug 2011 11:18

Reduce the caching.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

bendanan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Aug 2011 02:59
VLC version: vlc-2.1.0-git
Operating System: Linux, Windows
Location: Modi'in - Israël

Re: Streaming pause/resume without bufferig

Postby bendanan » 01 Sep 2011 23:47

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

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Streaming pause/resume without bufferig

Postby Sébastien Escudier » 02 Sep 2011 10:56

this is because of time-shifting.
I don"t think you can disable it.

bendanan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Aug 2011 02:59
VLC version: vlc-2.1.0-git
Operating System: Linux, Windows
Location: Modi'in - Israël

Re: Streaming pause/resume without bufferig

Postby bendanan » 04 Sep 2011 23:18

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?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Streaming pause/resume without bufferig

Postby Sébastien Escudier » 05 Sep 2011 08:39

it would be simpler to add an option to disable time shifting.

ShiftZone
New Cone
New Cone
Posts: 2
Joined: 05 Sep 2014 01:15

Re: Streaming pause/resume without bufferig

Postby ShiftZone » 05 Sep 2014 01:29

it would be simpler to add an option to disable time shifting.
Please do, it would be very appreciated :)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests