ilia_kr Posted June 8, 2006 Report Share Posted June 8, 2006 (edited) I have a strange problem with Mplayer: when i double-click a movie file, it sais: "Error: unable to open URL: ... ". If i open the same file from within the player it works ok. Except that Mplayer behaves well. What can i do? Thanks Edited June 13, 2006 by ilia_kr Quote Link to comment Share on other sites More sharing options...
aioshin Posted June 9, 2006 Report Share Posted June 9, 2006 (edited) maybe mplayer has not been set as default application to open that kind of file.. Edited June 9, 2006 by aioshin Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 9, 2006 Report Share Posted June 9, 2006 If you are using KDE: Control Center --> KDE Components --> File Associations Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 9, 2006 Author Report Share Posted June 9, 2006 maybe mplayer has not been set as default application to open that kind of file.. It is set to be default player. I'm using Gnome: right click>>Options>>Open with>>Mplayer. This works ok for xine and totem but not for mplayer. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 11, 2006 Author Report Share Posted June 11, 2006 Have some ideas, guys? Quote Link to comment Share on other sites More sharing options...
ffi Posted June 11, 2006 Report Share Posted June 11, 2006 I assume this is from your browser? I guess this has to do more with browser setting then. I know Opera has the option to parse an url directly or not and download and then play. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 11, 2006 Author Report Share Posted June 11, 2006 I assume this is from your browser? I guess this has to do more with browser setting then. I know Opera has the option to parse an url directly or not and download and then play. No, it is from nautilus, a local file... Quote Link to comment Share on other sites More sharing options...
dexter11 Posted June 11, 2006 Report Share Posted June 11, 2006 It is set to be default player. I'm using Gnome: right click>>Options>>Open with>>Mplayer. This works ok for xine and totem but not for mplayer. Then take a look at how is it set up. Maybe it's using the wrong command. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 11, 2006 Author Report Share Posted June 11, 2006 Please explain yourself... Quote Link to comment Share on other sites More sharing options...
aioshin Posted June 12, 2006 Report Share Posted June 12, 2006 try to specify the exact path of mplayer Quote Link to comment Share on other sites More sharing options...
dexter11 Posted June 12, 2006 Report Share Posted June 12, 2006 Please explain yourself... When you double click on a movie file it executes a command with that file. You should check that command in the GNOME file associations in the GNOME CC. I don't have GNOME so I don't know where it is exactly but I'm sure you can find it. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 12, 2006 Author Report Share Posted June 12, 2006 When you double click on a movie file it executes a command with that file. You should check that command in the GNOME file associations in the GNOME CC. I don't have GNOME so I don't know where it is exactly but I'm sure you can find it. Sure i could find it, if i knew where... :P Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 12, 2006 Author Report Share Posted June 12, 2006 try to specify the exact path of mplayer Please explain yourself... When you double click on a movie file it executes a command with that file. You should check that command in the GNOME file associations in the GNOME CC. I don't have GNOME so I don't know where it is exactly but I'm sure you can find it. /usr/bin/gmplayer -quiet -nofs %U Is that what you've asked for? Quote Link to comment Share on other sites More sharing options...
dexter11 Posted June 13, 2006 Report Share Posted June 13, 2006 /usr/bin/gmplayer -quiet -nofs %U Is that what you've asked for? Yes. The two options are not relevant in this case. What's confusing me is that %U. It should represent the file name which mplayer should play. But from the little C I learned it should be %s instead of %U. If I understood correctly when you double click on a video file mplayer starts but can't play the file because it doesn't understand it. So the best I can come up with is this change that %U and see if that helps. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted June 13, 2006 Author Report Share Posted June 13, 2006 Well, you were right. I removed the options ' -quiet -nofs %U' completely and Mplayer works 100% ! Thank you dexter11. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.