BSDForen.de  

Zurück   BSDForen.de > FreeBSD > FreeBSD - Anwendungen und Ports

Antwort
 
Themen-Optionen Thema bewerten Ansicht
Alt 20.02.2008, 17:09   #1
fussel
Novize
 
Registrierungsdatum: Feb 2008
Ort: Osnabrück
Beiträge: 8
x11 error bei xv Ausgabe des mplayers

Hallo,

ich habe folgendes Problem:
Wenn ich das ausfuehre:

Code:
mplayer -vo xv 01.avi
gibt der mplayer mit folgender Fehlermeldung auf:

X11 error: BadAccess (attempt to access private resource denied)

Folgende Aufrufe gehen aber:

Code:
mplayer -vo sdl:forcexv 01.avi
(das gleiche Video)
Code:
mplayer -vo xv 02.flv
(ist so ein mpeg-Flash-Video von Youtube)

Der verwendete mplayer ist dieser hier:
MPlayer 1.0rc2-3.4.6

der gleiche Fehler taucht aber auch bei MPlayer 1.0rc1-3.4.4 auf.

ich nutze den Xorg X Server in Version 1.4.0 mit dem RADEON-Treiber für eine Radeon 9000
(müsste R200 sein).

Wie komme ich raus woran der mplayer scheitert?
Was sagt z.B diese Fehlermeldung:

Zitat:
X11 error: BadAccess (attempt to access private resource denied)
Type: 0, display: 0x8830000, resourceid: 2600006, serial: 5c
Error code: a, request code: 92, minor code: 1
aus?

Danke fuer Hinweise
Gruß fussel

