I'd doubt if there's native support in any language for pretty much any audio/video codec.
Check out the matroska.org website. There's a structure on there, and appears to be a relatively large repository for libraries. I don't know what all of them are for, but it does have a jebml library which is listed as java source.
header('HTTP/1.1 420 Enhance Your Calm');