seeking in fragmented mp4 files

Lajos Okos lajos.okos at gmail.com
Fri Apr 11 00:20:51 PDT 2014


Hi,

I just want to say a short thanks for the feedbacks. Let me dissapear for a
couple of days to do some tests with the options I have.

Best regards,
Lajos


On Thu, Apr 10, 2014 at 7:14 PM, Michael Gruner <michael.gruner at ridgerun.com
> wrote:

>  Hi,
>
> I faced this once as well. I ended up adding seeking support on
> multifilesink. I'm attaching the patch I used, hope it saves you some work.
>
> Michael
>
> P.S. The patch is for the 0.10.31 version
>
>
> On 04/10/2014 09:55 AM, Andoni Morales wrote:
>
>
>
>
> 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
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140411/bebe1307/attachment.html>


More information about the gstreamer-devel mailing list