ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

vp8 decode error

Open kuailedeadai opened this issue 6 years ago • 2 comments

Hello, may I ask if I added the adaptation of vp8 in the vp9 extension, added vp8 decoding in generate_libvpx_android_configs.sh, the compilation shows that it passed, and the vp8 module has been integrated, but when running, the vp8 decoding error Decode error: Bitstream not supported by this decoder

kuailedeadai avatar May 07 '20 09:05 kuailedeadai

It's difficult to know the cause based on the information you've provided, but one thing to note is that in vpx_jni.cc in the VP9 extension you will need to initialize the right codec in the call to vpx_codec_dec_init (you can use get_vpx_decoder_by_name to get the right codec interface to pass into that method). Caveat: last time I did this was in 2016 so the APIs may have changed!

As this is not something we support at the moment, and it seems unlikely we would add support given it hasn't been requested and the codec has been superseded, I will close this for now.

andrewlewis avatar May 07 '20 10:05 andrewlewis

Thanks, your suggestion has solved my problem

kuailedeadai avatar May 07 '20 11:05 kuailedeadai