[FFmpeg-devel] Mov / Mp4 Muxer in streaming

Marco Fucci mfucci
Sat Apr 18 18:16:37 CEST 2009

Hi Baptiste,

> About the concept. If I understood correctly you are writing one "mdat"
> atom for every sample. I think this is not really efficient and it would
> add a lot of overhead. Correct me if I'm wrong.

Yes, this is the concept. We didn't find another to generate mp4 in streaming.
The drawbacks are:
_ more metadata (but not that much)
_ I have read somewhere that not all players supports mutliple "mdat"
atoms (but major ones seems to support it)

> I think some buffering should happen, to ensure that seek won't be
> needed, I believe this can be done by checking ByteIOContext buffers status.

You mean to group multiple frames in a "mdat" atom ? Or I haven't
understood correctly ...


More information about the ffmpeg-devel mailing list