[vlc-devel] A simple container format

Kaarlo Räihä kaarlo.raiha at gmail.com
Tue Aug 23 20:06:09 CEST 2011


2011/8/23 Peter Tap <ptrtap at yahoo.com>

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

Resolution, FPS, aspect ratio, duration etc. might be something you want to
keep in container.


>
> Thank you in advance for your help.
>
> Regards,
> Peter
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110823/fb1701ab/attachment.html>


More information about the vlc-devel mailing list