LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-28-2005, 08:51 AM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Rep: Reputation: 15
gmplayer returns a fatal error when trying to play a DVD


SuSE 9.3 Pro
I'm trying to play an encrypted DVD. $ mplayer dvd:// works but $ gmplayer dvd:// returns an error, which means there's no GUI so I can't fast forward, rewind, pause...

The error message from $ gmplayer dvd:// is:
Quote:
Fatal error!

Error opening/initializing the selected video_out (-vo) device.
 
Old 10-28-2005, 09:42 AM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Re: gmplayer returns a fatal error when trying to play a DVD

Quote:
Originally posted by lagu2653
there's no GUI so I can't fast forward, rewind, pause...
Well, this doesn't solve your actual problem, but just for reference (and because a lot of people prefer using the keyboard than the mouse once they get used to it), here are some keyboard shortcuts snaffled from here:
Code:
Here are some useful keyboard shortcuts (these keys may/may not work, depending on your video output driver):

     <- or ->    	seek backward/forward 10 seconds
     up or down    	seek backward/forward 1 minute
     pgup/pgdown    	seek backward/forward 10 minutes
     < or >    	  	seek backward/forward in playlist
     p or SPACE    	pause movie (press any key)
     q or ESC    	stop playing and quit program
     + or -    	  	adjust audio delay by +/- 0.1 second
     / or *    	  	decrease/increase volume
     o    	  	toggle OSD: none / seek / seek+timer
     m    	  	toggle using master/pcm volume
     z or x    	  	adjust subtitle delay by +/- 0.1 second

     (the following keys are valid only when using DirectShow DivX codec or DivX4 codec with -vc divx4)
     1 or 2    	  	adjust contrast
     3 or 4    	  	adjust brightness
     5 or 6    	  	adjust hue
     7 or 8    	  	adjust saturation

     (the following keys are valid only with TV input support)
     h or l    	  	select previous/next channel
     n    	  	change norm
     b    	  	change channel list
As for your actual problem... do you only get it with playing DVDs? Try with a variety of files and see if you can pin down what under what circumstances the problem presents itself. Also, if you could go into your GMplayer preferences and post the video_out setting that would help a lot. Further, you could try setting it to "x11" if it isn't already. Even better, could you look at the startup messages when you run mplayer (successfully) and see what -vo setting you're using there?
 
Old 10-28-2005, 10:47 AM   #3
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Original Poster
Rep: Reputation: 15
Thanks, they worked!

I'm using an onboard graphics card (integrated graphics) ABit VA-20. Maybe that's the problem?
Code:
[8]+  Stopped                 gmplayer
lagu2653@SuSEBurken:~/HemmaBio> xvinfo &
[9] 14581
lagu2653@SuSEBurken:~/HemmaBio> X-Video Extension version 2.2
screen #0
 no adaptors present

[9]   Exit 1                  xvinfo
lagu2653@SuSEBurken:~/HemmaBio> mplayer dvd://
MPlayer SuSE Linux 9.3 (i686)-Packman-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://.
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 16 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8400.0 kbps (1050.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
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
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 768x576 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
a52: CRC check failed!  0.015 ct:  0.068 676/676 15% 12%  1.9% 0 0
A:  22.8 V:  22.8 A-V: -0.010 ct:  0.096 1196/1196  8% 12%  1.4% 0 0

MPlayer interrupted by signal 15 in module: sleep_timer
lagu2653@SuSEBurken:~/HemmaBio>
 
Old 10-28-2005, 11:36 AM   #4
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Original Poster
Rep: Reputation: 15
I got it to work. I changed the driver in gmplayer > settings > video from xv to X11.
 
Old 10-28-2005, 01:39 PM   #5
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Excellent. I've had a problem or two with MPlayer output in the past (I couldn't get it to fullscreen properly) and merely trying different -vo options until I found one that works did the trick for me too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Brand New DVD Error (I cannot get Xine to play DVDs) Adrohak Linux - Software 42 08-24-2011 01:44 PM
Kaffeine DVD play error mrohekar Suse/Novell 3 05-13-2005 04:21 AM
scanpci returns fatal error & modem init string? billybob92 Linux - Newbie 1 02-01-2004 02:12 PM
can use mplayer to play video, but not gmplayer.... sirpelidor Linux - Software 3 11-23-2003 06:02 AM
Xine Error will not play DVD luegner Linux - Software 7 08-28-2003 04:30 PM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration