[vlc-devel] MP4 demux and Smooth Sreaming module

Frederic YHUEL fyhuel at viotech.net
Wed Feb 1 14:52:32 CET 2012


Hello!

I'd need some advices:

At the moment, my Smooth Streaming module creates a initialization
segment (a moov box), from the data in the SS Manifest (a XML file
like the DASH MPD).

Then it sends this initialization segment to the MP4 demux. Let's
consider the VLC demux (not the avformat one). This demux parses the
initialization in order to fill some
mp4_track_t structures.

Of course it would be much more efficient (and much less silly) to
fill the mp4_track_t structures directly from the Manifest. I just
don't know what is the right way to do it.

Here is what I would try to do, but I don't know if it is smart or not:

- I would put the mp4_track_t definition in a header file, say mp4.h.
Then I could include include this header in my Smooth Streaming
module.
- The Smooth Streaming module would fill the mp4_track_t structures.
- The MP4 demux would get these structures by a VLC variable /
callback mechanism.

Does it make sense? Is there a better way?

I would appreciate any help you can provide.

Best Regards,

-- 
Frédéric



More information about the vlc-devel mailing list