[MPlayer-users] mencoder unable to encode audio
D Richard Felker III
dalias at aerifal.cx
Fri Jun 6 02:44:24 CEST 2003
On Thu, Jun 05, 2003 at 11:51:22PM +0100, Herbie Hopkins wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi I have a troublesome file that plays fine in mplayer but I am unable
> to encode with mencoder. The video encodes without error but I cannot
> encode the audio (from uncompressed pcm into mp3). Below is the output
> of mencoder. (note: that I get the same output with the latest cvs). I
> have also uploaded the file to:
> ftp://mplayerhq.hu/MPlayer/incoming/canon-camera-test.avi
> Note that if I dump the audio with mplayer -ao pcm I can the encode
> using lame on the command line without error.
>
>
> MEncoder 0.90-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
>
> CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
> Multiprocessor/Athlon XP eXtreme Performance ( 6, Stepping: 2)
> Detected cache-line size is 64 bytes
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Reading /home/herbie/.mplayer/codecs.conf: can't open
> '/home/herbie/.mplayer/codecs.conf': No such file o tory
> Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
> File not found: 'frameno.avi'
> Reading config file /home/herbie/.mplayer/mencoder: No such file or
> directory
> success: format: 0 data: 0x0 - 0x11AD30
> AVI file format detected.
> Demuxer info Digitization Time already present!
> VIDEO: [MJPG] 320x240 24bpp 15.00 fps 1282.7 kbps (156.6 kbyte/s)
> [V] filefmt:3 fourcc:0x47504A4D size:320x240 fps:15.00 ftime:=0.0667
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 11024 Hz, 1 ch, 8 bit (0x8), ratio: 11024->11024 (88.2 kbit)
> Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
> ==========================================================================
> Opening video filter: [expand=-1:-1:-1:-1:1]
> Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
> ==========================================================================
> MP3 audio selected
> Building audio filter chain for 11024Hz/1ch/8bit -> 11024Hz/1ch/16bit...
^^^^^^^^^^^^^^^^
11024 hz is not a valid samplerate in mp3 audio. Try using -srate to
convert to a different samplerate. 11025 might work; if not, increase
to 16000.
Rich
More information about the MPlayer-users
mailing list