Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

cant play movies using mplayer [solved]

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
soujirou
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Tue Jun 22, 2004 10:40 pm
Location: sweden

cant play movies using mplayer [solved]

  • Quote

Post by soujirou » Fri Sep 09, 2005 3:14 pm

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.
Last edited by soujirou on Sat Sep 10, 2005 10:53 pm, edited 1 time in total.
ibook 12" G3 800mhz 30gb 384ram
Top
NarGemini
n00b
n00b
Posts: 14
Joined: Thu Apr 14, 2005 10:37 pm

  • Quote

Post by NarGemini » Fri Sep 09, 2005 5:32 pm

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: Select all

usermod -G video
[insert witty Linux-related quote here]
Top
soujirou
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Tue Jun 22, 2004 10:40 pm
Location: sweden

  • Quote

Post by soujirou » Fri Sep 09, 2005 5:44 pm

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


GRRAAA
ibook 12" G3 800mhz 30gb 384ram
Top
soujirou
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Tue Jun 22, 2004 10:40 pm
Location: sweden

  • Quote

Post by soujirou » Sat Sep 10, 2005 9:02 pm

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
Top
arnolde
n00b
n00b
User avatar
Posts: 32
Joined: Thu Dec 29, 2005 12:20 am
Location: Frankfurt, Germany

  • Quote

Post by arnolde » Mon Jan 02, 2006 5:51 pm

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??)
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Tue Jan 03, 2006 11:32 am

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.
Top
arnolde
n00b
n00b
User avatar
Posts: 32
Joined: Thu Dec 29, 2005 12:20 am
Location: Frankfurt, Germany

  • Quote

Post by arnolde » Tue Jan 03, 2006 11:52 am

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
Top
e-ipi
Apprentice
Apprentice
User avatar
Posts: 192
Joined: Tue Aug 23, 2005 9:20 pm

  • Quote

Post by e-ipi » Wed Jan 04, 2006 7:22 pm

I've just now run into a similar problem and I'm curious to know how this was solved, if indeed it has been.
Top
arnolde
n00b
n00b
User avatar
Posts: 32
Joined: Thu Dec 29, 2005 12:20 am
Location: Frankfurt, Germany

  • Quote

Post by arnolde » Wed Jan 04, 2006 8:13 pm

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.
Top
morbus
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Mon May 10, 2004 1:11 pm
Location: Munich

  • Quote

Post by morbus » Thu Jan 05, 2006 6:48 pm

Mmmh, unfortunately I have System V IPC support already enabled.. but thanks anyway
Top
nkichukov
n00b
n00b
Posts: 15
Joined: Tue Oct 16, 2012 1:11 pm
Location: Amstelveen, Netherlands

  • Quote

Post by nkichukov » Tue Jan 06, 2015 11:01 pm

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
Top
Post Reply

11 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic