rtspsrc takes several minutes to pause/null

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

rtspsrc takes several minutes to pause/null

android6011
I have a pipeline like rtspsrc location=ip:port ! rtph264depay ! matroskamux ! filesink location=t.mkv

When I set the pipeline state to null or paused, it hangs when it tries to set the state of the rtspsrc to pause/null. I have been able to duplicate this when just trying to set the rtspsrc elements state to null. Once is do the change state, it sits there for a few minutes before I get a few different streamstatus changed messages from various src pads.  Is there any way to speed this up?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtspsrc takes several minutes to pause/null

Marco Ballesio
not sure about this, but have you tried with the timeout or
tcp-timeout properties?

On 9/15/11, android6011 <[hidden email]> wrote:

> I have a pipeline like rtspsrc location=ip:port ! rtph264depay ! matroskamux
> ! filesink location=t.mkv
>
> When I set the pipeline state to null or paused, it hangs when it tries to
> set the state of the rtspsrc to pause/null. I have been able to duplicate
> this when just trying to set the rtspsrc elements state to null. Once is do
> the change state, it sits there for a few minutes before I get a few
> different streamstatus changed messages from various src pads.  Is there any
> way to speed this up?
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtspsrc takes several minutes to pause/null

android6011
Yes I have but it does not effect the time

On Sat, Sep 17, 2011 at 3:25 AM, Marco Ballesio <[hidden email]> wrote:
not sure about this, but have you tried with the timeout or
tcp-timeout properties?

On 9/15/11, android6011 <[hidden email]> wrote:
> I have a pipeline like rtspsrc location=ip:port ! rtph264depay ! matroskamux
> ! filesink location=t.mkv
>
> When I set the pipeline state to null or paused, it hangs when it tries to
> set the state of the rtspsrc to pause/null. I have been able to duplicate
> this when just trying to set the rtspsrc elements state to null. Once is do
> the change state, it sits there for a few minutes before I get a few
> different streamstatus changed messages from various src pads.  Is there any
> way to speed this up?
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtspsrc takes several minutes to pause/null

Marco Ballesio
Maybe you can get a stacktrace of the point where you get
(temporarily) stuck. It's easily doable with gdb. Maybe somebody will
have an idea once you've posted the stack trace here.

Regards

On Mon, Sep 19, 2011 at 4:54 PM, android6011 <[hidden email]> wrote:

> Yes I have but it does not effect the time
>
> On Sat, Sep 17, 2011 at 3:25 AM, Marco Ballesio <[hidden email]>
> wrote:
>>
>> not sure about this, but have you tried with the timeout or
>> tcp-timeout properties?
>>
>> On 9/15/11, android6011 <[hidden email]> wrote:
>> > I have a pipeline like rtspsrc location=ip:port ! rtph264depay !
>> > matroskamux
>> > ! filesink location=t.mkv
>> >
>> > When I set the pipeline state to null or paused, it hangs when it tries
>> > to
>> > set the state of the rtspsrc to pause/null. I have been able to
>> > duplicate
>> > this when just trying to set the rtspsrc elements state to null. Once is
>> > do
>> > the change state, it sits there for a few minutes before I get a few
>> > different streamstatus changed messages from various src pads.  Is there
>> > any
>> > way to speed this up?
>> >
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel