[MPlayer-dev-eng] [BUG] /dev/mga_vid busy..
D Richard Felker III
dalias at aerifal.cx
Sat Apr 6 11:02:12 CEST 2002
doh, i thought i fixed a bug just like this a few days ago! did
someone break it again? mga and all the vo drivers *need* to be able
to handle multiple calls to config or whatever...!
rich
On Sat, Apr 06, 2002 at 10:03:38AM +0200, Gabucino wrote:
> Multifile is broken with mga_vid, second file won't be played because
> MPlayer exits with
> open: Device or resource busy
> Couldn't open /dev/mga_vid
> error message.
>
>
> MPlayer CVS-020405-18:40-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
>
> CPU vendor name: AuthenticAMD max cpuid level: 1
> CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
> extended cpuid-level: 5
> CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
> Reading /home/gabucino/.mplayer/codecs.conf: 30 audio & 80 video codecs
> Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
> Using Linux's hardware RTC timing (1024Hz)
> Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds
> Playing /mnt/1/hellsing/Hellsing-11.avi
> Can't open IFO file: No such file or directory
> Not an URL!
> CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
> Cache fill: 0.00% (0 bytes) Detected AVI file format!
> list_end=0x2292
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> list_end=0x10F4
> list_end=0x2186
> list_end=0x2292
> list_end=0x22B6
> hdr=Software size=15
> list_end=0xB615096
> VIDEO: [DIV3] 448x336 24bpp 29.97 fps 1015.9 kbps (124.0 kbyte/s)
> [V] filefmt:3 fourcc:0x33564944 size:448x336 fps:29.97 ftime:=0.0334
> Clip info:
> Software: Nandub v1.0rc2
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
> CPU vendor name: AuthenticAMD max cpuid level: 1
> CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
> extended cpuid-level: 5
> mp3lib: made decode tables with MMX optimization
> init layer2&3 finished, tables done
> mp3lib: using 3DNow! optimized decore!
> MPEG 1.0, Layer III, 44100 Hz 96 kbit Stereo, BPF: 313
> Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
> AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 12000->176400
> ==========================================================================
> Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec: CPU flags: mmx 3dnow
> VDec: vo config request - 448 x 336, Planar YV12
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xmga] 448x336 => 448x336 Planar YV12 fs
> vo: X11 running at 800x600 with depth 24 and 32 bits/pixel (":0.0" => local display)
> [xmga] x: 0 y: 0 w: 800 h: 600
> [xmga] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga-fs] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [mga] Using 3 buffers.
> [xmga] x: 0 y: 0 w: 800 h: 600
> [xmga] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga-fs] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4 v3))
> ==========================================================================
> AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
> ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
> audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
> audio_setup: using 2 channels (requested: 2)
> audio_setup: using 44100 Hz samplerate (requested: 44100)
> audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
> Start playing...
> VDec: vo config request - 448 x 336, Planar YV12
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xmga] 448x336 => 448x336 Planar YV12 fs
> [xmga] x: 0 y: 0 w: 800 h: 600
> [xmga] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga-fs] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [mga] Using 3 buffers.
> [xmga] x: 0 y: 0 w: 800 h: 600
> [xmga] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga-fs] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga] x: 0 y: 0 w: 800 h: 600
> [xmga] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> [xmga-fs] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 800 dh: 600
> vo: uninit! 0.6 A-V: 0.028 ct: 0.032 20/ 20 23% 0% 4.8% 0 0 95%
>
> *** free_stream() called ***
> Playing /mnt/1/hellsing/Hellsing-12.avi
> Can't open IFO file: No such file or directory
> Not an URL!
> CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
> Cache fill: 0.00% (0 bytes) Detected AVI file format!
> list_end=0x2292
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> list_end=0x10F4
> list_end=0x2186
> list_end=0x2292
> list_end=0x22B6
> hdr=Software size=15
> list_end=0x4B0EC0C
> VIDEO: [DIV3] 640x480 24bpp 24.00 fps 404.0 kbps (49.3 kbyte/s)
> [V] filefmt:3 fourcc:0x33564944 size:640x480 fps:24.00 ftime:=0.0417
> Clip info:
> Software: Nandub v1.0rc2
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
> CPU vendor name: AuthenticAMD max cpuid level: 1
> CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
> extended cpuid-level: 5
> mp3lib: made decode tables with MMX optimization
> init layer2&3 finished, tables done
> mp3lib: using 3DNow! optimized decore!
> MPEG 2.0, Layer III, 16000 Hz 48 kbit Joint-Stereo, BPF: 216
> Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
> AUDIO: srate=16000 chans=2 bps=2 sfmt=0x10 ratio: 6000->64000
> open: Device or resource busy
> Couldn't open /dev/mga_vid
> Error opening/initializing the selected video_out (-vo) device!
>
> *** free_stream() called ***
>
> --
> Gabucino
More information about the MPlayer-dev-eng
mailing list