ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

HLS ADTS/AAC parsing/decoding issue

Open andudo opened this issue 12 years ago • 2 comments

ExoPlayer fails to play this big buck bunny stream from akamai http://googleimadev-vh.akamaihd.net/i/big_buck_bunny/bbb-,480p,720p,1080p,.mov.csmil/master.m3u8

Current implementation assumes that one ADTS frame has exactly one AAC frame inside. In this specific stream ADTS frames have sometimes 0 and sometimes more then 1 AAC frame inside.

How typical is this stream? Has anybody else seen similar issues?

andudo avatar Nov 04 '14 22:11 andudo

I think the problem may came from how the mp4 being encoded ? i believe that the stream is transmux from their own engine and send out as TS chunk for HLS playback on the fly~ and HLS does not care how the TS chunk encoded. I encode via ffmpeg , carbon coder for mp4 use with wowza has no such issue so far

HandsomeFrank avatar Nov 04 '14 23:11 HandsomeFrank

Got fixed with 80602b16846da1c7a9e9df1b5eb051adb8498dfc

andudo avatar Jan 23 '15 20:01 andudo