[vlc-devel] A simple container format

Peter Tap ptrtap at yahoo.com
Tue Aug 23 19:32:41 CEST 2011


Folks,

For my project, I need to build a custom container as a proof of concept. The container will have just one H.264 video stream and one AAC audio stream. I will write a vlc demux to deal with this container file.


To keep things simple, the container format I am thinking is:
1. First 8 bytes contain the location for the start of audio stream.
2. Video stream follows.
3. Audio stream follows.


I have a sample .mp4 file. I will strip video and audio data from this 
mp4 file and create my container. Let's call it sample.my4. I will wire ".my4" extension into vlc.


I don't know much about the internals of x264 or AAC, and I am hoping I don't need to. However, I am not sure if stripping just audio and video streams are enough. Do I need to strip any other metadata from the original mp4 file? I guess for now it is okay if the user cannot do random seek.


Thank you in advance for your help.

Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110823/93366f05/attachment.html>


More information about the vlc-devel mailing list