PS: nochmal die vollständige Ausgabe des mplayer:
Code:
mplayer -v -vo xv 01.avi MPlayer 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team CPU: AMD Athlon(tm) XP 2200+ (Family: 6, Model: 8, Stepping: 0) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE get_path('codecs.conf') -> '/home/lars/.mplayer/codecs.conf' Reading /home/lars/.mplayer/codecs.conf: Can't open '/home/lars/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --enable-png --enable-menu --disable-faad-external --disable-vidix-external --disable-tv-v4l1 --disable-tv-v4l2 --disable-dvdnav --disable-dvdread --disable-ssse3 --disable-faac --disable-twolame --disable-mencoder --disable-inet6 --disable-gif --enable-mad --with-madlibdir=/usr/local/lib --disable-libdv --disable-tremor-internal --disable-tremor-external --disable-musepack --disable-libdca --disable-speex --enable-xanim --with-xanimlibdir=/usr/local/lib/X11/xanim --disable-xmms --disable-jack --disable-nas --disable-openal --disable-smb --enable-fribidi --disable-libcdio --disable-ladspa --win32codecsdir=/usr/local/lib/win32 --enable-real --realcodecsdir=/usr/local/lib/RealPlayer/codecs --disable-vidix-internal --with-extraincdir=/usr/local/include/freetype2 --enable-freetype --enable-rtc --disable-arts --disable-caca --disable-lirc --disable-svga --disable-esd --disable-joystick --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local! --mandir=/usr/local/man i386-portbld-freebsd6.2 CommandLine: '-v' '-vo' 'xv' '01.avi' init_freetype get_path('font/font.desc') -> '/home/lars/.mplayer/font/font.desc' font: can't open file: /home/lars/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/lars/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/lars/.mplayer/input.conf' Can't open input config file /home/lars/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('01.avi.conf') -> '/home/lars/.mplayer/01.avi.conf' Playing 01.avi. get_path('sub/') -> '/home/lars/.mplayer/sub/' [file] File size is 51602338 bytes STREAM: [file] 01.avi STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: avi format AVI file format detected. list_end=0x146 ======= AVI Header ======= us/frame: 40000 (fps=25.000) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 11002 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 720 x 576 ========================== list_end=0xD4 ==> Found video stream: 0 [aviheader] Video stream found, -vid 0 ====== STREAM Header ===== Type: vids FCC: XVID (44495658) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 25000000/1000000 = 25.000 Start: 0 Len: 11002 Suggested BufferSize: 36961 Quality 0 Sample size: 0 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 576 biPlanes 1 biBitCount 24 biCompression 1145656920='XVID' biSizeImage 1244160 =========================== Regenerating keyframe table for MPEG-4 video. list_end=0x146 ==> Found audio stream: 1 [aviheader] Audio stream found, -aid 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 16000/1 = 16000.000 Start: 0 Len: 7040526 Suggested BufferSize: 0 Quality -1 Sample size: 1 ========================== Found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 48000 avg byte/sec: 16000 Block align: 1 bits/sample: 16 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=1152 mp3.nFramesPerBlock=1 mp3.nCodecDelay=0 ========================================================================== list_end=0x16A hdr=Software size=16 Software : transcode-1.0.3 list_end=0x30E045A Found movie at 0x800 - 0x30E045A Reading INDEX block, 22004 chunks for 11002 frames (fpos=51250274). AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0x19B4) Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 AVI: Searching for audio stream (id:1) XXX initial v_pts=0.000 a_pos=0 (0.000) AVI video size=44022676 (11002) audio size=7040526 (7040526) VIDEO: [XVID] 720x576 24bpp 25.000 fps 800.3 kbps (97.7 kbyte/s) [V] filefmt:3 fourcc:0x44495658 size:720x576 fps:25.00 ftime:=0.0400 Clip info: Software: transcode-1.0.3 get_path('sub/') -> '/home/lars/.mplayer/sub/' X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Detected wm supports STAYS_ON_TOP state. [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms [xv common] Drawing colorkey manually. [xv common] Using colorkey from Xv (0x00001e). [xv common] Maximum source image dimensions: 2048x2048 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using 3DNow!Ex optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le ao2: 48000 Hz 2 chans s16le audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device audio_setup: sample format: s16le (requested: s16le) audio_setup: using 2 channels (requested: 2) audio_setup: using 48000 Hz samplerate (requested: 48000) audio_setup: frags: 32/32 (4096 bytes/frag) free: 131072 AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Starting playback... Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. You may try recompiling using gcc >= 4.2. Do not report crashes to FFmpeg developers. [ffmpeg] aspect_ratio: 1.250000 VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.25:1 - prescaling to correct movie aspect. VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659) VO: [xv] 720x576 => 720x576 Planar YV12 VO: Description: X11/Xv VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others Xvideo image format: 0x41424752 (RGBA) packed Xvideo image format: 0x0 ( ) packed Xvideo image format: 0x54424752 (RGBT) packed Xvideo image format: 0x32424752 (RGB2) packed Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar using Xvideo port 73 for hw scaling X11 error: BadAccess (attempt to access private resource denied) Type: 0, display: 0x8830000, resourceid: 2600006, serial: 5c Error code: a, request code: 92, minor code: 1 MPlayer interrupted by signal 11 in module: decode_video - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - 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. Uninit audio filters... [libaf] Removing filter dummy Uninit audio: mp3lib Uninit video: ffmpeg vo: uninit ...
fussel ist offline   Mit Zitat antworten
Alt 20.02.2008, 18:05   #2
Fusselbär
Makefile Voyeur
 
Benutzerbild von Fusselbär
 
Registrierungsdatum: Aug 2004
Ort: Köln
Beiträge: 1.615
Hallo fussel,

hast Du den auch Codecs installiert?
Bei mir rennt mplayer problemlos,
meine Hardware ist aber eine andere, ich habe eine Nvidia Grafikkarte
mit nvidia-driver installiert.

