Open gliese1337 opened 9 years ago
What do you mean by "raw video" and "raw audio" streams? Uncompressed? Not sure.
"Raw" as in "not already packaged together in a container format". For my particular use case, I have H.264 video and AAC audio- exactly the stuff that would go in an mdat box.
In that case, the answer is yes. MP4Box (not the JS version) does it.
MP4Box -add file.264 file.mp4
or
MP4Box -add file.aac file.mp4
or
MP4Box -raw 1 file.mp4
In JS, it's feasible too. It would need to be coded though, not sure when. I'll add it to the feature request.
Is it possible to write raw video / audio streams to an MP4 container, as well as parsing them out? If not, is adding that functionality within the realm of possibility?