[MPlayer-users] Problem with sound in .mov

koenig koenig at mindless.com
Mon Apr 5 03:18:29 CEST 2004


Hi,

I have a problem with sound in .mov-files from my digital camera.
I just hear noise.
Sound format should be 7875Hz,16bit,mono (pcm i think) and is well detected by 
mplayer, but it won't play it correctly. Other files work great.

If anyone can/wants to help, please send me an e-mail, i have a small sample 
available (~1.6 MB), but don't want to overload this mailing list.

greetings,
io

Output of mplayer -v is:

MPlayer 1.0pre3-3.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Duron Spitfire 701.1 MHz (Family: 6, Stepping: 1)
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 /etc/mplayer/mplayer.conf
Reading config file /home/user/.mplayer/config
Reading /home/user/.mplayer/codecs.conf: Can't open 
'/home/user/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
CommandLine: '-v' 'pict0162.mov'
init_freetype
get_path('font/font.desc') -> '/home/user/.mplayer/font/font.desc'
font: can't open file: /home/user/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or 
/dev/rtc should be readable by the user.
)
Using usleep() timing
get_path('input.conf') -> '/home/user/.mplayer/input.conf'
Can't open input config file /home/user/.mplayer/input.conf: No such file or 
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
get_path('pict0162.mov.conf') -> '/home/user/.mplayer/pict0162.mov.conf'

Playing pict0162.mov.
[file] File size is 1259176 bytes
STREAM: [file] pict0162.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 15,01% (1259176 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x87f9038
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x87f9038
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x87f9038
Checking for REAL
DEMUXER: freeing demuxer at 0x87f9038
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x87f9038
DEMUXER: freeing demuxer at 0x87f98a0
DEMUXER: freeing demuxer at 0x87f98a0
Searching demuxer type for filename pict0162.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie DATA found!
MOV: Movie header found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=7560
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=7560 lay=0 vol=0
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (mino)
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (mino)
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: jpeg  (70 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=189 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (13 chunks)
MOV track #0: 13 chunks, 189 samples
pts=7560  scale=600  time=12,600
==> Found video stream: 0
Image size: 160 x 120 (24 bpp)
Display size: 160 x 120
Fourcc: jpeg  Codec: 'Photo - JPEG'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=7560 lay=0 vol=256
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (mino)
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (mino)
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: raw   (20 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=99225 ss=1) (ver:0,flags:0)
MOV:     Chunk offset table! (13 chunks)
MOV track #1: 13 chunks, 0 samples
pts=99225  scale=7875  time=12,600
==> Found audio stream: 1
Audio bits: 16  chans: 1  rate: 7875
Fourcc: raw
--------------
Quicktime Clip Info:
 Format: Digital Camera
 Info: KONICA MINOLTA DIGITAL CAMERA
MOV: longest streams: A: #1 (13 samples)  V: #0 (189 samples)
[V] filefmt:7  fourcc:0x6765706A  size:160x120  fps:15,00  ftime:=0,0667
get_path('sub/') -> '/home/user/.mplayer/sub/'
get_path('default.sub') -> '/home/user/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 7875 Hz, 1 ch, 16 bit (0x10), ratio: 15750->15750 (126,0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Checking audio filter chain for 7875Hz/1ch/16bit -> 7875Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=7875Hz, nch = 1, format = 0x00000001 and bps = 
2
AF_pre: af format: 2 bps, 1 ch, 7875 hz, little endian signed int
AF_pre: 7875Hz 1ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 7875 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: compiled for ALSA-0.9.0rc2
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=65536
alsa9: 7875 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 7875Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 7875Hz/1ch/16bit -> 7875Hz/2ch/16bit...
[dummy] Was reinitialized, rate=7875Hz, nch = 1, format = 0x00000001 and bps = 
2
[libaf] Adding filter channels
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=7875Hz, nch = 1, format = 0x00000001 and bps = 
2
Starting playback...
alsa-space: free space = 65536, status=142793200, prepared --
[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
[ffmpeg] aspect_ratio: 0,000000
VDec: vo config request - 160 x 120 (preferred csp: Planar 422P)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VO Config (160x120->160x120,flags=1,'MPlayer',0x50323234)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 160x120 -> 160x120
REQ: flags=0x437  req=0x0
VO: [xv] 160x120 => 160x120 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_STAYS_ON_TOP.
using Xvideo port 87 for hw scaling
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 1024
[xv] dx: 0 dy: 0 dw: 1280 dh: 1024
*** [scale] Allocating mp_image_t, 160x128x16bpp YUV planar, 40960 bytes
*** [vo] Allocating mp_image_t, 160x120x12bpp YUV planar, 28800 bytes
[xv] dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 1024
*** [scale] Allocating mp_image_t, 160x128x16bpp YUV planar, 40960 bytes
[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_STAYS_ON_TOP.
[xv] dx: 0 dy: 0 dw: 160 dh: 128
Uninit audio filters...-0,005 ct:  0,003   53/ 53   9%  2%  1,4% 2 0 10%
[libaf] Removing filter dummy
[libaf] Removing filter channels
uninit audio: pcm
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x87f98a0
DEMUXER: freeing sh_video at 0x87c7220
DEMUXER: freeing sh_audio at 0x87c6530
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...





More information about the MPlayer-users mailing list