[gst-devel] Reading truncated MP4

Andres Gonzalez acandido at hi-iberia.es
Wed Aug 11 13:44:57 CEST 2010


Hi,

In a few words, I would like to hear ideas and/or share efforts with 
anybody interested in the problem of using gstreamer to read a truncated 
MP4 file/stream.

More details:

I am working in a small team, we are developing a live streaming system 
based on Android. The idea is to capture video with the terminal and 
stream it live to a server, where we can process it, store, or whatever.
Android provides an API that allows us to record a video in mp4 format, 
and afterwards (when the recording has finished) stream the video file 
to the server. But live streaming is more complicated, because some 
important information, as the 'moov' atom, is written when the recording 
has finished. So we can send the data as it is recorded, but players and 
libraries refuse to play it because this metadata is not given.

Currently, my idea is to modify GstQTDemux and develop  a new plugin 
that could be configured in other way (for example, reading a sane MP4 
file with similar characteristics, or taking hard-coded parameters, ...) 
and then read an demux the stream.

All ideas and comments are welcome.

TIA,
Andrés





More information about the gstreamer-devel mailing list