tcking / GiraffePlayer2

out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Apache License 2.0
377 stars 110 forks source link

Audio Track doesn't apply Bydefault #159

Open ghost opened 5 years ago

ghost commented 5 years ago

Hey,

I am trying to play following url using this project http://primestreams.tv:826/movie/euc1y43/8520003120/56963.mkv

But, Only video is used to play but audio doesn't. even if I change audio track it doesn't play. I have checked same url with VLC and MX player and it works perfectly with audio. Please Guide me if there are some changes to do this. Thank you

tcking commented 5 years ago

the audio codec is ac3, that is disabled by default for patent issues.you can enable ac3 codec and recompile the ijkplayer

ghost commented 5 years ago

And How could i enable ac3 ? Please guide me

tcking commented 5 years ago

ijkplayer The readme have about how to compile ffmpeg info and https://github.com/bilibili/ijkplayer/search?q=ac3&unscoped_q=ac3 can find some info to enable ac3