[vlc-devel] [PATCH 1/4] libmp4: Parse StraBox and SmooBox
fyhuel at viotech.net
Wed Jun 27 14:46:33 CEST 2012
On Wed, Jun 27, 2012 at 1:55 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le lundi 25 juin 2012 14:21:17 Frédéric Yhuel, vous avez écrit :
>> SmooBox is a very simple MP4 box, VLC specific, used only
>> for the Smooth Streaming module to send information to the demux.
>> SmooBox is actually a simplified moov box (we wanted to avoid
>> the hassle of building a moov box at the stream_filter level).
> I really don't think injecting fake data into an existing bytestream is a good
> idea - either way. For one thing, what happens if another demuxer is used
> (e.g. avdemux or demuxdump).
If avformat is used, we would get the error: "moov atom not found". It
is the end of the world?
avformat is used only if Open() returns VLC_EGENERIC, in VLC's MP4
demux, as far as know. Or if we force it.
If I write code to build a genuine moov box, by the time I finish,
Smooth Streaming would be completely dead :-)
Besides, that design has been approved by j-b two months ago. I'm not
saying he is stronger or anything, but I don't have time to change
everything every quarter :-s
More information about the vlc-devel