LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2012, 04:59 AM   #1
horsebones
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Mplayer error advise


I'm trying to use a remote control app on my android tablet to control mplayer on Linux. It uses ssh over wifi and seems to work (I can ssh into it and navigate the filesystem) until I need to actually try to use mplayer. The command the app uses for mplayer is
Code:
mplayer -fs %s
but the app doesn't produce any error so I tried to enter it in Linux to see if I could get any info back on it....
Quote:
asdf@(none):~$ mplayer -fs %s
Warning unknown option stopxscreensaver at line 5
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing %s.
File not found: '%s'
Failed to open %s.
Does anyone know how I could get mplayer to execute this command successfully?

Thanks in advance.

Last edited by horsebones; 02-16-2012 at 05:26 AM.
 
Old 02-16-2012, 05:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well mplayer should never be able to play "%s", you need to give it a proper legal command in the first place. I've no idea how to write an Android app, but clearly mplayer needs an actual file to play, and I'd guess you need to interpret this variable, which is Android specific?, at an earlier stage in your code.
 
Old 02-16-2012, 05:19 AM   #3
horsebones
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Oh, so it's a variable argument. I see now. I think the best thing to do, is try to launch the remote app in the android terminal and see what the output returned is.
 
Old 02-16-2012, 05:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Oh, please remove the link from your post, it is against site rules, and not appreciated. Thanks.

And are you not aware of the slave protocol? http://www.mplayerhq.hu/DOCS/tech/slave.txt

Last edited by acid_kewpie; 02-16-2012 at 05:25 AM.
 
Old 02-16-2012, 05:28 AM   #5
horsebones
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
Oh, please remove the link from your post, it is against site rules, and not appreciated. Thanks.
Link removed, sorry.

Quote:
Originally Posted by acid_kewpie View Post
And are you not aware of the slave protocol? http://www.mplayerhq.hu/DOCS/tech/slave.txt
I am now, thanks
 
  


Reply



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] Boot time raid error, need advise to recompile kernel kapz Slackware 12 09-16-2010 07:19 PM
Dual Boot Ubuntu and Vista: boot error PLEASE advise MrCharlie174 Ubuntu 20 09-14-2009 03:31 AM
Kernel upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 12:44 PM
XFree86 error "SIS(0): CRT1 DDC reading failed" do not understand, please advise... Halston2 Linux - General 3 01-04-2004 12:04 AM
9.1 install error (ext2 -fs error) plz advise :) sirpelidor Slackware 1 12-26-2003 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 PM.

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