LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-23-2022, 06:14 PM   #1
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-current
Posts: 94
Blog Entries: 10

Rep: Reputation: 18
slackware15 mplayer ignores per-file .conf files


As distributed, MPlayer on slackware-15 -stable does not read the file "xxx.conf" while trying to play "xxx". It works on the 14.2 slackware-current, and the version of MPlayer is the same on both systems. Variables in the .conf file work correctly if entered on a command line. Diffing the "ldd" output on the two systems yields the following results:

diff ldd.14.2 ldd.15.stable
138c138
< libndr.so.1
---
> libndr.so.2
204d203
< libutil-cmdline-samba4.so
215c214
< libvpx.so.6
---
> libvpx.so.7

This after stripping off the => part of ldd output and sorting.

A "...samba4.so" is referred to in an "ldd" of libndr but the version used in -current is part of samba-4.14.7. Slackware-15 uses samba-4.15.5 which does not include this library. Clearly some reconfiguration of something is needed to link with an appropriate library.

As a workaround I wrote an "awk" script to read the .conf file and run a command-line invocation of mplayer (or gmplayer). Works fine.

But be aware there is Thunar magic (if you use xfce4 like I do) that makes it hard to run a script named "gmplayer" without Thunar calling /usr/bin/gmplayer directly (which ignores the ,conf file)

If a fix for this is a long time in coming, I'll post the awk script, but it really needs to get fixed somewhere upstream.

Last edited by Rod3775; 03-24-2022 at 01:46 PM. Reason: solved
 
Old 03-24-2022, 07:20 AM   #2
regdub
Member
 
Registered: Apr 2008
Location: France
Distribution: Slackware
Posts: 101

Rep: Reputation: 33
Quote:
Originally Posted by Rod3775 View Post
As distributed, MPlayer on slackware-15 -stable does not read the file "xxx.conf" while trying to play "xxx". It works on the 14.2 slackware-current, and the version of MPlayer is the same on both systems. ...
Works here on 15.0.
That makes me wonder if you haven't lost "use-filedir-conf=yes" from your 14.2 configuration files.
 
1 members found this post helpful.
Old 03-24-2022, 12:28 PM   #3
twy
Member
 
Registered: Jun 2004
Distribution: Slackware64
Posts: 99

Rep: Reputation: Disabled
Quote:
Originally Posted by regdub View Post
Works here on 15.0.
That makes me wonder if you haven't lost "use-filedir-conf=yes" from your 14.2 configuration files.
I bet that is it. That line should be in ~/.mplayer/config. I use per-file .conf files to set special options for some bad video files, such as clipping off black bars, setting the correct aspect ratio, deinterlacing, and applying a smoothing filter. I always use mplayer to play video, so I'm glad slackware has it.
 
1 members found this post helpful.
Old 03-24-2022, 01:45 PM   #4
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-current
Posts: 94

Original Poster
Blog Entries: 10

Rep: Reputation: 18
[SOLVED] mplayer use-filedir-conf missing

Thanks (and a tip of the Hatlo hat, if you are old enough to remember that) to the replyers. I was using the distributed config file, and indeed the 14.2 config file dating from 2018 had the line in question. The reference to it is on line 276 of the man file, and I'm afraid my eyes glazed over before I got that far! So all is now well.
 
  


Reply

Tags
mplayer, samba4, slackware 15.0



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No Network on fresh Slackware15 install waynelloydsmith Slackware 17 11-24-2022 04:20 AM
Slackware15 large pdf display failure BratPit Slackware 9 03-04-2022 04:48 PM
[SOLVED] How to partition 4TB disk to dual boot slackware15 + win7 chud1950 Slackware - Installation 11 02-23-2022 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration