inputstream.adaptive
inputstream.adaptive copied to clipboard
Implement AC4 support
Description
Implement AC4 audio
TODO: check for possible required changes to AudioCodecHandler
Motivation and context
some months ago i seen some changes on kodi core about ac4
i made an attempt to check if it actually works
unfortunately at today kodi use ffmpeg 7.1.1 and looks like there is no AC4 decoder available
since avcodec_find_decoder_by_name dont return the decoder
I don't know if 7.2 will have it, seem also exists unofficial patched ffmpeg with ac4 support, but i don't think it's worth it, better wait for the official ffmpeg implementation
How has this been tested?
https://ott.dolby.com/OnDelKits/AC-4/Dolby_AC-4_Online_Delivery_Kit_1.5/help_files/topics/kit_wrapper_HLS_multiplexed_streams.html
Screenshots (if appropriate):
Types of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Clean up (non-breaking change which removes non-working, unmaintained functionality)
- [ ] Improvement (non-breaking change which improves existing functionality)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that will cause existing functionality to change)
- [ ] Cosmetic change (non-breaking change that doesn't touch code)
- [ ] None of the above (please explain below)
Checklist:
- [ ] I have read the Contributing document
- [ ] My code follows the Code Guidelines of this project
- [ ] My change requires a change to the Wiki documentation
- [ ] I have updated the documentation accordingly