Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant play movies using mplayer [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Fri Sep 09, 2005 3:14 pm    Post subject: cant play movies using mplayer [solved] Reply with quote

bah, cant play any movies
:x



mplayer Vandread\ 1st\ Stage\ -\ 01.avi
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Teeam
CPU: PowerPC


85 audio & 196 video codecs
Playing Vandread 1st Stage - 01.avi.
AVI file format detected.
VIDEO: [3VID] 640x360 24bpp 23.976 fps 1306.0 kbps (159.4 kbyte/s)
Clip info:
Software: Nandub v0.29.1
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16be, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
AF_pre: 48000Hz/2ch/s16be
AO: [oss] 44100Hz 2ch s16be (2 bps)
Building audio filter chain for 48000Hz/2ch/s16be -> 44100Hz/2ch/s16be...
Starting playback...
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x360 => 640x360 Planar YV12
X11 error: BadAccess (attempt to access private resource denied)


MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
_________________
ibook 12" G3 800mhz 30gb 384ram


Last edited by soujirou on Sat Sep 10, 2005 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
NarGemini
n00b
n00b


Joined: 14 Apr 2005
Posts: 14

PostPosted: Fri Sep 09, 2005 5:32 pm    Post subject: Reply with quote

Try running the same command again as root. If it works as root, you might need to add yourself to the video group (I'm assuming that this is a permissions problem) with this command:
Code:
usermod -G video

_________________
[insert witty Linux-related quote here]
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Fri Sep 09, 2005 5:44 pm    Post subject: Reply with quote

yes i have tried running as root, and yes im in video group.


GRRAAA
_________________
ibook 12" G3 800mhz 30gb 384ram
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Sat Sep 10, 2005 9:02 pm    Post subject: Reply with quote

mplayer -vo x11=
"Shared memory error,disabling ( seg id error )
X11 error: BadMatch (invalid parameter attributes)"
MPlayer interrupted by signal 11 in module: uninit_vo


is it something about video driver ?

get this error with kmplayer

kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'video/fli'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'video/x-fli'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'video/vnd.vivo'
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
mplayer -wid 18874567 -slave -vo xv -framedrop -vop pp=de -contrast 0 -brightness 0 -hue 0 -saturation 0 '/home/movies/Vandread 1st Stage - 01.avi' -identify
mplayer -wid 18874567 -slave -vo xv -framedrop -vop pp=de -contrast 0 -brightness 0 -hue 0 -saturation 0 '/home/movies/Vandread 1st Stage - 01.avi' -identify
mplayer -wid 18874567 -slave -vo xv -framedrop -vop pp=de -contrast 0 -brightness 0 -hue 0 -saturation 0 '/home/movies/Vandread 1st Stage - 01.avi' -identify





gmplayer =
>_<;gmplayer
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: PowerPC


vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
85 audio & 196 video codecs

Gdk-WARNING **: shmget failed: error 38 (Function not implemented)
[ws] shared memory extension error



xine =
>_<;xine /home/movies/Vandread\ 1st\ Stage\ -\ 01.avi
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 94 (X_CreateGlyphCursor)
Value in failed request: 0x9a
Serial number of failed request: 142
Current serial number in output stream: 162
_________________
ibook 12" G3 800mhz 30gb 384ram
Back to top
View user's profile Send private message
arnolde
n00b
n00b


Joined: 29 Dec 2005
Posts: 32
Location: Frankfurt, Germany

PostPosted: Mon Jan 02, 2006 5:51 pm    Post subject: Reply with quote

I have exactly these same problems with mplayer and xine on my x86 setup (Epia SP8000E, C3-800Mhz, CN400 Unichrome chipset)

Did you ever solve it?

I've been looking all over for days for soltions (or even an explaination of what is happening) of "BadAccess" and "BadValue" problems in X, lotsa people have these problems but noone has written how they happen and how to fix them (for most people, they just go away somehow??)
Back to top
View user's profile Send private message
morbus
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2004
Posts: 139
Location: Munich

PostPosted: Tue Jan 03, 2006 11:32 am    Post subject: Reply with quote

I've got exactly the same problem. I think the problem arose first when I upgraded to xine-lib-1.1, but I'm not sure.
Back to top
View user's profile Send private message
arnolde
n00b
n00b


Joined: 29 Dec 2005
Posts: 32
Location: Frankfurt, Germany

PostPosted: Tue Jan 03, 2006 11:52 am    Post subject: Reply with quote

morbus wrote:
I've got exactly the same problem. I think the problem arose first when I upgraded to xine-lib-1.1, but I'm not sure.


Well please please tell us here when you've solved it... I'll do the same... This thing has cost me about 50 hours already.
_________________
Gentoo Linux: Via Epia SP8000E, C3 800Mhz, 256MB, Unichrome Pro CN400 graphics
until now spent [76] hours working on mpeg2 hardware acceleration without success
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Wed Jan 04, 2006 7:22 pm    Post subject: Reply with quote

I've just now run into a similar problem and I'm curious to know how this was solved, if indeed it has been.
Back to top
View user's profile Send private message
arnolde
n00b
n00b


Joined: 29 Dec 2005
Posts: 32
Location: Frankfurt, Germany

PostPosted: Wed Jan 04, 2006 8:13 pm    Post subject: Reply with quote

I solved my problem (I was getting "BadAccess" and "BadValue" errors when running mplayer or xine with -vo xm or -vo xmvc parametrers, it did work with -vo x11.

The problem was, xv (and xvmc/xxmc) need "System V IPC Support" configured in the kernel. I had deactivated this because the kernel help text on it sounded to me like it wanst very commonly used. As soon as I turned it back on, it started working, at least most of the time.

I still get similar errors (X11: BadValue , invalid window parameter, or something like that) when I specify -fs though (fullscreen in mplayer), havent solved that yet.
Back to top
View user's profile Send private message
morbus
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2004
Posts: 139
Location: Munich

PostPosted: Thu Jan 05, 2006 6:48 pm    Post subject: Reply with quote

Mmmh, unfortunately I have System V IPC support already enabled.. but thanks anyway
Back to top
View user's profile Send private message
nkichukov
n00b
n00b


Joined: 16 Oct 2012
Posts: 14
Location: Amstelveen, Netherlands

PostPosted: Tue Jan 06, 2015 11:01 pm    Post subject: Reply with quote

To wake up an old thread, I had the same issue as arnolde, I had removed the System V IPC support from my kernel. I have reenabled the option now and everything is back to normal.

arnolde thank you very much for sharing.

Regards,
-Nikolay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum