Maybe I should start with explaining what I’m trying to do, and then I’ll form my questions. I would like to take raw frames provided by RTMP protocol and combine them into short MP4 files. However instead of saving them on a hard-drive I would like to keep them in memory as some kind of ByteBuffers, so I can send them via WebSockets to a web brower.
Questions:
Can I mux raw h.264 frames (ByteBuffers) into an mp4 container using humble-video?
Can I force this library to save encoded files into ByteBuffers instead of files?
P.s. It took 12h to compile project on mbp 2013 (vagrant)... damn, that was long!
Maybe I should start with explaining what I’m trying to do, and then I’ll form my questions. I would like to take raw frames provided by RTMP protocol and combine them into short MP4 files. However instead of saving them on a hard-drive I would like to keep them in memory as some kind of ByteBuffers, so I can send them via WebSockets to a web brower.
Questions:
P.s. It took 12h to compile project on mbp 2013 (vagrant)... damn, that was long!