HELP! How do I change Mplayer plug-in settings?
Topic: HELP! How do I change Mplayer plug-in settings?
started by: jhsu
Posted by jhsu on Aug. 04 2008,19:32The file is /opt/mplayerplug-in/etc/mplayerplug-in.conf
I think I've found a solution for the problem I've been having with YouTube videos being too dark. The source of this solution is at
< http://www.linuxquestions.org/questio....-545584 >
This suggests I need to make a change in the file /opt/mplayerplug-in/etc/mplayerplug-in.conf .
However, the computer refuses to let me edit this file and doesn't even let me change the permissions. What do I do to just add one little command to this one file? I need to blow through this speed trap on the information superhighway.
Posted by lucky13 on Aug. 04 2008,22:04If you installed via UCI, you have to remember its mountpoint is not writable. You can temporarily copy the directory with contents to another directory name (e.g., mplayer-temp), run mydsl-load on the original UCI to unmount it, copy the temp directory back to the original name*, then modify it as you need, and either tarball it as a tar.gz, as a new custom UCI, or leave it be if you're using a hard drive install or have plenty space on whatever medium you have /opt mounted. (If this is for hard drive install, you should probably convert your UCIs so they're persistent directories instead of mountable apps anyway.)
*- Use the same, identical, case-sensitive, etc. name to prevent errors due to things being linked to self-contained (and related dependency) directories.
Posted by jhsu on Aug. 04 2008,22:10I have a frugal installation. The myDSL extension if mplayerplug-in.unc .
How do I make the change?
Posted by lucky13 on Aug. 04 2008,22:26I didn't know it was UNC, I figured with it being in /opt and unwritable it was UCI. Same process of copy-change-recompress, just different method and you can't unmount it (so do the work in a temp directory or in your home directory). The wiki has directions to make each kind of extension:
< http://damnsmalllinux.org/wiki/index.php/Creating_MyDSL_Extensions >
Posted by jhsu on Aug. 04 2008,23:35OK, I copied the mplayerplug-in directory contents from /opt/mplayerplug-in to /home/dsl/jhsu-mplayerplugin-temp
I unmounted the mplayerplug-in as you described.
I made the change to the mplayerplug-in.conf file.
What do I do now? How do I get all this back into a .unc?
Posted by ^thehatsrule^ on Aug. 05 2008,01:37You could've just easily tested if that workaround works for you by executing `mplayer -vo=x11 myvideo.flv` or following the link's suggestion for user config file in ~/.mplayer/mplayerplug-in.conf
Another easy way is to adjust the brightness/contrast in mplayer instead (using x11 software rendering isn't recommended but should be fine for youtube videos).
I'm guessing that using xgamma (in your other thread) may affect this situation as well.
Posted by jhsu on Aug. 05 2008,03:13I tried downloading a Youtube video and executing mplayer -vo=x11 video1.flv, but it doesn't play. For that matter, the standalone MPlayer isn't even working anymore.
I don't know why, but things just keep deteriorating for me. I was able to get MPlayer to work in the past but not anymore. I was able to print in the past but not anymore. I guess it's time for me to just back up all my files and reinstall DSL. And I'll go back to 3.3, the version the book is written for. I'm using DSL version 3.4.8, and it STINKS!!! The instructions in the official book don't work anymore, the instructions in the wiki and FAQs don't work, and the people on the forums don't seem to know DSL much better than I do.
Posted by lucky13 on Aug. 05 2008,19:46If everything's "deteriorating" for you, maybe it's not everyone else's fault. Don't blame others for issues related to your own hardware, your own abilities (or willingness to improve them), your own lack of initiative in looking up the answers to your questions, or your own unwillingness to follow directions when others try to help you. The instructions I gave you and directed you to in the wiki are adequate for tweaking and repackaging an app, sorry I can't be there to hold your hand while you do it. (Edit: Not that I was the only one who helped. Others also tried to help you and walk you through every single step of processes, and this is how you thank them?)
Note to self: ignore this ingrate user's questions from now on...
Posted by jhsu on Aug. 06 2008,19:40I'm terribly sorry for being a bad sport. I owe everyone here a big apology for allowing my frustration to give me an inappropriate attitude.
I'm setting aside the issue of dark-tinted photos and videos for now and will revisit the issue later.
I figured out what my problem was in setting up the printing. (The export command needs to be used in a NON-ROOT shell.) I now know how to set up the printer reliably and have posted my procedure both on my web site and in the DSL Tips and Tricks forum.
Also, I went back to DSL version 3.3, since that's the version the book was written for. I backed up my files and reformatted and reinstalled everything. (I realize this probably wasn't necessary, but I was afraid that my tinkering had messed things up.)
I'm still trying to figure out how to keep the printer settings through the powerdown and powerup processes so that I don't have to reinstall the printer every time I boot up.
I will tackle the printer issue before I try anything else. Not being able to instantly print the great advice I'm getting rubbed me the wrong way, because it required copying it to another file, saving it to disk, booting up my Windows computer, and printing it up from there. And I let this speed trap get to me.
I'll revisit the Mplayer plug-in settings later.
By the way, I REALLY APPRECIATE the small size of DSL. If you think you've really messed things up, it only takes a few minutes to install this OS. Windows won't install this quickly, and even most other Linux distros are big enough to require well over an hour or even several hours to install.