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 08-06-2006, 08:50 PM   #16
sabit
Member
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15

What does mplayer show as VO in the console output? Does it freeze during the initialization of VO device? have you tried playing with mplayer -vo x11? Sometimes MPlayer freezes when another video is already playing in the specified device (especially Xv, which in most cases, is not able to provide more than one client at a time). It may also be an audio device issue, where another app is using the audio device and it doesn't have hardware mixing capability (and software mixing is not configured).
 
Old 08-06-2006, 09:16 PM   #17
JoeC21
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Arch, openSUSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
What does mplayer show as VO in the console output?
How can I tell?

Quote:
Does it freeze during the initialization of VO device?
It freezes after I click VCD>open disk

Quote:
have you tried playing with mplayer -vo x11?
I added -vo x11 to the config file and then it didnt open. How would I play it with that option?


I dont have any other devices playing any video and I dont believe I have anything else running that uses sound
 
Old 08-06-2006, 09:36 PM   #18
sabit
Member
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
Does mplayer also freeze when you run from console? You may want to run gmplayer from console and take note where it freezes (paste the console output here)

To find out the VO device mplayer uses when you run it as root, run mplayer like this
mplayer vcd://2|grep VO (add other -cdrom options you have)

If you find that gmplayer is freezing when initializing audio device then check whether you have artsd/esd running (e.g. ps -ax|grep arts). You may have to use the -ao arts option (or esd) in that case.

~/.mplayer/config have the following format

vo=x11
ao=alsa
 
Old 08-06-2006, 10:30 PM   #19
JoeC21
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Arch, openSUSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
Edit: wrong info see below

Last edited by JoeC21; 08-07-2006 at 10:45 AM.
 
Old 08-07-2006, 08:15 AM   #20
sabit
Member
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
Most likely there is something wrong with the VCD (scratch?). Type dmesg and check whether there is any disk i/o error (e.g. ATA Reset).
 
Old 08-07-2006, 10:35 AM   #21
JoeC21
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Arch, openSUSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, I made a huge mistake with my last post an apologize for it. I had forgot to swap the audio cd back out with the vcd. Here is the correct output from running mplayer from the terminal

MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 2100+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


93 audio & 211 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

(<unknown>:4218): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

Playing vcd://2.
track 01: adr=1 ctrl=4 format=2 00:02:00 mode: 9
track 02: adr=1 ctrl=4 format=2 00:08:12 mode: 9
ioctl dif1: Invalid argument
ioctl dif1: Invalid argument
MPEG-PS file format detected.
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1130.8 kbps (141.3 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11



So it seems you are right about the video support

Last edited by JoeC21; 08-07-2006 at 10:49 AM.
 
Old 08-07-2006, 10:42 AM   #22
sabit
Member
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
My last guess would be to change the read cache size of GMplayer to the value mplayer is using (from the global mplayer conf /etc/mplayer.conf). If you have a big cache_size (e.g. 8192) try changing it to something small (e.g. 4096, 1024) or just turn it off (cache="no")

Remember, GMplayer uses a seperate conf file called gui.conf, which should be in ~/.mplayer/ or in /etc/mplayer/ (not sure).
 
Old 08-07-2006, 11:22 AM   #23
JoeC21
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Arch, openSUSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
Its working now

I lowered the cache size and changed the video driver in the gui.conf file to x11 and it plays now. I still get an error when it starts...

ioctl dif1: invalid argument

but since it plays I guess that isnt a big deal. I still cant make the video any larger either so maybe that is just a limitation of the VCD, who knows.


Thanks for all the help, it is really appreciated, and sorry for the stupid mistake.

Anyway, if you have any ideas on how to get the video any larger or what that error is feel free to let me know.

Thanks again for all the help!

Joe
 
Old 08-07-2006, 11:45 AM   #24
sabit
Member
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
Quote:
Originally Posted by JoeC21
Anyway, if you have any ideas on how to get the video any larger or what that error is feel free to let me know.
Unfortunately, X11 doesn't support hardware accelerated scaling/zooming like xv, so you have to use the -zoom option (not sure), which is CPU intensive. You can also try using other video out devices like gl2 (OpenGL based), xvidix, etc. (try mplayer -vo help), or update Xorg or install the proprietary drivers if you have Nvidia or ATI cards.

Also try turning on/off DMA for your cdrom device (hdparm -d 1 /dev/cdrom where -d 1 means DMA on -d 0 means DMA off).

Last edited by sabit; 08-07-2006 at 11:49 AM.
 
Old 08-08-2006, 11:58 PM   #25
JoeC21
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Arch, openSUSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
Ahh, I do have an nvidia card. I found the how-to on the arch-wiki so I will try and install the nvidia drivers next time I am on my computer

Thanks again

Joe
 
  


Reply

Tags
mplayer, nonroot, vcd



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
mplayer doesn't play thelonius Linux - Software 1 08-19-2005 01:30 PM
Suse 9.1 wont play vcd's but plays dvd's treborblack SUSE / openSUSE 4 11-16-2004 02:34 AM
can't play anything on mplayer!! blaze_wk Linux - Software 1 01-17-2004 04:49 PM
howto burn svcd/vcd's on a dvdr and play them via mplayer? dav0r Linux - Software 3 12-24-2003 07:13 AM
Can't play DVDs in mplayer as user Wynd Linux - General 3 09-07-2003 06:16 AM

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

All times are GMT -5. The time now is 03:39 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