Frame Loss in mp4 stream

Prabhakar Lad prabhakar.csengg at gmail.com
Thu Sep 11 09:36:27 PDT 2014


Hi,

Thanks for the response.

On Thu, Sep 11, 2014 at 4:09 PM, Thiago Santos <thiagoss at osg.samsung.com> wrote:
> On 09/11/2014 11:47 AM, Prabhakar Lad wrote:
>>
[snip]
>> And after the event valve's drop property is set to FALSE and queue
>> properties are set to following
>> "min-threshold-time=0"
>
> Do you have a leaky queue? That could drop buffers if downstream isn't
> consuming fast enough.
>
No the queue is not leaky.

> What is your input that is live? If downstream doesn't consume fast enough
> it might also cause buffers to be lost.
>
Yes the input is live. from the valve it goes to mux and then to filesink.
by any chance does h264parse/mp4mux/filesink drop frames ?

> You can track the buffers in the pipeline using GST_DEBUG=GST_SCHEDULING:9
> and look at the messages like:
>
> "GST_SCHEDULING gstpad.c:3834:gst_pad_chain_data_unchecked:<fakesink0:sink>
> calling chainfunction &gst_base_sink_chain with buffer buffer:
> 0x7f43fc0250a0, pts 0:00:00.000000000, dts 0:00:00.000000000, dur
> 0:00:00.033333333, size 115200, offset 0, offset_end 1, flags 0x40"
>
Ok will try out.

> This means that a buffer was pushed into fakesink0:sink and you have all the
> details from the buffers (pointer and pts are likely the most important for
> you). So you can check if all buffers that are feed to appsrc are actually
> making it to the muxer and find if there is indeed a buffer missing (and
> what element dropped it).
>
> As you said this is a live stream, it can also be that this frame was lost
> before it even reached gstreamer.
>
I have tested the live stream is fine. I find this issue only when
using a rolling buffer of 15 seconds.

Thanks,
--Prabhakar

>
>>
>> Thanks,
>> --Prabhakar
>>
>>>> Thanks,
>>>> --Prabhakar
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>>
>>>
>>> --
>>> Thiago Sousa Santos
>>> Senior Multimedia Engineer, Open Source Group
>>> Samsung Research America - Silicon Valley
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> --
> Thiago Sousa Santos
> Senior Multimedia Engineer, Open Source Group
> Samsung Research America - Silicon Valley
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list