[FFmpeg-devel] input buffer too small

Fred Leeflang fredl
Fri Oct 2 23:30:32 CEST 2009


This message got in the moderator queue because I'm not subscribed.
I uploaded piece.wmv in the upload area and looked at it later on with
'twnqx' from IRC/Freenode. First recompiled with xtra logline:

        av_log (s->avctx, AV_LOG_ERROR, "input buffer too small (len: %d
buflen: %d)\n",len,buflen);

Result:
[wmapro @ 0x2df4890]input buffer too small (len: 218034 buflen: 27256)

Recompiled with MAX_FRAMESIZE 32768. Movie plays with this setting
but audio is not working properly it seems. 6 channel asf does not get
demuxed properly into two channels.

fredl at omega:/usr/src/mplayer$ ./mplayer -ao alsa -demuxer lavf piece.wmv

libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Video stream found, -vid 1
VIDEO:  [WVC1]  1920x800  24bpp  23.976 fps  8155.0 kbps (995.5 kbyte/s)
Clip info:
 WMFSDKVersion: 11.0.5721.5145
 WMFSDKNeeded: 0.0.0.0000
 IsVBR: 1
 ASFLeakyBucketPairs:
 VBR Peak: 17344516
 Buffer Average: 341182
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 640.0 kbit/6.94% (ratio: 80001->1152000)
Selected audio codec: [ffwmapro] afm: ffmpeg (WMA Pro audio (FFmpeg))
==========================================================================
AO: [alsa] 48000Hz 6ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 1920x800 => 1920x800 Planar YV12
[swscaler @ 0xd2d720]using unscaled yuv420p -> rgb32 special converter


2009/10/2 Fred Leeflang <fredl at dutchie.org>

> I uploaded piece.wmv, HTH.
>
> -Fred
>
> fredl at omega:~/.hellanzb/done/1080p star trek$ mplayer piece.wmv
> MPlayer SVN-r29746 (C) 2000-2009 MPlayer Team
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing piece.wmv.
> ASF file format detected.
> [asfheader] Audio stream found, -aid 1
> [asfheader] Video stream found, -vid 2
> VIDEO:  [WVC1]  1920x800  24bpp  1000.000 fps  8155.0 kbps (995.5 kbyte/s)
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
> s3fb: can't open /dev/fb0: No such file or directory
> [vdpau] Could not open dynamic library libvdpau.so.1
> ==========================================================================
> Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
> Enable it at compilation.
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 6 ch, floatle, 640.0 kbit/6.94% (ratio: 80001->1152000)
> Selected audio codec: [ffwmapro] afm: ffmpeg (WMA Pro audio (FFmpeg))
> ==========================================================================
> AO: [alsa] 48000Hz 6ch floatle (4 bytes per sample)
> Starting playback...
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 1920x800 => 1920x800 Planar YV12
> [wmapro @ 0xd7dbc0]input buffer too small  6/  6 ??% ??% ??,?% 0 0
>  If you want to help, upload a sample of this file to
> ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel
> mailing list.
> A:   3.2 V:   3.2 A-V: -0.000 ct:  0.000   7/  7 ??% ??% ??,?% 0 0
>
> MPlayer interrupted by signal 2 in module: decode_audio
>
>
>



More information about the ffmpeg-devel mailing list