Subject: Re: VCD playback working at all on i386 1.6.1?
To: Todd Vierling <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 05/31/2003 05:13:44
On Fri, 30 May 2003, Todd Vierling wrote:

> Has anyone made *any* of the supposedly VCD-capable stuff in graphics/ work
> on NetBSD/i386 1.6.1?


> graphics/[g]mplayer appears to be the most well maintained for this purpose,
> but attempting to use that (via VCD->Open Disc menu item, and /dev/cdrom
> symlinked to /dev/rcd0a) produces the following output:

I get the same thing with "/dev/cdrom" symlinked to "/dev/rcd0a", but
it does work fine when symlinked to "rcd0d"!

I've found that the package is a little too slow for my system
(K6-2/500), so I now track the cvs version directly, and build without
the runtime-detection (and without sdl, and without iconv). I'll send
you my patches, if you like. The syntax changes a little in the
current cvs...

fredb@tautology-> mplayer vcd://2
Using GNU internationalization
Original domain: messages
Current domain: mplayer

MPlayer dev-CVS-030530-02:45-3.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/multimedia/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /u/fredb/.mplayer/config
Reading /u/fredb/.mplayer/codecs.conf: can't open '/u/fredb/.mplayer/codecs.conf': No such file or directory
Reading /usr/multimedia/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
font: can't open file: /u/fredb/.mplayer/font/font.desc
font: can't open file: /usr/multimedia/share/mplayer/font/font.desc
Using usleep() timing
Input config file /u/fredb/.mplayer/input.conf parsed : 53 binds

Playing vcd://2
Unknown protocol 'vcd'
Unable to open URL: vcd://2
track 01:  adr=1  ctrl=6  format=2  00:02:00
track 02:  adr=1  ctrl=6  format=2  00:08:00
track 03:  adr=1  ctrl=6  format=2  36:03:60
scsi command failed: status 3 error 0
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.97 fps  2000.0 kbps (250.0 kbyte/s)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
vo: X11 running at 832x624 with depth 16 and 16 bpp (":0.0" => local display)
Disabling DPMS
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [sun] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 => 640x480 Planar YV12  [fs]

I included the above mainly to show that it's "normal" to get
numerous, bogus errors. Probably, though, all you need to do is
to fix the symlink, or else set "cdrom-device = /dev/rcd0d" in