Software :: Running MPlayer DVDnav Option From Command Line?
Jun 27, 2010
I am having a problem with running the mplayer dvdnav option from the command line or terminal. I run the command and this is what I get:
mplayer -nocache dvdnav://1 /media/CDROM /dev/scd1
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 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 dvdnav://1.
No stream found to handle url dvdnav://1
Playing /media/CDROM.
File not found: '/media/CDROM'
Failed to open /media/CDROM .....
I went on the forums and they say that some of the packages built to support dvdnav are out of date and that they should be updated. By the way I am running ubuntu 10.04 lucid lynx with lxde as my desktop manager.
where I can find a package for mplayer with dvdnav support enabled?
I was disappointed to discover that in 10.04 dvdnav support was disabled in mplayer. I rely on it for my mythtv front end box to be able to play DVDs. According to a bug it was disabled because of an upstream email chain where dvdnav was considered 'experimental' and 'not ready for production use'. Funny as it worked fine for me.
Post #6 here is where I found the above reasoning for it being disabled.
$ ls one.tar.gz one.tar.gz $ tar -xvfz one.tar.gz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now $ tar -xvzf one.tar.gz one $ tar -xzvf one.tar.gz one $ tar -zxvf one.tar.gz one $
I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:
I'm using linux suse 9.3. Recently i try to run execution files but it shows an error try running with the option "-console" or "-silent" When I tried with the -console option, I got the error - The wizard cannot continue because of the following error: Invalid command line option: console is not supported (1001) (403)
I need some help desperately, and would appreciate a quick response. To begin, here's the output from 'uname -a' for the machine I'm using: Linux ubuntu 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux
I have a application in /xxx/xxx/xxx/app I need to type a long path each time, if I want to use it. I want to use it just type 'app'. How to do? Whatever I'm stay in any path.
i use the csh shell at work. you can either log on to servers locally or to the NFS mount. is is important to know which you are mounted to when executing scripts. csh is the only shell that lets me know which high availability server i am currently on.
before i write a shell script to complete a task, i have to type sh or bash at the prompt, hit enter and then configure the script. then when i am done, hit control -d to get out the bash or sh shell.
is there a way to run sh or bash scripts from the csh command line - i have tried typing this at the csh command line: /bin/sh (or ./bin/bash) while [ 1 ]; do ps auxwww | grep fire | wc -l ; done ... etc, but it does not work.
Yesterday I installed OpenOffice on my Linux server. But when I go to run it through the command line, it says command cannot be found. I've also tried other things like OOWriter, etc. Has anyone had this problem? Installation process went like below: root@aserver [OOO330_m20_native_packed-1_en-US.9567/RPMS]#
rpm -i *.rpm package openoffice.org-ure-1.7.0-9567.i586 is already installed package ooobasis3.3-core01-3.3.0-9567.i586 is already installed package ooobasis3.3-en-US-3.3.0-9567.i586 is already installed package ooobasis3.3-core02-3.3.0-9567.i586 is already installed
I'm trying to remotely run a script on a target machine though the ssh command-line using passwordless login. I know the keys are set up correctly because if I remove the call to the script, the ssh session succeeds and I can log into the remote machine, but when I call the csh script, I don't get any output on the command line. If I call an identical bash script, I do get the output. Specifically, calling line 1 below just returns me to the command line, but running line 2 echo's hello then returns to the command line (both scripts simply contain a single line to echo hello, and both work when run locally on the remote machine). Why do my csh scripts send any output through the ssh link whereas the bash does?
2) ssh -i /root/.ssh/id_rsa user@remotemachine /tmp/test.bash Update: I have further determined that nothing I add to the csh gets run either. I've tried touching files and making directories in the scripts, and all gets run using the bash script, but calling the csh script like line 1 above does nothing, nothing is touched or created.
I've used Clonezilla to backup a NTFS partition to a image on a local drive. I want to restore it to a new one where the partition size is smaller (the used space on the source partition is less than the destination partition size). Unfortunately when I try to restore it I get a error stating that I need to use -C to disable size checking.
I have an executable with input options, like so: Code: ./executable -n 42 -s 42 I've added gcov to the makefiles (compiling with --coverage, -fprofile-arcs, and -ftest-coverage, and linking with -lgcov). It builds fine and creates executable.gcno.
When I try to run gcov, gcov things the options belong to it: Code: $ gcov ./executable -n 42 -s 42 gcov: invalid option -- 's' Usage: gcov [OPTION]... SOURCEFILE... When I use quotes this happens:
i'm trying to setup my server box.. it's being setup as a web server, file server, and setup for me to be able to access it remotely (aka i do pc repair for windows users and it'd be nice to just know where ALL of my software tools are and get to them from there)anyways.. these things are almost all setup right now.. but the one thing i'm having issues with.. is the fact that this box does have 2 hard drives in it and i want to use both of them.. now i'm running straight command line and i can't find the info i need to reformat the second HDD (which is currently NTFS formated) and use it in this system... i'm running 9.04 as a server.. NO GUI INSTALLED! i need this with straight command line...What do i need to look for to figure this out? i'm having trouble figuring this out and it's really getting annoying..
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I needed a larger cache because I have some videos stored on another samba server and it's laggy. I set options: cache=20000, cache-min=10 , and that helped to play those videos smoothly, but that caused all 1280x720 mp4 files stored on my local drive to lag and A/V desync with mplayer message: **** Your system is too SLOW to play this! ****
I tried cache values from 1000 to 80000, and they lag in any case. But without the option "cache" these videos play well. Now I commented "cache" in config.
I'm not sure if this behavior is Ubuntu specific, but I thought this might be a good place to start. I'm currently running Karmic, though again I don't think it matters. I'm trying to get some experience with cron, since it seems like a handy thing to know. Putting together a script to play some chimes seemed like a simple way to do that. I've since fallen into (and crawled out of) a bunch of pitfalls, and will never make assumptions about the running environment again! Whatever I do, I can't seem to get cron to wait for mplayer to finish while it's running the script.
Here's what I've got: Code: #! /bin/bash ### depends on: libnotify-bin mplayer ### DISPLAY=:0.0 must be in crontab TIME=$(date +'%R, %a %e %b') #MIN=$(date +'%M') #HR=$(date +'%I') MIN=00 HR=12 .....
And since more than half of the script is debugging, it'd be helpful to see the output. You'll notice I've set it to always ring noon, which is the worst case scenario. Here's what I get when I run it from the terminal:
Code: Time set to 12:00 Tolling: toll43, toll47, toll50, toll53, toll56, toll59, toll02, toll05, toll08, toll11, toll14, toll. Run at 12:45, Sat 31 Jul, manually End at Sat Jul 31 12:46:21 CDT 2010. Nice 2.5 second pauses while it waits for mplayer to play the chime. Takes about a minute.
Here's what cron puts out: Code: Time set to 12:00 Tolling: toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll. Run at 12:45, Sat 31 Jul, from cron End at Sat Jul 31 12:45:06 CDT 2010.
The whole thing is done in 6 seconds! Now, I know that it is able to invoke mplayer and find the audio files, because I get about 4 seconds of sound. For some reason, though, it doesn't wait to finish playing each file before moving on. You can see where I initially though adding a sleep command would help, I've also tried adding nohup to the crontab and the case statements, and I've tried adding '& echo "foo"' to the case statements.
I am starting an instance of mplayer from a bash script, opening an audio stream:
Code: mplayer [URL]
How do I do to control this mplayer instance from another script? I want to control volume and pause it from within the bash script. I know the commands for doing so from terminal, but once mplayer gets started from the script, how do I 'direct' the commands to that specific mplayer instance?
I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:
I don't have a "CPU MHz" line in my /proc/cpuinfo. I wonder if this is because I installed a 32-bit Ubuntu (10.10, Maverick) on 64-bit (dual core) AMD hardware. Various apps depend on the "CPU MHz" value and simply refuse to run without it. Is it, indeed, a 32-bit software on 64-bit hardware thing? If so, is there any fix short of replacing (clean-installing) the whole system in 64-bit?
$ uname -a: ..... 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux $ cat /proc/cpuinfo: processor: 0 vendor_id: AuthenticAMD cpu family: 15 model: 104 model name: AMD Turion(tm) 64 X2 Mobile Technology TL-58 stepping: 1 cache size: 512 KB physical id: 0 .....