SharpMp4Parser icon indicating copy to clipboard operation
SharpMp4Parser copied to clipboard

Any plans to add Opus support from SharpMP4?

Open bentorkington opened this issue 1 year ago • 3 comments

I see SharpMP4 has Opus track capability, and that project seems to be more up to date than this one. Is SharpMP4 intended as a replacement for this project and should I use that instead for general MP4 writing? Thanks

bentorkington avatar Aug 29 '24 01:08 bentorkington

Eventually, yes. SharpMp4Parser is just a port of the Java code base, plus some bug fixes. No new features except for bugfixes are planned.

SharpMp4 is written from the ground up in C#, has better support for newer codecs, is stream in/stream out, but at the moment it is primarily intended and used for fragmented MP4 (fmp4). It is also pretty much work in progress.

Eventually, SharpMP4 will get MP4 support as well, but right now it's not tested on MP4 and when compared to this port it supports fewer MP4 boxes. I had some specific needs for fragmented mp4 that were not met by this project, so I've decided to rewrite everything from the ground up in C# and I've added some new features such as enhanced VPS/PPS/SPS parsers for H265 and as you've noticed also Opus compatibility.

jimm98y avatar Aug 29 '24 06:08 jimm98y

Thanks. No promises, but if I get a chance to work on Opus I'll put in a PR?

bentorkington avatar Aug 29 '24 06:08 bentorkington

Of course, PRs are welcome!

jimm98y avatar Aug 29 '24 06:08 jimm98y

Hey. Sorry, I left the project I was working on that used this so I never got around to add it

bentorkington avatar Apr 27 '25 00:04 bentorkington