Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Multimedia
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Multimedia Don't know how to watch DVDs using mplayer? Asking yourself what the heck mplayer is? This is the right place to ask.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-Apr-2008, 09:00
patrimay
Guest
 
Posts: n/a
Default

Hello,

I have installed the mplayer on OpenSuse 10.3 and when I open any file (e.g. vob, avi,...) there is only the audio playing.
Instead of displaying video correctly only a blue screen appears.
I have checked a list of video codecs, they should be enough.

When I lay in a dvd, there comes the following error message: DVD: no stream found to handle url dvd://1

Has anyone an idea how to solve these problems?

It really annoys me to only listening to audio when I open a .vob file for example.

Best regards,
Patrick
  #2 (permalink)  
Old 20-Apr-2008, 09:05
microchip
Guest
 
Posts: n/a
Default

Quote:
Hello,

I have installed the mplayer on OpenSuse 10.3 and when I open any file (e.g. vob, avi,...) there is only the audio playing.
Instead of displaying video correctly only a blue screen appears.
I have checked a list of video codecs, they should be enough.

When I lay in a dvd, there comes the following error message: DVD: no stream found to handle url dvd://1

Has anyone an idea how to solve these problems?

It really annoys me to only listening to audio when I open a .vob file for example.

Best regards,
Patrick
[/b]
can you post the output of MPlayer? in a console type: mplayer /path/to/file/file.vob
  #3 (permalink)  
Old 20-Apr-2008, 09:19
patrimay
Guest
 
Posts: n/a
Default

Quote:
can you post the output of MPlayer? in a console type: mplayer /path/to/file/file.vob
[/b]
This is the output:


linux-syla:/home/patrick # mplayer /media/Volume/MusikVideos/5.avi
MPlayer 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1 © 2000-2007 MPlayer Team
CPU: Intel® Pentium® M processor 1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /media/Volume/MusikVideos/5.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x480 12bpp 25.000 fps 2862.3 kbps (349.4 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.4.1 (build 2178/release)
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 320.0 kbit/20.83% (ratio: 40000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
A: 171.8 V: 171.8 A-V: 0.003 ct: 0.000 4297/4297 19% 0% 1.6% 0 0
Exiting... (Quit)

Hopefully, this is more useful.

Thanks, Patrick
  #4 (permalink)  
Old 20-Apr-2008, 09:24
microchip
Guest
 
Posts: n/a
Default

your output looks fine, have you tried using a different output video module? mplayer -vo help should give you the available output modules. Try playing a file with:

mplayer -vo gl /path/to/file/file.avi

also try with -vo gl2
  #5 (permalink)  
Old 20-Apr-2008, 09:39
patrimay
Guest
 
Posts: n/a
Default

Quote:
your output looks fine, have you tried using a different output video module? mplayer -vo help should give you the available output modules. Try playing a file with:

mplayer -vo gl /path/to/file/file.avi

also try with -vo gl2
[/b]
Thanks, now I have video but it is displayed in slow motion.
The output says this:

linux-syla:/home/patrick # mplayer -vo gl /home/patrick/5.avi
MPlayer 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1 © 2000-2007 MPlayer Team
CPU: Intel® Pentium® M processor 1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /home/patrick/5.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x480 12bpp 25.000 fps 2862.3 kbps (349.4 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.4.1 (build 2178/release)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 320.0 kbit/20.83% (ratio: 40000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x89a4e70]SwScaler: using unscaled yuv420p -> rgb32 special converter
VO: [gl] 640x480 => 640x480 BGRA
A: 6.4 V: 3.0 A-V: 3.399 ct: 0.000 76/ 76 10% 176% 2.0% 50 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 10.6 V: 4.5 A-V: 6.039 ct: 0.000 114/114 10% 204% 2.1% 88 0
Exiting... (Quit)

I have copied the file to my harddisk, so external drive speed should not matter.
Where can I change to use the gl module in mplayer? I don't want to run it from console all the time.

Thanks, Patrick
  #6 (permalink)  
Old 20-Apr-2008, 09:44
microchip
Guest
 
Posts: n/a
Default

this is strange that gl gives you slow playback. Have you installed your graphics driver for you card or are you using the distro's default ones? Also you can try with gl2 instead

to use gl or gl2 as default one you should place the below code in the /home/username/.mplayer/config file

Code:
vo=gl
or
Code:
vo=gl2
  #7 (permalink)  
Old 20-Apr-2008, 09:53
patrimay
Guest
 
Posts: n/a
Default

Quote:
this is strange that gl gives you slow playback. Have you installed your graphics driver for you card or are you using the distro's default ones? Also you can try with gl2 instead

to use gl or gl2 as default one you should place the below code in the /home/username/.mplayer/config file

Code:
vo=gl
or
Code:
vo=gl2
[/b]
I have not installed any graphics driver, so I must have the default's one. Do you think this could be the problem?
gl2 is playing in slow motion too. No difference between gl and gl2.

Patrick
  #8 (permalink)  
Old 20-Apr-2008, 09:58
microchip
Guest
 
Posts: n/a
Default

Quote:
I have not installed any graphics driver, so I must have the default's one. Do you think this could be the problem?
gl2 is playing in slow motion too. No difference between gl and gl2.

Patrick
[/b]
yes, I think that because you're using the distro's default GPU driver and not the Nvidia/ATI/Intel ones, the XV driver doesn't have direct access acceleration. Also for gl or gl2 output you NEED a OpenGL driver on oyur system. The default distro drivers only use SDL for acceleration so better install the Nvidia/ATi/Intel drivers for your graphics card
  #9 (permalink)  
Old 20-Apr-2008, 10:26
patrimay
Guest
 
Posts: n/a
Default

Quote:
yes, I think that because you're using the distro's default GPU driver and not the Nvidia/ATI/Intel ones, the XV driver doesn't have direct access acceleration. Also for gl or gl2 output you NEED a OpenGL driver on oyur system. The default distro drivers only use SDL for acceleration so better install the Nvidia/ATi/Intel drivers for your graphics card
[/b]
So now it's working. I simply activated the 3d acceleration in yast.
But i'm going to install the intel driver anyway.

Patrick
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2