Page 1 of 1

MPV - script for faster playback speed

Posted: Mon Jun 26, 2023 7:22 pm
by don570

Download available in posting by BarryK post at bottom of page
If MPV is desired to play with the normal speed then double click on your media files
and they will open automatically.

To obtain a faster playback speed using MPV use the following code
This useful for long podcasts.

Code: Select all

Exec=mpv --speed=1.4 --player-operation-mode=pseudo-gui -- %U

I put together a package so a right click menu is available to quickly load the file and start it playing.

screenshot-mpv5.png
screenshot-mpv5.png (41.55 KiB) Viewed 786 times

Re: MPV - fast playback speed

Posted: Thu Jun 29, 2023 12:52 pm
by BarryK

The contents of the /root folder and the post-install script break rox mime handling.

All that you need in the pet is just one file, mpv-fast.desktop
NOTHING ELSE.

The pkgget package installer reads the "MimeType=" field in 'mpv-fast.desktop' and automatically creates all the entries in the right-click menu.

What PKGget actually does is create files under /etc/xdg/rox.sourceforge.net/OpenWith (hidden files).

/root/.config/rox.sourceforge.net/OpenWith is not used for mime handling.

Note, the entry created in the right-click menu is "mpv-fast" and that is taken from the first word in the "Name=" field in mpv-fast.desktop

Fixed pet attached...


Re: MPV - fast playback speed

Posted: Thu Jun 29, 2023 1:15 pm
by bugnaw333

need password?


Re: MPV - fast playback speed

Posted: Thu Jun 29, 2023 1:22 pm
by BarryK
bugnaw333 wrote: Thu Jun 29, 2023 1:15 pm

need password?

How on earth are you getting that?

/usr/sbin/petget will only do that if you run it as a non-root user.

Download the pet, then in rox filer, click on the pet to install it.


Re: MPV - fast playback speed

Posted: Fri Jun 30, 2023 6:51 pm
by don570

BarryK pet worked correctly for me.

I suggest that instead of term 'Video Player'
use 'Media Player' or 'Multimedia Player'
__________________________-----


Re: MPV - fast playback speed

Posted: Sat Jul 01, 2023 1:00 am
by BarryK

See my blog post, fixed an old bug when uninstall a package:

https://bkhome.org/news/202306/very-old ... fixed.html

...removes the right-click file associations when uninstall.

That fix is in Easy 5.4.5.