Fine tune playback speed

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
psoodo
New Cone
New Cone
Posts: 4
Joined: 23 Oct 2021 04:06

Fine tune playback speed

Postby psoodo » 23 Oct 2021 04:32

Hello everyone,

I'm just wondering is there a way to increase( or decrease ) the playback speed by 0.001 times ( currently available on the player is 0.01 ).

This is my first time posting on Forum ( or online in general ). If there's any proper posting etiquette that i should be following, please let me know

thank you for your time.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Fine tune playback speed

Postby mederi » 23 Oct 2021 18:03


psoodo
New Cone
New Cone
Posts: 4
Joined: 23 Oct 2021 04:06

Re: Fine tune playback speed

Postby psoodo » 25 Oct 2021 07:59

Oh wow, the script works great. Thanks, mederi.
One more question, if you don't mind. Is there a way to set the adjusted playback speed as the default?
From what i see, right now, you'd have to open a stream or video before you can use the script, otherwise it just default to the speed in the "Input/Codec" section

Sorry for responding so late, didn't have access to my rig on the weekend.

Thank you for your help.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Fine tune playback speed

Postby mederi » 25 Oct 2021 18:08

You can save the adjusted value in vlc config ("vlcrc" file), too:
vlc.config.set("rate", rate)

psoodo
New Cone
New Cone
Posts: 4
Joined: 23 Oct 2021 04:06

Re: Fine tune playback speed

Postby psoodo » 26 Oct 2021 04:05

How should i do it exactly ?
for example i wanted playback rate of 1,2 and so added:

vlc.config.set("rate", 1,2)

OR even:

vlc.config.set("rate", 1.2)

to the end of the "vlcrc" file.
neither had any effect

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Fine tune playback speed

Postby mederi » 27 Oct 2021 15:35

Just insert the line in the script in click_Rate(dir) function and whenever the button is pressed, the value is stored in vlc config, too (probably not good idea):
vlc.var.set(input, "rate", rate)
vlc.config.set("rate", rate)
--


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Zokage269s and 17 guests