[MPlayer-users] reencoding avis from digital photocameras

Alexei Khlebnikov a.khlebnikau at sam-solutions.net
Mon Mar 1 14:35:51 CET 2004


On Mon, 1 Mar 2004 06:21:01 -0500
"Matthew W. Miller" <mwmiller at columbus.rr.com> wrote:

MWM> On Mon, Mar 01, 2004 at 09:39:11PM +1300, anton wrote:
MWM> >Opening audio decoder: [pcm] Uncompressed PCM audio decoder
MWM> >AUDIO: 11024 Hz, 1 ch, 8 bit (0x8), ratio: 11024->11024 (88.2 kbit)
MWM> >Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
MWM> 
MWM> That's not MPEG audio, that's PCM (basically same as uncompressed WAVE).
MWM> What's more, 11024 samples/sec isn't a rate that mp3lame can work with. 
MWM> Please read the mplayer manual page on '-srate' to resample the audio as
MWM> it comes in and look at 'lame -?' for what samplerate/compressed
MWM> bitrates are available.

I experience the same problems as anton with digital photocamera's short movies.
Thanks for the solution. Using "-srate 11025" does help.

But -audiodump still does not work. Instead, mplayer dumps core. :))
Sample files produced by digital cameras can be found here:
http://lynxer.at.tut.by/canon_powershot_a60.short_movie.avi (374K)
http://lynxer.at.tut.by/canon_powershot_a70.short_movie.avi (891K)

Sample mplayer output:
$ mplayer -dumpaudio canon_powershot_a70.short_movie.avi 
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 1801 MHz (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/khlebnikov/.mplayer/config
Reading /home/khlebnikov/.mplayer/codecs.conf: Can't open '/home/khlebnikov/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 157 video codecs
font: can't open file: /home/khlebnikov/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/khlebnikov/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 52 binds

Playing canon_powershot_a70.short_movie.avi.
AVI file format detected.
Demuxer info Digitization Time already present!
VIDEO:  [MJPG]  640x480  24bpp  15.000 fps  7183.6 kbps (876.9 kbyte/s)
Core dumped ;)

Exiting... (End of file)




More information about the MPlayer-users mailing list