Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 17 Nov 2018, 00:45
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
mpv media player for Precise Puppy, tahrpup, Slacko
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [70 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
temp-account8260

Joined: 25 Jun 2018
Posts: 8

PostPosted: Sat 30 Jun 2018, 04:19    Post subject:  

I have tried installing this on Slacko64-6.3.2 (kernel changed to 4.14.35) including the dependencies.

mpv appears in the applications menu, but running `mpv` in the terminal (with or without arguments) gives the error: "bash: /usr/bin/mpv: No such file or directory"
This path definitely points to an existing file, as shown by the file manager and by `ls` command. Clicking that file in Rox-Filer gives the same error.

I am completely lost with this error, so any help would be appreciated.

As a side note, the pre-installed gnome-mplayer 1.0.9b is not resizing video when I change window size or enable fullscreen (same with Firefox when using the mplayer plugins). Is this normal behaviour?
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1139
Location: Smithers, BC, Canada

PostPosted: Sat 30 Jun 2018, 10:14    Post subject:  

temp-account8260 wrote:
I have tried installing this on Slacko64-6.3.2

This is a 32bit .pet. The error message you received is fairly typical of trying to use a 32bit application in a 64bit system. Crying or Very sad
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5280
Location: Republic of Novo Zelande

PostPosted: Sat 30 Jun 2018, 16:20    Post subject:  

Is there a way to get mpv to randomly play it's way through an entire directory of media files? (ie: shuffle mode)

I see you can drop a whole directory into the mpv window but it plays in alphabetical order which is a nuisance when tracks begin with the artists name. More interesting in shuffle mode.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Sat 30 Jun 2018, 19:54    Post subject:  

The PeasyMP3 Carousel can do this. It uses mplayer for some audio formats, but you can probably symlink mpv to mplayer.
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1139
Location: Smithers, BC, Canada

PostPosted: Sat 30 Jun 2018, 20:32    Post subject:  

greengeek wrote:
Is there a way to get mpv to randomly play it's way through an entire directory of media files? (ie: shuffle mode)


Code:
mpv --shuffle /somedir/*


Or place this in a script (rt click in dir, New->Script)
Code:
#!/bin/sh
mpv --shuffle "$1"/*

And then drag the directory onto the script.

Or use this:
Code:
#!/bin/sh
mpv --profile=pseudo-gui --shuffle "$1"/*

to show the mpv gui. Put the mouse in the gui and it shows some controls.

Or use this:
Code:
#!/bin/sh
mpv --profile=pseudo-gui --shuffle  --window-scale=0.2 "$1"/*

will show a 1/5 size gui window
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Sun 01 Jul 2018, 17:55    Post subject:  

No reply?
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Sun 01 Jul 2018, 21:28    Post subject: just draw the directory in mpv window !  

just draw the directory in mpv window ! Evil or Very Mad with your mouse..
mpv --shuffle * (jrb)
lecture aléatoire. Open a terminal in chosen directory
shuffle.jpg
 Description   Stretch sailor enceladus (mpv default mediaplayer)
 Filesize   64.02 KB
 Viewed   177 Time(s)

shuffle.jpg

Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5280
Location: Republic of Novo Zelande

PostPosted: Mon 02 Jul 2018, 02:38    Post subject:  

rcrsn51 wrote:
No reply?
Hoping to do some further testing this evening. I don't want to symlink mplayer to mpv yet but will try to get carousel to use mpv as default just to see how things go.

I don't want to replace mplayer as it has worked well for me with a carousel variant so far - just want to understand what the mpv capabilities are. I have a variety of laptops that behave in different ways so I am keen to try new things to see what is the most lightweight or most functional (especially in fullscreen mode)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5280
Location: Republic of Novo Zelande

PostPosted: Mon 02 Jul 2018, 04:28    Post subject:  

rcrsn51 wrote:
The PeasyMP3 Carousel can do this. It uses mplayer for some audio formats, but you can probably symlink mpv to mplayer.
I just tried symlinking mplayer to mpv and Carousel worked perfectly with a variety of audio and video files in my multimedia directory.

In some ways mpv may be a better choice when using Carousel as it has the onscreen controls (at least with the file formats i tried) whereas mplayer did not.

EDIT : I also tried opening /usr/sbin/peasymp3 in a text editor and replacing all occurrences of "mplayer" with "mpv" and both peasymp3 and carousel worked well with mpv. That would probably be my preferred way forward as it would allow me to retain mplayer as a seperate media player in case it was ever needed for specific purposes (where mpv may potentially not work)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5280
Location: Republic of Novo Zelande

PostPosted: Mon 02 Jul 2018, 05:18    Post subject:  

jrb wrote:
Code:
mpv --shuffle /somedir/*
Yes, that works, thanks

Quote:
Or use this:
Code:
#!/bin/sh
mpv --profile=pseudo-gui --shuffle "$1"/*
to show the mpv gui. Put the mouse in the gui and it shows some controls.
Excellent, that works really well.
cheers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [70 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1216s ][ Queries: 12 (0.0597s) ][ GZIP on ]