seeking in fragmented mp4 files

Andoni Morales ylatuya at gmail.com
Thu Apr 10 08:55:56 PDT 2014


2014-04-09 12:47 GMT+02:00 Lajos Okos <lajos.okos at gmail.com>:

> Hi,
>
>
>
> I'm testing fragmented MP4 files with the playbin pipeline. The files play
> fine unless I want to seek in them. Seeking doesn't work. The reason seems
> to be the qtdemux that is forwarding the seek events upstream if the mp4
> file is fragmented. I don't need any of the smooth streaming functionality,
> I have the audio and the video tracks in a single mp4 file and I don't want
> to change bitrate. The reason I'm using fragmented mp4 is that the files
> are in record while playback should start.
>

Hi,

If you don't plan to generate a manifest or a dash media representation,
you can use a different container, like matroska without indexes, that
would generate a playable and seekable stream while it's being recorded.

Cheers,
Andoni



>
>
> Is there a way to catch and handle the forwarded seek events from qtdemux
> in the application? What should the seek handle do?
>
> Should I construct a different pipeline with opening some type of a
> manifest file rather than the media file itself? How should the manifest
> file look like in this simple case?
>
>
>
> Hope that someone solved this issue before!
>
>
>
> Thanks for your help in advance!
>
>
>
> Best Regards,
>
>
>
> Lajos
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140410/76e7c223/attachment.html>


More information about the gstreamer-devel mailing list