2020-12-21, 22:07
(2020-12-21, 21:54)fandangos Wrote: Ok, this is not my work alone.Awesome. Will try it out.
@quietvoid started it by pulling ffmpeg source from Plex, doing diff on that and creating the first PR on Kodi's fork of FFMpeg requesting those changes.
After that, I have to thank @fritsch which is an amazing teacher and @lrusak that basically solve it all.
The FFMpeg changes needed are here:
https://github.com/fandangos/FFmpeg/tree...e/4.3-kodi
The changes needed in Kodi are here:
https://github.com/xbmc/xbmc/pull/18965
Build comming soon.
I just managed to get it to work myself, but it has to be considered a hack,
Adding
Code:
st->codecpar->codec_tag = MKBETAG('d','v','c','C');
This can then be checked for with MKTAG/MKBETAG checks in DVDVideoCodecAndroidCodec.cpp, and setting the mime accordingly makes it work. 11 lines total
Your solutions looks fare more correct. Thanks!