shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Using software-only decoding with ffmpeg decoder in compiler flags gravely distorts audio streams. #160

Open itsmefreitas opened 3 years ago

itsmefreitas commented 3 years ago

When configuring shaka-player-embedded with disabled hardware decoding and using ffmpeg decoder, video streams play fine but attached audio is completely mangled and impossible to play, despite no decoding errors being thrown.

When running ../configure --ios --release --cpu arm64 --disable-hardware-decode --ffmpeg-decoder, for example, this audio problem occurs.

I have tested several different types of streams with distrinct codecs and profiles, the audio problem still persists. What can I do to be able to use software-based decoding through ffmpeg? Is there any additional configuration flag I should include?

TheModMaker commented 3 years ago

Confirmed this is a bug. I already fixed a similar bug before, so this may be a regression.