[FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate

FFmpeg trac at avcodec.org
Mon Oct 3 11:04:48 CEST 2011


#527: NellyMoser codec reports zero frame size and bitrate
-------------------------------------+-------------------------------------
             Reporter:  DrLex        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
             Keywords:  nellymoser   |  unspecified
  codec                              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 While trying to play live streams that use the NellyMoser ASAO codec, we
 noticed that every player that uses libavformat for this (e.g. ffplay,
 mplayer, vlc) will freeze until the stream is interrupted. It will then
 play all audio that was buffered in the meantime.

 We traced this down to enc->frame_size being set to zero in
 get_audio_frame_size() in libavformat/utils.c when trying to parse the
 stream. If we force frame_size to some value larger than 1, the stream
 will play.

 Probably related is that the bitrate for Nellymoser streams is reported as
 zero as well. Yet it is easy to know the bitrate for this codec once the
 sampling rate is known: it is twice the sampling rate.

 We did not further look into this because it was easier to switch our
 stream source to Speex, but it does not seem too hard to fix.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/527>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list