Quantcast

long pauses when viewing RTSP stream

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

long pauses when viewing RTSP stream

Doug Crawford

I am viewing a RTSP stream from an AXIS 241Q video server and displaying it
on my OMAP3EVM board.  My gstreamer pipeline is: gst-launch rtspsrc
location=rtsp://10.5.5.33/mpeg4/media.amp ! decodebin2 ! TIDmaiVideoSink
videoStd=VGA videoOutput=LCD sync=false rotation=90

The video pauses for about 5 seconds then plays very fast for about 2
seconds and this keeps repeating over and over.  Any ideas?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/long-pauses-when-viewing-RTSP-stream-tp2997576p2997576.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: long pauses when viewing RTSP stream

Gruenke, Matt
Is the 241Q running the latest firmware?

If you change the 'latency' property of rtspsrc, does it affect the
amount of time spent "pausing"?


Matt


-----Original Message-----
From: Doug Crawford [mailto:[hidden email]]
Sent: Friday, October 15, 2010 15:33
To: [hidden email]
Subject: [gst-devel] long pauses when viewing RTSP stream


I am viewing a RTSP stream from an AXIS 241Q video server and displaying
it
on my OMAP3EVM board.  My gstreamer pipeline is: gst-launch rtspsrc
location=rtsp://10.5.5.33/mpeg4/media.amp ! decodebin2 ! TIDmaiVideoSink
videoStd=VGA videoOutput=LCD sync=false rotation=90

The video pauses for about 5 seconds then plays very fast for about 2
seconds and this keeps repeating over and over.  Any ideas?
--
View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/long-pauses-when-viewing-RTS
P-stream-tp2997576p2997576.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that
run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: long pauses when viewing RTSP stream

Stefan Sauer
In reply to this post by Doug Crawford
hi,
On 15.10.2010 22:33, Doug Crawford wrote:
> I am viewing a RTSP stream from an AXIS 241Q video server and displaying it
> on my OMAP3EVM board.  My gstreamer pipeline is: gst-launch rtspsrc
> location=rtsp://10.5.5.33/mpeg4/media.amp ! decodebin2 ! TIDmaiVideoSink
> videoStd=VGA videoOutput=LCD sync=false rotation=90
>
> The video pauses for about 5 seconds then plays very fast for about 2
> seconds and this keeps repeating over and over.  Any ideas?
>  
isn't that first trying tcp and then retrying with udp (or the other way
around).

Stefan

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

fullscreen video show and hide

John Buckley

I have a a GTK+ application with buttons on the main panel.

 

When I click a Record button I want streaming video to appear fullscreen.

 

When the user clicks the video screen anywhere, I want the video to stop and disappear and go back to the main window.

 

Does anyone have any examples of anything like this using either popup windows or gstxoverlays.

 

John Buckley


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fullscreen video show and hide

Tim-Philipp Müller-2
On Wed, 2010-10-20 at 21:56 +0000, John Buckley wrote:

Hi,

> I have a a GTK+ application with buttons on the main panel.
> When I click a Record button I want streaming video to appear
> fullscreen.
> When the user clicks the video screen anywhere, I want the video to
> stop and disappear and go back to the main window.
> Does anyone have any examples of anything like this using either popup
> windows or gstxoverlays.

You could look at the totem code, it supports something like this. If
you're lucky, it's sufficient to make GStreamer render into your
application window and then just fullscreen/unfullscreen that using your
toolkit's API for that on the window handle.

Cheers
 -Tim



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: long pauses when viewing RTSP stream

Marco Ballesio
In reply to this post by Doug Crawford
Hi,

On Fri, Oct 15, 2010 at 10:33 PM, Doug Crawford <[hidden email]> wrote:

I am viewing a RTSP stream from an AXIS 241Q video server and displaying it
on my OMAP3EVM board.  My gstreamer pipeline is: gst-launch rtspsrc
location=rtsp://10.5.5.33/mpeg4/media.amp ! decodebin2 ! TIDmaiVideoSink
videoStd=VGA videoOutput=LCD sync=false rotation=90

The video pauses for about 5 seconds then plays very fast for about 2
seconds and this keeps repeating over and over.  Any ideas?

According to:

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3676&action=ForumBrowse&forum_id=187

The problem is definitely in the decoder, which appears to be buffering 1.5 mb of data, probably with wrong latency info. I suggest you to:

1) remove the sync=false from the video sink element.
2) try and set the max-lateness property of the sync to something above 2 seconds
3) read the similar threads on this mailing list ;).

Regards
 
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/long-pauses-when-viewing-RTSP-stream-tp2997576p2997576.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fullscreen video show and hide

John Buckley
In reply to this post by John Buckley

Tim,

I got this to work very predictably by following the forum examples a little closer.

 

I was importing all my GUI objects from a Glade XML file and for some reason the event signalling and callbacks for the toplevel popup window did not work.  I'm sure it would work eventually if I had more time to learn the Glade tool.  But, the examples I was following create the popups on the fly and destroy them when finished.  When I create the toplevel popup window on the fly the signalling works as expected.

 

I am still using the Glade tool for my main window and all other widgets since it is an awesome way to create beautiful modern graphics.

 

I will be posting some youtube video clips soon for this project.  It is turning out to be a very nice application.

The software is still in its infancy but most of the hurdles are past and now it's full steam ahead for functionality.

 

Thanks,

John Buckley

 


----- "Tim-Philipp Müller" <[hidden email]> wrote:

On Wed, 2010-10-20 at 21:56 +0000, John Buckley wrote:

Hi,

> I have a a GTK+ application with buttons on the main panel.
> When I click a Record button I want streaming video to appear
> fullscreen.
> When the user clicks the video screen anywhere, I want the video to
> stop and disappear and go back to the main window.
> Does anyone have any examples of anything like this using either popup
> windows or gstxoverlays.

You could look at the totem code, it supports something like this. If
you're lucky, it's sufficient to make GStreamer render into your
application window and then just fullscreen/unfullscreen that using your
toolkit's API for that on the window handle.

Cheers
 -Tim



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Loading...