An Codecs habe ich diese hier installiert:
Code:
pkg_info | grep codec avifile-0.7.43_5,2 AVI player/converter with numerous codecs, including MPEG-4 dirac-0.7.0 Open source video codec from the BBC flac-1.1.2_2 Free lossless audio codec ilbc-r3951 Internet Low Bit Rate codec (RFC3951) jasper-1.900.1_6 An implementation of the codec specified in the JPEG-2000 s laudio-0.4 A free lossless audio codec libdv-0.104_4 Quasar DV codec (libdv): software codec for DV video encodi libtheora-1.0.a8 Theora video codec for the Ogg multimedia streaming system libvorbis-1.2.0_1,3 Audio compression codec library linux-libtheora-1.0.a4.2 Video codec linux-libvorbis-1.1.0.2 Audio compression codec library (Linux version) lpac-1.40 Lossless audio codec mac-3.99.4.5 Monkey's Audio lossless codec mpeg2codec-1.2_3 An MPEG-2 Encoder and Decoder optimfrog-4.520.b1 Lossless audio codec speex-1.2.b2,1 An open-source patent-free voice codec win32-codecs-3.1.0.r1,1 Huge compilation of Win32 binary video codecs xvid-1.1.3,1 An opensource MPEG-4 codec, based on OpenDivx
Beim mplayer lassen sich Optionen einstellen,
einfach:
Code:
cd /usr/ports/multimedia/mplayer
und folgendes aufrufen:
Code:
make config
dann gibt es ein Menü:
Zitat:
Options for mplayer 0.99.11_1
│ ┌───────────────────────────────────────────────── ───────────────┐
│ │[ ] DEBUG Include debug symbols in mplayer's binary files
│ │[X] RTCPU Let mplayer dynamically check for CPU features
│ │[X] OCFLAGS Use optimized compiler flags
│ │[X] SIMD Allow mplayer to use vector engines (MMX...)
│ │[X] IPV6 Include inet6 network support
│ │[X] X11 Enable X11 support for mplayer's video output
│ │[X] GUI Enable GTK2 graphical user interface with X11
│ │[X] SDL Enable SDL video output
│ │[X] VIDIX Enable VIDIX video output on supported archs
│ │[X] NVIDIA Enable experimental nvidia xvmc driver
│ │[X] SKINS Force dependency on mplayer-skins
│ │[X] FREETYPE Use freetype for OSD fonts (TrueType!)
│ │[X] RTC Add support for kernel real time clock timing
│ │[X] ARTS Enable KDE sound system support
│ │[ ] ESOUND Enable GNOME esound support
Das ist sind bei mir die für meine Kiste passenden Optionen.
Nicht irritieren lassen,
das Distfile von der MPLAYER_PORT_VERSION= 0.99.11,
(mit PORTREVISION dann: 0.99.11_1)
also die Sourcen
aus denen der gebaut wird, ist der MPlayer-1.0rc2:
Code:
cat Makefile.shared | grep DISTNAME DISTNAME= MPlayer-1.0rc2
Das FreeBSD Handbuch ist auch immer wieder eine Empfehlung wert:
http://www.freebsd.org/doc/de/books/...-playback.html


Gruß, Fusselbär
__________________
BSD Zockerclub
FreeBSD 9.1-STABLE amd64
Fusselbär ist offline   Mit Zitat antworten
Alt 20.02.2008, 20:10   #3
fussel
Novize
 
Registrierungsdatum: Feb 2008
Ort: Osnabrück
Beiträge: 8
Hallo,
vielen Dank für den Link:
http://www.freebsd.org/doc/de/books/...-playback.html

Zitat:
X11 benutzt Shared-Memory und Sie sollten die nachstehenden sysctl(8)-Variablen auf die gezeigten Werte erhöhen:
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
Das behebt das Problem.

Geändert von fussel (20.02.2008 um 20:19 Uhr).
fussel ist offline   Mit Zitat antworten
Antwort


Dieses Thema betrachten zurzeit 1 Personen. (0 registrierte Benutzer und 1 Gäste)
 
Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist An.
Smileys sind An
[IMG] Code ist An
HTML-Code ist Aus
Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
Hebt es ab oder nicht? asg Geplauder 371 25.12.2006 10:55
FreeBSD Samba PDC Howto Highfish Howtos 103 25.09.2006 21:14
Die Geschichte von BSD (bzw. UNIX) asg News 31 11.05.2006 20:20
nvidia-treiber + x11 (+gnome) unter freebsd 5.1 Wasp FreeBSD - Installation 10 30.12.2003 17:05


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:28 Uhr.


Powered by vBulletin (Deutsch)
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.