Eyevinn / mp4ff

Library and tools for parsing and writing MP4 files including video, audio and subtitles. The focus is on fragmented files. Includes mp4ff-info, mp4ff-encrypt, mp4ff-decrypt and other tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request: SetType() on AudioSampleEntryBox

k-danil opened this issue · comments

Good day!

Right now there is no way too set AudioSampleEntryBox.name on already created box. This is must have feature to implement CENC compliant encryptor on mp4ff. As simplest solution we can have a SetType() method as it's already implemented for VisualSampleEntryBox.

I agree that it would be useful to have a "SetType" method for AudioSampleEntry in the same way as for video.

Please notify if you plan to make a PR. Otherwise I may add it when I get some spare minutes.

I will try to make the PR tomorrow.