phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.31k stars 1.43k forks source link

mp2 audio decode error #342

Closed xyhweinin closed 4 years ago

xyhweinin commented 4 years ago

when there are 2 channels(L+R) in the auido, and if the L channel or the R channel is silent, then the decoded audio is silent using mp2 decoder. but if both the L and R channels are not silent, then OK. how to resolve this? thanks very much.

phoboslab commented 4 years ago

Do you have a sample file that show this problem?

xyhweinin commented 4 years ago

yes, of course. please check the "sample_file.zip" file. waiting for your help, thank you very much. sample_file.zip

phoboslab commented 4 years ago

Thanks for the bug report. That was quite something!

xyhweinin commented 4 years ago

great! thank you very much!