|
InTheWoods
|
 |
« on: January 29, 2008, 07:19:41 pm » |
|
I am unable to open mpeg files directly with Mplayer by clicking on them in Thunar. If I run mplayer or gmplayer from the terminal it works fine. It will also work if I open Mplayer first and then select open file.
I am using Vec 5.9 Any ideas?
|
|
|
|
« Last Edit: January 30, 2008, 12:05:39 pm by InTheWoods »
|
Logged
|
|
|
|
|
Joe1962
|
 |
« Reply #1 on: January 29, 2008, 09:12:43 pm » |
|
I've had this problem and assume it's related to spaces in the names (haven't tested one without spaces though). Drag and drop works. I have other caveats with mplayer on 5.9, so I might as well add them here, since you beat me to the thread...  - Only one theme, and an ugly one to boot... ok, I know that is subjective, but we used to have lots of them in 5.8. - When in fullscreen mode, the control gui won't go to the background, but stays on top... very nasty. It's too bad, since mplayer is my fav player and I don't have time to try and build it for the foreseeable future.
|
|
|
|
|
Logged
|
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please." http://joe1962.bigbox.infoRunning: VL 7 Std 64 + self-cooked XFCE-4.10
|
|
|
|
InTheWoods
|
 |
« Reply #2 on: January 30, 2008, 07:16:08 am » |
|
I attempted a file with no spaces in the name with the same result. Only one theme, and an ugly one to boot... ok, I know that is subjective, but we used to have lots of them in 5.8. Not my personal favorite either. I don't have time to try and build it There is a build script in Vpackager for Mplayer but it has an error http://www.mplayerhq.hu/MPlayer/Skin/BlueHeart-1.5.tar.bz2 ( the present theme ) should be http://www.mplayerhq.hu/MPlayer/skins/BlueHeart-1.5.tar.bz2Therefore it fails to complete the download and fails to create the package. For some reason Vpackager will not let me modify it. I get the error [45]File or directory does not exist. MBuild From Crux.?.0
|
|
|
|
|
Logged
|
|
|
|
|
InTheWoods
|
 |
« Reply #3 on: January 30, 2008, 10:44:20 am » |
|
It appears there is a bug in Mplayer itself. In an ArchLinux forum post http://bugs.archlinux.org/task/8550this was suggested. replace "Exec=gmplayer %U" with "Exec=gmplayer %F
I tried it without success here http://ubuntuforums.org/archive/index.php/t-619836.htmlis another interesting attempt to solve this. I was unsuccessful with it as well. Make a file called opensesame.sh touch opensesame.sh
Now we're going to open it up... cat > opensesame.sh
Copy and paste the below, and then hit control+c MAKE SURE YOU HAVE /usr/bin/gmplayer
#!/bin/bash MPLAYER_BIN=/usr/bin/gmplayer exec $MPLAYER_BIN "$*"
Make it executable chmod +x ./opensesame.sh
And lastly set the proper file association in nautilus so that video files open with opensesame.sh. I was also unsuccessful in building a package from both source and the svn repository.
|
|
|
|
|
Logged
|
|
|
|
|
InTheWoods
|
 |
« Reply #4 on: January 30, 2008, 12:05:09 pm » |
|
On a whim I opened a file from thunar as root. That worked so I went back to my normal user and it works fine every time even for files with spaces in their names. If any one else tries this remember I also ran mcedit /usr/share/applications/mplayer.desktop and changed Exec=gmplayer %U to Exec=gmplayer %F Other people were able to correct the problem merely by changing the codec used in preferences. I also tried this and that too may be a factor.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
InTheWoods
|
 |
« Reply #6 on: January 31, 2008, 08:57:25 pm » |
|
Themes are a personal thing. Good of you to show people their are many other choices that can be easily added tomh38.
I marked this solved but I am still having trouble opening some files. In particular the ones from my video camera. This was not a problem after updating the codecs in 5.8. I have done that here. I can get them to open but not play properly. I get an error that says something like " too many packets in the buffer"
|
|
|
|
|
Logged
|
|
|
|
|
tomh38
|
 |
« Reply #7 on: February 01, 2008, 07:32:03 am » |
|
InTheWoods,
I don't know how much you know about this stuff, so if the following post is a bunch of stuff you already know about, it's nothing personal.
I've gotten that exact error with some video files. I did a Google search with "mplayer" and "too many packets in the buffer" - 9,270 results. I don't know anything about making video from video cameras, but it could be something as simple as the file being too big, so you might try using mencoder to re-encode your videos to xvid or something like that which is more compressed and consequently less resource intensive. There's a lot of stuff out there on the web about how to use mencoder, so try a Google search. Avidemux can also be helpful in re-encoding files, but it won't touch anything in *.wmv or *.mov formats (possibly others, I don't know).
If experience is any guide, someone more intelligent and knowledgeable than I will come along soon here and offer better advice. Still, I hope this is helpful in some way.
Tom
P.S. Mencoder is a command-line tool that's part of Mplayer. There are probably some graphical front ends for it out there but right now I don't know what they might be. I'm pretty sure Avidemux is in the repos, so you should be able to get it via Gslapt.
|
|
|
|
|
Logged
|
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds, April 1991
|
|
|
|
uelsk8s
|
 |
« Reply #8 on: February 01, 2008, 10:34:42 am » |
|
InTheWoods, try playing the file with ffplay ffplay (filename) I am thinking a nice zenity script to play files with ffplay would be nice 
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #9 on: February 01, 2008, 12:25:43 pm » |
|
Heh, heh.... Me thinks Uel has found a new favorite zenity toy.
|
|
|
|
|
Logged
|
|
|
|
|
InTheWoods
|
 |
« Reply #10 on: February 01, 2008, 01:07:31 pm » |
|
I don't know how much you know about this stuff, so if the following post is a bunch of stuff you already know about, it's nothing personal. Never assume I know much of anything and don't worry about me taking it personal. These are mpeg files. Some that I have already encoded with Avidemux. Some are quite small files ( I thought about the size issue too ). These files play fine on the 5.8 installation on the same machine. try playing the file with ffplay The file plays fine with ffplay and with xine. The problem is specific to Mplayer.
|
|
|
|
|
Logged
|
|
|
|
|
tomh38
|
 |
« Reply #11 on: February 01, 2008, 02:32:08 pm » |
|
InTheWoods
All I can think of is "weird" ... which sums up a lot of my experience with Mplayer. As much as I love Mplayer (it's my favorite video player) lots of things vary with how it was compiled, what options you have set in preferences, etc. At least you can play the files with Xine and ffplay.
|
|
|
|
|
Logged
|
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds, April 1991
|
|
|
|
InTheWoods
|
 |
« Reply #12 on: February 02, 2008, 03:37:48 pm » |
|
Even more inexplicable... I can play these files by running mplayer from a terminal ( root or user ) and they play just fine.
|
|
|
|
|
Logged
|
|
|
|
|
Joe1962
|
 |
« Reply #13 on: February 02, 2008, 11:18:26 pm » |
|
Even more inexplicable... I can play these files by running mplayer from a terminal ( root or user ) and they play just fine.
Remember, mplayer is not exactly the same as gmplayer. In fact, mplayer called from the terminal is way lighter, as in: "I can run 12 movies at the same time without framedropping, with the CPU throttled down to 700 MHz".
|
|
|
|
|
Logged
|
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please." http://joe1962.bigbox.infoRunning: VL 7 Std 64 + self-cooked XFCE-4.10
|
|
|
|
InTheWoods
|
 |
« Reply #14 on: February 03, 2008, 06:25:57 am » |
|
Remember, mplayer is not exactly the same as gmplayer OK now were getting somewhere. Mplayer run from the terminal doesn't have a control panel or anything. Gmplayer has the same problems being run from the terminal as selecting Mplayer from the multimedia menu. But Gmplayer runs the very same files with 5.8 on the same computer or an older PIII 900MHz desktop. Did 5.8 have a lighter version of Gmplayer? Without looking I think there was something called Mplayer lite on the initial install of 5.8.
|
|
|
|
|
Logged
|
|
|
|
|