VCD no go with MPlayer.



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:

$ mplayer
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.
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv> select video output driver ('-vo help' for a list)
-ao <drv> select audio output driver ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <position> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
down or up seek backward/forward 1 minute
pgdown or pgup seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
x or z adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

$ sox xstream.wav xstream.ogg
bash: sox: command not found
$ mplayer sox xstream.wav xstream.ogg
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 sox.
File not found: 'sox'
Failed to open sox.


Playing xstream.wav.
File not found: 'xstream.wav'
Failed to open xstream.wav.


Playing xstream.ogg.
File not found: 'xstream.ogg'
Failed to open xstream.ogg.


Exiting... (End of file)
$ mplayer sox xstream.wav xstream.ogg
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 sox.
File not found: 'sox'
Failed to open sox.


Playing xstream.wav.
File not found: 'xstream.wav'
Failed to open xstream.wav.


Playing xstream.ogg.
File not found: 'xstream.ogg'
Failed to open xstream.ogg.


Exiting... (End of file)
$ 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'

Among other things, there seems to be a problem with video output
being set up correctly. Any ideas?

Cheers,

Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: VCD no go with MPlayer.
    ... what are you trying to accomplish with sox? ... MPlayer configured... ... No sound, ... In GUI I get the following: ...
    (Debian-User)
  • Re: 5 second delay
    ... Copy file from local PC to foreign PC. ... Then start mplayer, or xine, to play back via sound card 1: ... Or use sox. ...
    (sci.electronics.design)
  • Re: Merging wav files?
    ... In article <slrnfeud5j.5jv.andrew@xxxxxxxxxxxxx>, andrew wrote: ... sox does not deal with files of this size and mplayer ... seems to lack the ability to do this. ... I would have thought mplayer would handle this just fine. ...
    (comp.os.linux.misc)
  • Re: Merging wav files?
    ... In article <slrnfeud5j.5jv.andrew@xxxxxxxxxxxxx>, andrew wrote: ... sox does not deal with files of this size and mplayer ... seems to lack the ability to do this. ... I would have thought mplayer would handle this just fine. ...
    (comp.os.linux.misc)
  • Re: msdosfs or ehci corruption?
    ... I ran into an odd situation with msdosfs as well within the last ... While playing tunes from an msdosfs, ... Mplayer indicates it's playing one song, ... My last kernel, dated Feb 14, didn't exhibit this behavior. ...
    (freebsd-current)