[MPlayer-users] RE: cygwin mplayer -dumpstream = no audio?

Jeff Schiller jeff_schiller at hotmail.com
Tue Nov 30 07:52:38 CET 2004


>Hello,
>
>I'm using the cygwin version of mplayer 
>(MPlayer-mingw32-dev-CVS-041104.zip) in Windows 2000.  When I play a DVD 
>chapter like so:
>
>./mplayer.exe dvd://3 -chapter 10-10
>
>I get the video and audio in an mplayer window and everything looks great.
>
>However, when I try to dump it:
>
>./mplayer.exe dvd://3 -chapter 10-10 -dumpstream -dumpfile test.mpg
>
>When I play test.mpg in a media player, I only get the video, not the 
>audio.
>
>Does anyone have any clue what might be going on here?
>
>Thanks,
>Jeff


More info on this.  The audio is not missing when played in mplayer but not 
usre why:

- playing the MPG file in Windows Media Player is missing the video
- playing the MPG file in mplayer (i.e. mplayer.exe test.mpg) does produce 
audio.  Here is the output of the play command of this MPG file:

$ mplayer.exe test.mpg
MPlayer dev-CVS-041023-09:31-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, 
Stepping
: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directo
ry
Reading config file C:\cygwin\home\schiller/mplayer/config
Reading C:\cygwin\home\schiller/mplayer/codecs.conf: Can't open 
'C:\cygwin\home\
schiller/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: C:\cygwin\home\schiller/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Windows native timing
Can't open input config file C:\cygwin\home\schiller/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

Playing test.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: 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.
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))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [dsound] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 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: [directx] 720x480 => 720x540 Planar YV12
A:3589.3 V:   0.0 A-V:3589.234 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
A:3589.3 V:   0.1 A-V:3589.196 ct:  0.003   2/  2 ??% ??% ??,?% 0 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:3589.3 V:   0.1 A-V:3589.210 ct:  0.007   3/  3 ??% ??% ??,?% 0 0
A:3589.3 V:3589.4 A-V: -0.026 ct:  0.004   4/  4 ??% ??% ??,?% 0 0





More information about the MPlayer-users mailing list