NellyMoser codec reports zero frame size and bitrate
|Reported by:||Alexander||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
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.
Change History (17)
comment:14 by , 9 years ago
|Component:||avcodec → avformat|
|Keywords:||rtmp added; codec removed|
|Status:||new → open|