[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VCD no go with MPlayer.



Hi again Sven,

On 12/14/06, Sven Arvidsson <sa@whiz.se> wrote:
On Thu, 2006-12-14 at 17:58 +0100, Brian Durant wrote:
> I still have issues with playing video on Debian Etch i386. I'll try
> to take this piecemeal and see if I can get the individual problems
> sorted out. When I try to run MPlayer from the command line, I get a
> number of various errors. I have tried to follow (among other things)
> Debian Help http://www.debianhelp.co.uk/mplayer.htm It seems that
> there are either some libs missing in Etch or MPlayer is in
> transition??? Here is what I get when I try to follow the Debian Help
> advice - but without building MPlayer from scratch:

[snip]

> $ mplayer vcd://<1>
> bash: syntax error near unexpected token `1'
> $ mplayer vcd://
> MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (Family: 15, Model: 2, Stepping: 9)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> Playing vcd://.
> track 01:  adr=1  ctrl=4  format=2  00:02:00  mode: 3
> track 02:  adr=1  ctrl=4  format=2  00:27:00  mode: 3
> track 03:  adr=1  ctrl=4  format=2  00:44:49  mode: 3
> track 04:  adr=1  ctrl=4  format=2  00:53:56  mode: 3
> track 05:  adr=1  ctrl=4  format=2  01:04:13  mode: 3
> track 06:  adr=1  ctrl=4  format=2  01:32:54  mode: 3
> MPEG-PS file format detected.
> VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  1151.6 kbps (144.0 kbyte/s)
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 352 x 288 (preferred colorspace: Mpeg PES)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> alsa-lib: pcm_hw.c:1248:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p
> failed: Device or resource busy
> alsa-lib: pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
> alsa-init: playback open error: Device or resource busy
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Starting playback...
> VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.30:1 - prescaling to correct movie aspect.
> VO: [xv] 352x288 => 376x288 Planar YV12
> V:   7.3 134/134  2%  0%  0.0% 0 0
>
> Exiting... (End of file)
> $  mplayer vcd://<track 03>
> bash: syntax error near unexpected token `newline'
> $ mplayer vcd://<track 02>
> bash: syntax error near unexpected token `newline'

I don't really understand what it is you're trying to do and what goes
wrong? For example, what are you trying to accomplish with sox?

I am a newbie... I just follow the instructions :-) I hope I didn't do
anything wrong.

Anyway,

This is wrong,
 mplayer vcd://<track 03>

It should be,
 mplayer vcd://3

How is mplayer set up on your system, what video output and audio
outputs are selected? Have you done any configuration yourself?

MPlayer is setup the way it came when I got the package (plus libs)
with Synaptic. Unless there was something in the above that you would
call configuration...

The above output seems to indicate that MPlayer tries to use MGA and
then framebuffer for video output, and fails, audio output, with alsa,
also seems to fail.

I would first try this,
 mplayer -vo xv,x11 vcd://3
and see if I get any visible video, and later worry about sound.

Wow, I've got video. No sound, but hey it's a start. I can't get video
with the GUI, however. In GUI I get the following:

"Error opening/initializing the selected video_out (-vo) device."

--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Cheers,

Brian



Reply to: