LibVlc timeshift

This forum is about all development around libVLC.
pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

LibVlc timeshift

Postby pecana » 24 Oct 2016 08:51

Hello,

does the timeshift really work on the libvlc ?
I set th eparametrs on the media

Code: Select all

mCurrentMedia.addOption(":access=timeshift"); mCurrentMedia.addOption(":input-timeshift-path=" + downfolder); // for example /sdcard/Download long granularity = ((mPref.getmPlayerTimeShift() * 1024) * 1024); // it can be changed throught preferences mCurrentMedia.addOption(":input-timeshift-granularity=" + String.valueOf(granularity));
but i don't thihk it is relaly working, i cannot see any temp file or benefits by changing it
Is there something wrong or is it simply not working ?

Thank you
Last edited by pecana on 24 Oct 2016 16:39, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVlc timeshift

Postby Rémi Denis-Courmont » 24 Oct 2016 09:37

Timeshift works by pausing and then resuming a live stream. Don't mess with textual options.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: LibVlc timeshift

Postby pecana » 24 Oct 2016 16:39

Timeshift works by pausing and then resuming a live stream. Don't mess with textual options.
Ok thank you,
is there another way to set these options?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVlc timeshift

Postby Rémi Denis-Courmont » 24 Oct 2016 16:52

The question makes no sense to me.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: LibVlc timeshift

Postby pecana » 24 Oct 2016 22:25

The question makes no sense to me.
Hello , seen your reply i thought I was doing it wrong.
Are the options correct ?
Because timeshift seems not to work properly

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: LibVlc timeshift

Postby pecana » 07 Nov 2016 14:03

The question makes no sense to me.
Hello, I mean is it the correct way to set the timeshift ?

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: LibVlc timeshift

Postby pecana » 06 Jan 2017 23:22

Hello, I still have problem with the timeshift , it seems not to work for live streams or it works for few seconds, then the stream return live, could you please help me with the correct option to set? I set them to Media options, is this right or do I have to set it on the libvlc istance options ?

Thank you


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests