Skip to content

Write as well as read. #43

Open
Open

Description

@gliese1337

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?

Activity

  1. cconcolato commented on May 26, 2015

    @cconcolato
    Member

    What do you mean by "raw video" and "raw audio" streams? Uncompressed? Not sure.

  2. gliese1337 commented on May 27, 2015

    @gliese1337
    Author

    "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.

  3. cconcolato commented on May 27, 2015

    @cconcolato
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions