seeking in fragmented mp4 file

abhimanyu.v at gmail.com abhimanyu.v at gmail.com
Tue Jun 5 04:27:16 PDT 2012


Hi all,

i want to record AAC+ (960) stream to a file. So best or probably the only
container which support understand this format is mp4. i am able to get the
file recorded with the following pipeline:

$ (aac+ source through appsrc) ! mp4mux ! filesink location a=a.mp4

The file recorded can be very large and when streaming this file over any
DLNA server, my player (device) doesn't able to play it because of memory
constraint. Having faststart file have issue of taking very long time after
recording is finished. So the user experience is bad in this case.

To avoid long delay after recording is stopped and to support almost
unlimited length of recording, i have used fragment-duration=500
streamable=1 flag for mp4mux.

This does the job correctly except i cant seek into the file.

qtdemux offcourse don't support the seeking for fragmented file. Is there
any way i could achieve seeking in fragment mp4 file?
Does only having fargment-duration without streamable will support seek or
both are tied up?

thanks for your help!

regards,
Abhimanyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120605/51d452d9/attachment.html>


More information about the gstreamer-devel mailing list