LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 11-24-2009, 05:57 PM   #1
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Exclamation Mplayer video not intiating, it is giving fatal error


I am using openSuSE 11.0, KDE 3.5.

My Mplayer is showing the fatal error. It is playing only audio of that movie file. video is stopped by showing error messages.

two error messages coming. I had uploaded snapshot images of that error message windows.
Attached Images
File Type: jpg mplayer error1.jpg (8.4 KB, 7 views)
File Type: jpg mplayer error2.jpg (10.7 KB, 3 views)
 
Old 11-24-2009, 07:56 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,506

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Does this happen just for one video? It looks like it couldn't find the needed video codec. Try to launch mplayer from a terminal: it should be more explicit in the error message:
Code:
mplayer -identify name_of_video_file
if this is not enough to retrieve a good indication of the problem, try to add the -v option.
 
Old 11-25-2009, 08:18 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Original Poster
Rep: Reputation: 92
I had launched mplayer from terminal, then i had got the following error.

Quote:
raju@linux-snzv:/windows/D/videos/cricket> mplayer -identify cricket.wmv
MPlayer dev-SVN-r29796-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2009 MPlayer TeamCan'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 cricket.wmv.
ASF file format detected.
ID_AUDIO_ID=1
[asfheader] Audio stream found, -aid 1
ID_VIDEO_ID=2
[asfheader] Video stream found, -vid 2
VIDEO: [WMV1] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
title:
ID_CLIP_INFO_NAME0=title
ID_CLIP_INFO_VALUE0=
author:
ID_CLIP_INFO_NAME1=author
ID_CLIP_INFO_VALUE1=
copyright:
ID_CLIP_INFO_NAME2=copyright
ID_CLIP_INFO_VALUE2=
comments:
ID_CLIP_INFO_NAME3=comments
ID_CLIP_INFO_VALUE3=
ID_CLIP_INFO_N=4
ID_FILENAME=cricket.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=57.00
ID_SEEKABLE=1
ID_CHAPTERS=0
[vdpau] Could not open dynamic library libvdpau.so.1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv1] vfm: ffmpeg (FFmpeg WMV1/WMV7)
==========================================================================
ID_VIDEO_CODEC=ffwmv1
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 80.0 kbit/5.67% (ratio: 10003->176400)
ID_AUDIO_BITRATE=80024
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffwmav2
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)?,?% 1 0
The above "X11 error" is continued till the mplayer is closed.
I had tried for every type of file i.e. avi,wmv,vob,flv. ... etc.
 
Old 11-25-2009, 10:08 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,506

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
I see two errors in the mplayer output, the first being:
Code:
[vdpau] Could not open dynamic library libvdpau.so.1
On my system - mounting a NVIDIA video card - the shared library libvdpau.so.1 is provided by the NVIDIA proprietary driver I had installed. However there is a package named libvdpau1 provided by the Packman repository, which should suit your needs. Try to install it and re-run mplayer again.

Regarding the "BadAlloc (insufficient resources for operation)" error this can be due to the missing library above and/or to a badly configured video driver and/or (simply) to insufficient memory of your video card.

You can try to skip this problem, by specifying a video output driver different from the default (don't confuse video output driver with your video card driver: I'm taking about a facility of mplayer here). You can see a list of the available video output drivers by issuing the following command (without any stream file as argument):
Code:
mplayer -vo help
then pick up one of them and re-run the mplayer command using the -vo option with the name of the chosen driver. For example a good start should be:
Code:
mplayer -vo x11 cricket.wmv
See section "VIDEO OUTPUT DRIVERS (MPLAYER ONLY)" in man mplayer for more detailed information about the available video output drivers. Feel free to post the terminal output again, until you solve the problem. Some detailed info about your video card and its driver should be useful, too. Cheers!
 
Old 11-25-2009, 05:10 PM   #5
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Original Poster
Rep: Reputation: 92
Smile

you are correct Mr.Colucix. That library was missed, after installing that library videos are playing nicely.
Now I was able to play videos using Mplayer.

If i run through terminal, then it is playing, otherwise the error messages displayed in first message is coming again. May be i have to configure Mplayer using GUI options. I'll check it.

Thank you for the help.
My classmates uses windows. I had distributed openSUSE to most of my classmates. Previously if they want to play videos, they used to go Windows. Now i'll configure all of my friends systems. so that they can watch video here itself.

Quote:
I like openSource products.
 
Old 11-27-2009, 04:05 PM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,506

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Hi Raju, you're welcome!
Quote:
Originally Posted by raju.mopidevi View Post
My classmates uses windows. I had distributed openSUSE to most of my classmates. Previously if they want to play videos, they used to go Windows. Now i'll configure all of my friends systems. so that they can watch video here itself.
Really nice! Your efforts are a little but great step toward a better world. Keep it up!
 
  


Reply

Tags
mplayer, playing, video


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
startx giving fatal error. Not able to see gui login page nitch Linux - General 3 02-27-2008 11:59 AM
Mplayer fatal Error sukhen Linux - Software 1 02-24-2006 01:51 PM
Mplayer Fatal Error waelaltaqi Linux - Software 3 10-14-2005 07:42 PM
MPlayer Fatal Error! Kristijan Linux - Software 3 01-14-2004 01:59 AM
MPlayer Fatal Error perrymans Linux - General 5 09-08-2003 09:57 PM


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