[MPlayer-users] mencoder unable to encode audio

Herbie Hopkins Herbie at Hopkins.net
Fri Jun 6 00:51:22 CEST 2003


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...
Writing AVI header...
VDec: vo config request - 320 x 240 (preferred csp: Planar 422P)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=58564944 [DIVX])
Pos:   1.5s     22f (31%)   0fps Trem:   0min   0mb  A-V:0.140 [777:0]
Skipping frame!
Pos:   2.1s     32f (46%)   0fps Trem:   0min   0mb  A-V:0.140 [745:0]
Skipping frame!
Pos:   2.7s     42f (58%)   0fps Trem:   0min   0mb  A-V:0.140 [735:0]
Skipping frame!
Pos:   3.3s     52f (76%)   0fps Trem:   0min   0mb  A-V:0.140 [672:0]
Skipping frame!
Pos:   3.9s     62f (89%)   0fps Trem:   0min   0mb  A-V:0.140 [671:0]
Skipping frame!
Pos:   4.5s     72f (100%)   0fps Trem:   0min   0mb  A-V:0.140 [673:0]
Skipping frame!
Pos:   5.1s     82f (100%)   0fps Trem:   0min   0mb  A-V:0.140 [672:0]
Skipping frame!
Pos:   5.7s     92f (100%)   0fps Trem:   0min   0mb  A-V:0.140 [655:0]
Skipping frame!
Pos:   6.2s    101f (100%)   0fps Trem:   0min   0mb  A-V:0.133 [650:0]
Writing AVI index...
Fixing AVI header...

Video stream:  650.354 kbit/s  (81294 bps)  size: 504021 bytes  6.200
secs  101 frames

Audio stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0.000
secs




More information about the MPlayer-users mailing list