Help with Gstreamer and RTSP with Axis Camera

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

Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Hi all,

I am using an Axis 212 PTZ camera with gstreamer.  I am taking that mpeg-4 stream and piping it via a file to a custom rf modem on the transmit side.  On the receiving side I am demodulating the bit stream and piping it to a local file which I would like to play real-time with gstreamer.

As a quick test, I am skipping the rf modem and just trying the following:

Transmitter :
-------------------
gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp ! filesink=txcap.ts

I let this run for 20 seconds and control ^C out of it.

Receiver:
-------------
gst-launch playbin uri=file://txcap.ts




The problem is that when I run the gst-launch playbin=file://txcap.ts  the video file plays very fast and then closes.  The quality also doesn't look as good as when I use "vlc rtsp://192.168.0.90/mpeg4/media.amp"

I'm a beginner with gstreamer so I'm not sure how to modify the transmit and receive command lines to properly set the frame rate, codec, etc.  Also another problem is that I want to see this live on the receiver, so setting gstreamer to run for a specified amount of time so that the header is written properly will not allow me to see this real-time on the receive side.  Any suggestions?

Thanks
Tom


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

Re: Help with Gstreamer and RTSP with Axis Camera

Tim-Philipp Müller-2
On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:

Hi,

>
> As a quick test, I am (..) just trying the following:
>
> Transmitter :
> -------------------
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> filesink=txcap.ts
>
> I let this run for 20 seconds and control ^C out of it.
>
> Receiver:
> -------------
> gst-launch playbin uri=file://txcap.ts
>
>
> The problem is that when I run the gst-launch playbin=file://txcap.ts
> the video file plays very fast and then closes.  The quality also
> doesn't look as good as when I use "vlc
> rtsp://192.168.0.90/mpeg4/media.amp"
>
> I'm a beginner with gstreamer so I'm not sure how to modify the
> transmit and receive command lines to properly set the frame rate,
> codec, etc.  Also another problem is that I want to see this live on
> the receiver, so setting gstreamer to run for a specified amount of
> time so that the header is written properly will not allow me to see
> this real-time on the receive side.  Any suggestions?
>

This works I presume:

 gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Note that rtspsrc outputs RTP packets, which you need to depayload using
an appropriate depayloader (rtpmp2tdepay? rtpmp4gdepay? rtpmp4vdepay?).

Writing RTP packets to file like you do now is not going to work.

 Cheers
  -Tim

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

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Thanks Tim,

I can see a live feed from the Axis camera when I do:

gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp


I can't figure out how to modify my transmit and receive commands given that I need to depay.  I've read up on the gstreamer site and checked other forums but still can't figure it out.   When I do "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !     rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming task paused, reason not-linked (-1)". 


Do you know how I would modify them, here they are again?

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !  filesink=txcap.ts

gst-launch playbin uri=file://txcap.ts

Thanks
Tom


--- On Sat, 4/9/11, Tim-Philipp Müller <[hidden email]> wrote:

From: Tim-Philipp Müller <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email]
Date: Saturday, April 9, 2011, 10:49 AM

On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:

Hi,

>
> As a quick test, I am (..) just trying the following:
>
> Transmitter :
> -------------------
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> filesink=txcap.ts
>
> I let this run for 20 seconds and control ^C out of it.
>
> Receiver:
> -------------
> gst-launch playbin uri=file://txcap.ts
>
>
> The problem is that when I run the gst-launch playbin=file://txcap.ts
> the video file plays very fast and then closes.  The quality also
> doesn't look as good as when I use "vlc
> rtsp://192.168.0.90/mpeg4/media.amp"
>
> I'm a beginner with gstreamer so I'm not sure how to modify the
> transmit and receive command lines to properly set the frame rate,
> codec, etc.  Also another problem is that I want to see this live on
> the receiver, so setting gstreamer to run for a specified amount of
> time so that the header is written properly will not allow me to see
> this real-time on the receive side.  Any suggestions?
>

This works I presume:

gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Note that rtspsrc outputs RTP packets, which you need to depayload using
an appropriate depayloader (rtpmp2tdepay? rtpmp4gdepay? rtpmp4vdepay?).

Writing RTP packets to file like you do now is not going to work.

Cheers
  -Tim

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Tim-Philipp Müller-2
On Sat, 2011-04-09 at 10:13 -0700, Tom Hendrick wrote:

> I can see a live feed from the Axis camera when I do:
>
> gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp
>
> I can't figure out how to modify my transmit and receive commands
> given that I need to depay.  I've read up on the gstreamer site and
> checked other forums but still can't figure it out.   When I do
> "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming
> task paused, reason not-linked (-1)".  
>
> Do you know how I would modify them, here they are again?
>

What does this output:

 gst-launch-0.10 -v playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Cheers
 -Tim

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

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
In reply to this post by Tom Hendrick

I tried:

 gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp ! rtpmp4vdepay ! filesink=txcap.ts

and I didn't get the link error and it saved to a file.

When I try to play it with gstreamer using:

gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10 playbin2 uri=file://txcap.ts,

it plays too fast and the lower half of the each frame has some weird block distortions.

When I do:
mplayer txcap.ts  it also plays too fast but I don't see the weird block distortions on the lower left half of each frame, but when I do mplayer -fps 1 txcap.ts it plays fine.


When I do gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp  it shows the video feed just fine without that distotion in the lower half.  I'd like to make the saved file work with gstreamer because I had some cache problems with mplayer on the receiver in the past.

Could it have anything to do with the fact Axis uses MPEG-ES formats?
Any other ideas?

Thanks
Tom

--- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:

From: Tom Hendrick <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email], "Discussion of the development of and with GStreamer" <[hidden email]>
Date: Saturday, April 9, 2011, 5:13 PM

Thanks Tim,

I can see a live feed from the Axis camera when I do:

gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp


I can't figure out how to modify my transmit and receive commands given that I need to depay.  I've read up on the gstreamer site and checked other forums but still can't figure it out.   When I do "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !     rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming task paused, reason not-linked (-1)". 


Do you know how I would modify them, here they are again?

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !  filesink=txcap.ts

gst-launch playbin uri=file://txcap.ts

Thanks
Tom


--- On Sat, 4/9/11, Tim-Philipp Müller <[hidden email]> wrote:

From: Tim-Philipp Müller <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email]
Date: Saturday, April 9, 2011, 10:49 AM

On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:

Hi,

>
> As a quick test, I am (..) just trying the following:
>
> Transmitter :
> -------------------
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> filesink=txcap.ts
>
> I let this run for 20 seconds and control ^C out of it.
>
> Receiver:
> -------------
> gst-launch playbin uri=file://txcap.ts
>
>
> The problem is that when I run the gst-launch playbin=file://txcap.ts
> the video file plays very fast and then closes.  The quality also
> doesn't look as good as when I use "vlc
> rtsp://192.168.0.90/mpeg4/media.amp"
>
> I'm a beginner with gstreamer so I'm not sure how to modify the
> transmit and receive command lines to properly set the frame rate,
> codec, etc.  Also another problem is that I want to see this live on
> the receiver, so setting gstreamer to run for a specified amount of
> time so that the header is written properly will not allow me to see
> this real-time on the receive side.  Any suggestions?
>

This works I presume:

gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Note that rtspsrc outputs RTP packets, which you need to depayload using
an appropriate depayloader (rtpmp2tdepay? rtpmp4gdepay? rtpmp4vdepay?).

Writing RTP packets to file like you do now is not going to work.

Cheers
  -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-----Inline Attachment Follows-----

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
In reply to this post by Tim-Philipp Müller-2
Hi Tim,
gst-launch-0.10 -v playvin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

gives:

Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://192.168.0.90/mpeg4/media.amp"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0: latency = 2000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0: buffer-mode = slave (1)
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 5000000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1433855680_96.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink.GstProxyPad:proxypad5: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b008000001b5891300000100000001200086c40fa28a021e0a21
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: always-ok = FALSE
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0: active-pad = (GstPlaybin2SelectorPad) sink0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b008000001b5891300000100000001200086c40fa28a021e0a21
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0.GstProxyPad:proxypad9: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0.GstProxyPad:proxypad8: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink.GstProxyPad:proxypad10: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad12: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink.GstProxyPad:proxypad11: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_1433855680: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp
ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage: Output window was closed
Additional debug info:
xvimagesink.c(1316): gst_xvimagesink_handle_xevents (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage
Execution ended after 10632288091 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: caps = NULL
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_1433855680: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...


--- On Sat, 4/9/11, Tim-Philipp Müller <[hidden email]> wrote:

From: Tim-Philipp Müller <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email]
Date: Saturday, April 9, 2011, 5:28 PM

On Sat, 2011-04-09 at 10:13 -0700, Tom Hendrick wrote:

> I can see a live feed from the Axis camera when I do:
>
> gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp
>
> I can't figure out how to modify my transmit and receive commands
> given that I need to depay.  I've read up on the gstreamer site and
> checked other forums but still can't figure it out.   When I do
> "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming
> task paused, reason not-linked (-1)". 
>
> Do you know how I would modify them, here they are again?
>

What does this output:

gst-launch-0.10 -v playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Cheers
-Tim

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Mathias Gyllengahm
Hi Tom,

I don't have a solution, just wanted to mention that I have similar problems with a video server that we're using (also rstp). However, I never get as far as you do. When specifying a repay sink manually (not the same as you do) I get the "not linked -1" you get. When using playbin it appears as if the system doesn't find the depay sink. Posted list about this a couple of weeks ago.

/Mathias

2011/4/9 Tom Hendrick <[hidden email]>
Hi Tim,
gst-launch-0.10 -v playvin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

gives:

Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://192.168.0.90/mpeg4/media.amp"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0: latency = 2000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0: buffer-mode = slave (1)
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 5000000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1433855680_96.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink.GstProxyPad:proxypad5: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b008000001b5891300000100000001200086c40fa28a021e0a21
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)8, config=(string)000001B008000001B5891300000100000001200086C40FA28A021E0A21, a-mpeg4-iod=(string)\"\\ \\\"data:application/mpeg4-iod\\;base64\\,AoFSAE8BAf8IAQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFBQ2NRQUFBbkVBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA\\\"\", a-isma-compliance=(string)\"1\\,1.0\\,1\", a-framerate=(string)1.0, a-mpeg4-esid=(string)201, clock-base=(uint)530093665, seqnum-base=(uint)24292, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: always-ok = FALSE
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0: active-pad = (GstPlaybin2SelectorPad) sink0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b008000001b5891300000100000001200086c40fa28a021e0a21
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0.GstProxyPad:proxypad9: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0.GstProxyPad:proxypad8: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink.GstProxyPad:proxypad10: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad12: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink.GstProxyPad:proxypad11: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_1433855680: caps = application/x-rtcp
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp
ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage: Output window was closed
Additional debug info:
xvimagesink.c(1316): gst_xvimagesink_handle_xevents (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage
Execution ended after 10632288091 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstVideoScale:vscale.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstFFMpegCsp:vconv.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:video_raw_sink: caps = NULL
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: caps = NULL
/GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1433855680_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_96: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_1433855680: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...



--- On Sat, 4/9/11, Tim-Philipp Müller <[hidden email]> wrote:

From: Tim-Philipp Müller <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email]
Date: Saturday, April 9, 2011, 5:28 PM


On Sat, 2011-04-09 at 10:13 -0700, Tom Hendrick wrote:
> I can see a live feed from the Axis camera when I do:
>
> gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp
>
> I can't figure out how to modify my transmit and receive commands
> given that I need to depay.  I've read up on the gstreamer site and
> checked other forums but still can't figure it out.   When I do
> "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming
> task paused, reason not-linked (-1)". 
>
> Do you know how I would modify them, here they are again?
>

What does this output:

gst-launch-0.10 -v playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp

?

Cheers
-Tim

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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
Reply | Threaded
Open this post in threaded view
|

Re: Help with Gstreamer and RTSP with Axis Camera

Mailing List SVR
In reply to this post by Tom Hendrick
You need a muxer try this:

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! matroskamux ! filesink location=test.mkv

then you'll be able to play the video with playbin.

You can also try:

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! gdppay ! filesink location=test.gdp

and then:

gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
autovideosink

regards
Nicola



Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha scritto:

>
> I tried:
>
>  gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! filesink=txcap.ts
>
> and I didn't get the link error and it saved to a file.
>
> When I try to play it with gstreamer using:
>
> gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10 playbin2
> uri=file://txcap.ts,
>
> it plays too fast and the lower half of the each frame has some weird
> block distortions.
>
> When I do:
> mplayer txcap.ts  it also plays too fast but I don't see the weird
> block distortions on the lower left half of each frame, but when I do
> mplayer -fps 1 txcap.ts it plays fine.
>
>
> When I do gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
> it shows the video feed just fine without that distotion in the lower
> half.  I'd like to make the saved file work with gstreamer because I
> had some cache problems with mplayer on the receiver in the past.
>
> Could it have anything to do with the fact Axis uses MPEG-ES formats?
> Any other ideas?
>
> Thanks
> Tom
>
> --- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:
>        
>         From: Tom Hendrick <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: [hidden email], "Discussion of the development of and
>         with GStreamer" <[hidden email]>
>         Date: Saturday, April 9, 2011, 5:13 PM
>        
>         Thanks Tim,
>        
>         I can see a live feed from the Axis camera when I do:
>        
>         gst-launch-0.10 playbin2
>         uri=rtsp://192.168.0.90/mpeg4/media.amp
>        
>        
>         I can't figure out how to modify my transmit and receive
>         commands given that I need to depay.  I've read up on the
>         gstreamer site and checked other forums but still can't figure
>         it out.   When I do "gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4gdepay ! filesink=txcap.ts" I get an error saying
>         "streaming task paused, reason not-linked (-1)".  
>        
>        
>         Do you know how I would modify them, here they are again?
>        
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         filesink=txcap.ts
>        
>         gst-launch playbin uri=file://txcap.ts
>        
>         Thanks
>         Tom
>        
>        
>         --- On Sat, 4/9/11, Tim-Philipp Müller <[hidden email]>
>         wrote:
>                
>                 From: Tim-Philipp Müller <[hidden email]>
>                 Subject: Re: Help with Gstreamer and RTSP with Axis
>                 Camera
>                 To: [hidden email]
>                 Date: Saturday, April 9, 2011, 10:49 AM
>                
>                 On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:
>                
>                 Hi,
>                
>                 >
>                 > As a quick test, I am (..) just trying the
>                 following:
>                 >
>                 > Transmitter :
>                 > -------------------
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > filesink=txcap.ts
>                 >
>                 > I let this run for 20 seconds and control ^C out of
>                 it.
>                 >
>                 > Receiver:
>                 > -------------
>                 > gst-launch playbin uri=file://txcap.ts
>                 >
>                 >
>                 > The problem is that when I run the gst-launch
>                 playbin=file://txcap.ts
>                 > the video file plays very fast and then closes.  The
>                 quality also
>                 > doesn't look as good as when I use "vlc
>                 > rtsp://192.168.0.90/mpeg4/media.amp"
>                 >
>                 > I'm a beginner with gstreamer so I'm not sure how to
>                 modify the
>                 > transmit and receive command lines to properly set
>                 the frame rate,
>                 > codec, etc.  Also another problem is that I want to
>                 see this live on
>                 > the receiver, so setting gstreamer to run for a
>                 specified amount of
>                 > time so that the header is written properly will not
>                 allow me to see
>                 > this real-time on the receive side.  Any
>                 suggestions?
>                 >
>                
>                 This works I presume:
>                
>                 gst-launch-0.10 playbin2
>                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>                
>                 ?
>                
>                 Note that rtspsrc outputs RTP packets, which you need
>                 to depayload using
>                 an appropriate depayloader (rtpmp2tdepay?
>                 rtpmp4gdepay? rtpmp4vdepay?).
>                
>                 Writing RTP packets to file like you do now is not
>                 going to work.
>                
>                 Cheers
>                   -Tim
>                
>                 _______________________________________________
>                 gstreamer-devel mailing list
>                 [hidden email]
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                
>        
>         -----Inline Attachment Follows-----
>        
>         _______________________________________________
>         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
Reply | Threaded
Open this post in threaded view
|

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Thanks so much,
When I run:

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! matroskamux ! filesink location=test.mkv

I get :  streaming task paused, reason not-negotiated (-4)

when I run :

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! gdppay ! filesink location=test.gdp

Control ^C out of it, and then:

gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
autovideosink

It works!  but the quality of the image is much lower than when I run
gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp


Is this because of the muxer, what else can I try?

thanks
Tom



--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Discussion of the development of and with GStreamer" <[hidden email]>
Cc: [hidden email], "Tom Hendrick" <[hidden email]>
Date: Saturday, April 9, 2011, 7:25 PM

You need a muxer try this:

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! matroskamux ! filesink location=test.mkv

then you'll be able to play the video with playbin.

You can also try:

gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
rtpmp4vdepay ! gdppay ! filesink location=test.gdp

and then:

gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
autovideosink

regards
Nicola



Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha scritto:

>
> I tried:
>
>  gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! filesink=txcap.ts
>
> and I didn't get the link error and it saved to a file.
>
> When I try to play it with gstreamer using:
>
> gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10 playbin2
> uri=file://txcap.ts,
>
> it plays too fast and the lower half of the each frame has some weird
> block distortions.
>
> When I do:
> mplayer txcap.ts  it also plays too fast but I don't see the weird
> block distortions on the lower left half of each frame, but when I do
> mplayer -fps 1 txcap.ts it plays fine.
>
>
> When I do gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
> it shows the video feed just fine without that distotion in the lower
> half.  I'd like to make the saved file work with gstreamer because I
> had some cache problems with mplayer on the receiver in the past.
>
> Could it have anything to do with the fact Axis uses MPEG-ES formats?
> Any other ideas?
>
> Thanks
> Tom
>
> --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         
>         From: Tom Hendrick <sdtom182@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: t.i.m@..., "Discussion of the development of and
>         with GStreamer" <gstreamer-devel@...>
>         Date: Saturday, April 9, 2011, 5:13 PM
>         
>         Thanks Tim,
>         
>         I can see a live feed from the Axis camera when I do:
>         
>         gst-launch-0.10 playbin2
>         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         
>         
>         I can't figure out how to modify my transmit and receive
>         commands given that I need to depay.  I've read up on the
>         gstreamer site and checked other forums but still can't figure
>         it out.   When I do "gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4gdepay ! filesink=txcap.ts" I get an error saying
>         "streaming task paused, reason not-linked (-1)". 
>         
>         
>         Do you know how I would modify them, here they are again?
>         
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         filesink=txcap.ts
>         
>         gst-launch playbin uri=file://txcap.ts
>         
>         Thanks
>         Tom
>         
>         
>         --- On Sat, 4/9/11, Tim-Philipp Müller <t.i.m@...>
>         wrote:
>                 
>                 From: Tim-Philipp Müller <t.i.m@...>
>                 Subject: Re: Help with Gstreamer and RTSP with Axis
>                 Camera
>                 To: gstreamer-devel@...
>                 Date: Saturday, April 9, 2011, 10:49 AM
>                 
>                 On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:
>                 
>                 Hi,
>                 
>                 >
>                 > As a quick test, I am (..) just trying the
>                 following:
>                 >
>                 > Transmitter :
>                 > -------------------
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > filesink=txcap.ts
>                 >
>                 > I let this run for 20 seconds and control ^C out of
>                 it.
>                 >
>                 > Receiver:
>                 > -------------
>                 > gst-launch playbin uri=file://txcap.ts
>                 >
>                 >
>                 > The problem is that when I run the gst-launch
>                 playbin=file://txcap.ts
>                 > the video file plays very fast and then closes.  The
>                 quality also
>                 > doesn't look as good as when I use "vlc
>                 > rtsp://192.168.0.90/mpeg4/media.amp"
>                 >
>                 > I'm a beginner with gstreamer so I'm not sure how to
>                 modify the
>                 > transmit and receive command lines to properly set
>                 the frame rate,
>                 > codec, etc.  Also another problem is that I want to
>                 see this live on
>                 > the receiver, so setting gstreamer to run for a
>                 specified amount of
>                 > time so that the header is written properly will not
>                 allow me to see
>                 > this real-time on the receive side.  Any
>                 suggestions?
>                 >
>                 
>                 This works I presume:
>                 
>                 gst-launch-0.10 playbin2
>                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 
>                 ?
>                 
>                 Note that rtspsrc outputs RTP packets, which you need
>                 to depayload using
>                 an appropriate depayloader (rtpmp2tdepay?
>                 rtpmp4gdepay? rtpmp4vdepay?).
>                 
>                 Writing RTP packets to file like you do now is not
>                 going to work.
>                 
>                 Cheers
>                   -Tim
>                 
>                 _______________________________________________
>                 gstreamer-devel mailing list
>                 gstreamer-devel@...
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 
>         
>         -----Inline Attachment Follows-----
>         
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel@...
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@...
> 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: Help with Gstreamer and RTSP with Axis Camera

Mailing List SVR
Sorry the right pipe is the following:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! matroskamux ! filesink location=/tmp/test.mkv

and then playback with playbin or any stardard player

or

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp

and then playback with


gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink

Nicola

Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom Hendrick ha scritto:

> Thanks so much,
> When I run:
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>
> I get :  streaming task paused, reason not-negotiated (-4)
>
> when I run :
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>
> Control ^C out of it, and then:
>
> gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
> autovideosink
>
> It works!  but the quality of the image is much lower than when I run
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Is this because of the muxer, what else can I try?
>
> thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:
>        
>         From: Mailing List SVR <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <[hidden email]>
>         Cc: [hidden email], "Tom Hendrick" <[hidden email]>
>         Date: Saturday, April 9, 2011, 7:25 PM
>        
>         You need a muxer try this:
>        
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>        
>         then you'll be able to play the video with playbin.
>        
>         You can also try:
>        
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>        
>         and then:
>        
>         gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
>         autovideosink
>        
>         regards
>         Nicola
>        
>        
>        
>         Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha
>         scritto:
>         >
>         > I tried:
>         >
>         >  gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         > rtpmp4vdepay ! filesink=txcap.ts
>         >
>         > and I didn't get the link error and it saved to a file.
>         >
>         > When I try to play it with gstreamer using:
>         >
>         > gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10
>         playbin2
>         > uri=file://txcap.ts,
>         >
>         > it plays too fast and the lower half of the each frame has
>         some weird
>         > block distortions.
>         >
>         > When I do:
>         > mplayer txcap.ts  it also plays too fast but I don't see the
>         weird
>         > block distortions on the lower left half of each frame, but
>         when I do
>         > mplayer -fps 1 txcap.ts it plays fine.
>         >
>         >
>         > When I do gst-launch playbin
>         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         > it shows the video feed just fine without that distotion in
>         the lower
>         > half.  I'd like to make the saved file work with gstreamer
>         because I
>         > had some cache problems with mplayer on the receiver in the
>         past.
>         >
>         > Could it have anything to do with the fact Axis uses MPEG-ES
>         formats?
>         > Any other ideas?
>         >
>         > Thanks
>         > Tom
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:
>         >        
>         >         From: Tom Hendrick <[hidden email]>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: [hidden email], "Discussion of the development
>         of and
>         >         with GStreamer"
>         <[hidden email]>
>         >         Date: Saturday, April 9, 2011, 5:13 PM
>         >        
>         >         Thanks Tim,
>         >        
>         >         I can see a live feed from the Axis camera when I
>         do:
>         >        
>         >         gst-launch-0.10 playbin2
>         >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >        
>         >        
>         >         I can't figure out how to modify my transmit and
>         receive
>         >         commands given that I need to depay.  I've read up
>         on the
>         >         gstreamer site and checked other forums but still
>         can't figure
>         >         it out.   When I do "gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         rtpmp4gdepay ! filesink=txcap.ts" I get an error
>         saying
>         >         "streaming task paused, reason not-linked (-1)".  
>         >        
>         >        
>         >         Do you know how I would modify them, here they are
>         again?
>         >        
>         >         gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         filesink=txcap.ts
>         >        
>         >         gst-launch playbin uri=file://txcap.ts
>         >        
>         >         Thanks
>         >         Tom
>         >        
>         >        
>         >         --- On Sat, 4/9/11, Tim-Philipp Müller
>         <[hidden email]>
>         >         wrote:
>         >                
>         >                 From: Tim-Philipp Müller <[hidden email]>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: [hidden email]
>         >                 Date: Saturday, April 9, 2011, 10:49 AM
>         >                
>         >                 On Fri, 2011-04-08 at 19:12 -0700, Tom
>         Hendrick wrote:
>         >                
>         >                 Hi,
>         >                
>         >                 >
>         >                 > As a quick test, I am (..) just trying the
>         >                 following:
>         >                 >
>         >                 > Transmitter :
>         >                 > -------------------
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > filesink=txcap.ts
>         >                 >
>         >                 > I let this run for 20 seconds and control
>         ^C out of
>         >                 it.
>         >                 >
>         >                 > Receiver:
>         >                 > -------------
>         >                 > gst-launch playbin uri=file://txcap.ts
>         >                 >
>         >                 >
>         >                 > The problem is that when I run the
>         gst-launch
>         >                 playbin=file://txcap.ts
>         >                 > the video file plays very fast and then
>         closes.  The
>         >                 quality also
>         >                 > doesn't look as good as when I use "vlc
>         >                 > rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >
>         >                 > I'm a beginner with gstreamer so I'm not
>         sure how to
>         >                 modify the
>         >                 > transmit and receive command lines to
>         properly set
>         >                 the frame rate,
>         >                 > codec, etc.  Also another problem is that
>         I want to
>         >                 see this live on
>         >                 > the receiver, so setting gstreamer to run
>         for a
>         >                 specified amount of
>         >                 > time so that the header is written
>         properly will not
>         >                 allow me to see
>         >                 > this real-time on the receive side.  Any
>         >                 suggestions?
>         >                 >
>         >                
>         >                 This works I presume:
>         >                
>         >                 gst-launch-0.10 playbin2
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                
>         >                 ?
>         >                
>         >                 Note that rtspsrc outputs RTP packets, which
>         you need
>         >                 to depayload using
>         >                 an appropriate depayloader (rtpmp2tdepay?
>         >                 rtpmp4gdepay? rtpmp4vdepay?).
>         >                
>         >                 Writing RTP packets to file like you do now
>         is not
>         >                 going to work.
>         >                
>         >                 Cheers
>         >                   -Tim
>         >                
>         >
>            _______________________________________________
>         >                 gstreamer-devel mailing list
>         >                 [hidden email]
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                
>         >        
>         >         -----Inline Attachment Follows-----
>         >        
>         >         _______________________________________________
>         >         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
Reply | Threaded
Open this post in threaded view
|

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Nicola, Thanks so much!

When I do:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp

and then playback with

gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink


It works great.  Do you think this uses a lot more processing power than using something like mencoder or openRTSP to just copy the stream and save it to file?

Thanks so much for your help
Tom

--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Tom Hendrick" <[hidden email]>
Cc: "Discussion of the development of and with GStreamer" <[hidden email]>, [hidden email]
Date: Saturday, April 9, 2011, 8:57 PM

Sorry the right pipe is the following:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! matroskamux ! filesink location=/tmp/test.mkv

and then playback with playbin or any stardard player

or

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp

and then playback with


gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink

Nicola

Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom Hendrick ha scritto:

> Thanks so much,
> When I run:
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>
> I get :  streaming task paused, reason not-negotiated (-4)
>
> when I run :
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>
> Control ^C out of it, and then:
>
> gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
> autovideosink
>
> It works!  but the quality of the image is much lower than when I run
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Is this because of the muxer, what else can I try?
>
> thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Mailing List SVR <lists@...> wrote:
>         
>         From: Mailing List SVR <lists@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <gstreamer-devel@...>
>         Cc: t.i.m@..., "Tom Hendrick" <sdtom182@...>
>         Date: Saturday, April 9, 2011, 7:25 PM
>         
>         You need a muxer try this:
>         
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>         
>         then you'll be able to play the video with playbin.
>         
>         You can also try:
>         
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>         
>         and then:
>         
>         gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
>         autovideosink
>         
>         regards
>         Nicola
>         
>         
>         
>         Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha
>         scritto:
>         >
>         > I tried:
>         >
>         >  gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         > rtpmp4vdepay ! filesink=txcap.ts
>         >
>         > and I didn't get the link error and it saved to a file.
>         >
>         > When I try to play it with gstreamer using:
>         >
>         > gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10
>         playbin2
>         > uri=file://txcap.ts,
>         >
>         > it plays too fast and the lower half of the each frame has
>         some weird
>         > block distortions.
>         >
>         > When I do:
>         > mplayer txcap.ts  it also plays too fast but I don't see the
>         weird
>         > block distortions on the lower left half of each frame, but
>         when I do
>         > mplayer -fps 1 txcap.ts it plays fine.
>         >
>         >
>         > When I do gst-launch playbin
>         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         > it shows the video feed just fine without that distotion in
>         the lower
>         > half.  I'd like to make the saved file work with gstreamer
>         because I
>         > had some cache problems with mplayer on the receiver in the
>         past.
>         >
>         > Could it have anything to do with the fact Axis uses MPEG-ES
>         formats?
>         > Any other ideas?
>         >
>         > Thanks
>         > Tom
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         >         
>         >         From: Tom Hendrick <sdtom182@...>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: t.i.m@..., "Discussion of the development
>         of and
>         >         with GStreamer"
>         <gstreamer-devel@...>
>         >         Date: Saturday, April 9, 2011, 5:13 PM
>         >         
>         >         Thanks Tim,
>         >         
>         >         I can see a live feed from the Axis camera when I
>         do:
>         >         
>         >         gst-launch-0.10 playbin2
>         >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >         
>         >         
>         >         I can't figure out how to modify my transmit and
>         receive
>         >         commands given that I need to depay.  I've read up
>         on the
>         >         gstreamer site and checked other forums but still
>         can't figure
>         >         it out.   When I do "gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         rtpmp4gdepay ! filesink=txcap.ts" I get an error
>         saying
>         >         "streaming task paused, reason not-linked (-1)". 
>         >         
>         >         
>         >         Do you know how I would modify them, here they are
>         again?
>         >         
>         >         gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         filesink=txcap.ts
>         >         
>         >         gst-launch playbin uri=file://txcap.ts
>         >         
>         >         Thanks
>         >         Tom
>         >         
>         >         
>         >         --- On Sat, 4/9/11, Tim-Philipp Müller
>         <t.i.m@...>
>         >         wrote:
>         >                 
>         >                 From: Tim-Philipp Müller <t.i.m@...>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: gstreamer-devel@...
>         >                 Date: Saturday, April 9, 2011, 10:49 AM
>         >                 
>         >                 On Fri, 2011-04-08 at 19:12 -0700, Tom
>         Hendrick wrote:
>         >                 
>         >                 Hi,
>         >                 
>         >                 >
>         >                 > As a quick test, I am (..) just trying the
>         >                 following:
>         >                 >
>         >                 > Transmitter :
>         >                 > -------------------
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > filesink=txcap.ts
>         >                 >
>         >                 > I let this run for 20 seconds and control
>         ^C out of
>         >                 it.
>         >                 >
>         >                 > Receiver:
>         >                 > -------------
>         >                 > gst-launch playbin uri=file://txcap.ts
>         >                 >
>         >                 >
>         >                 > The problem is that when I run the
>         gst-launch
>         >                 playbin=file://txcap.ts
>         >                 > the video file plays very fast and then
>         closes.  The
>         >                 quality also
>         >                 > doesn't look as good as when I use "vlc
>         >                 > rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >
>         >                 > I'm a beginner with gstreamer so I'm not
>         sure how to
>         >                 modify the
>         >                 > transmit and receive command lines to
>         properly set
>         >                 the frame rate,
>         >                 > codec, etc.  Also another problem is that
>         I want to
>         >                 see this live on
>         >                 > the receiver, so setting gstreamer to run
>         for a
>         >                 specified amount of
>         >                 > time so that the header is written
>         properly will not
>         >                 allow me to see
>         >                 > this real-time on the receive side.  Any
>         >                 suggestions?
>         >                 >
>         >                 
>         >                 This works I presume:
>         >                 
>         >                 gst-launch-0.10 playbin2
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 
>         >                 ?
>         >                 
>         >                 Note that rtspsrc outputs RTP packets, which
>         you need
>         >                 to depayload using
>         >                 an appropriate depayloader (rtpmp2tdepay?
>         >                 rtpmp4gdepay? rtpmp4vdepay?).
>         >                 
>         >                 Writing RTP packets to file like you do now
>         is not
>         >                 going to work.
>         >                 
>         >                 Cheers
>         >                   -Tim
>         >                 
>         >
>            _______________________________________________
>         >                 gstreamer-devel mailing list
>         >                 gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 
>         >         
>         >         -----Inline Attachment Follows-----
>         >         
>         >         _______________________________________________
>         >         gstreamer-devel mailing list
>         >         gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >         
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > gstreamer-devel@...
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
>         

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Mailing List SVR
Hi,

with the given pipeline the cpu usage is very low ( on my pc 1% or so)
however you can see the cpu usage with "ps aux" and see if gstreamer
perfom better than mencoder or openRTSP I guess the cpu usage is similar
in this use case,

bye
Nicola

Il giorno sab, 09/04/2011 alle 14.11 -0700, Tom Hendrick ha scritto:

> Nicola, Thanks so much!
>
> When I do:
>
> gst-launch-0.10 -e rtspsrc
> location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
> rtpmp4vdepay !
> mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp
>
> and then playback with
>
> gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
> ffdec_mpeg4 ! xvimagesink
>
>
> It works great.  Do you think this uses a lot more processing power
> than using something like mencoder or openRTSP to just copy the stream
> and save it to file?
>
> Thanks so much for your help
> Tom
>
> --- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:
>        
>         From: Mailing List SVR <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Tom Hendrick" <[hidden email]>
>         Cc: "Discussion of the development of and with GStreamer"
>         <[hidden email]>, [hidden email]
>         Date: Saturday, April 9, 2011, 8:57 PM
>        
>         Sorry the right pipe is the following:
>        
>         gst-launch-0.10 -e rtspsrc
>         location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         mpeg4videoparse ! matroskamux ! filesink
>         location=/tmp/test.mkv
>        
>         and then playback with playbin or any stardard player
>        
>         or
>        
>         gst-launch-0.10 -e rtspsrc
>         location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp
>        
>         and then playback with
>        
>        
>         gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         ffdec_mpeg4 ! xvimagesink
>        
>         Nicola
>        
>         Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom Hendrick ha
>         scritto:
>         > Thanks so much,
>         > When I run:
>         >
>         > gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         > rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>         >
>         > I get :  streaming task paused, reason not-negotiated (-4)
>         >
>         > when I run :
>         >
>         > gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         > rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>         >
>         > Control ^C out of it, and then:
>         >
>         > gst-launch filesrc location=test.mkv ! gdpdepay !
>         decodebin2 !
>         > autovideosink
>         >
>         > It works!  but the quality of the image is much lower than
>         when I run
>         > gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >
>         >
>         > Is this because of the muxer, what else can I try?
>         >
>         > thanks
>         > Tom
>         >
>         >
>         >
>         > --- On Sat, 4/9/11, Mailing List SVR
>         <[hidden email]> wrote:
>         >        
>         >         From: Mailing List SVR <[hidden email]>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: "Discussion of the development of and with
>         GStreamer"
>         >         <[hidden email]>
>         >         Cc: [hidden email], "Tom Hendrick"
>         <[hidden email]>
>         >         Date: Saturday, April 9, 2011, 7:25 PM
>         >        
>         >         You need a muxer try this:
>         >        
>         >         gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         rtpmp4vdepay ! matroskamux ! filesink
>         location=test.mkv
>         >        
>         >         then you'll be able to play the video with playbin.
>         >        
>         >         You can also try:
>         >        
>         >         gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>         >        
>         >         and then:
>         >        
>         >         gst-launch filesrc location=test.mkv ! gdpdepay !
>         decodebin2 !
>         >         autovideosink
>         >        
>         >         regards
>         >         Nicola
>         >        
>         >        
>         >        
>         >         Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom
>         Hendrick ha
>         >         scritto:
>         >         >
>         >         > I tried:
>         >         >
>         >         >  gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         > rtpmp4vdepay ! filesink=txcap.ts
>         >         >
>         >         > and I didn't get the link error and it saved to a
>         file.
>         >         >
>         >         > When I try to play it with gstreamer using:
>         >         >
>         >         > gst-launch playbin uri=file://txcap.ts, or
>         gst-launch-0.10
>         >         playbin2
>         >         > uri=file://txcap.ts,
>         >         >
>         >         > it plays too fast and the lower half of the each
>         frame has
>         >         some weird
>         >         > block distortions.
>         >         >
>         >         > When I do:
>         >         > mplayer txcap.ts  it also plays too fast but I
>         don't see the
>         >         weird
>         >         > block distortions on the lower left half of each
>         frame, but
>         >         when I do
>         >         > mplayer -fps 1 txcap.ts it plays fine.
>         >         >
>         >         >
>         >         > When I do gst-launch playbin
>         >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >         > it shows the video feed just fine without that
>         distotion in
>         >         the lower
>         >         > half.  I'd like to make the saved file work with
>         gstreamer
>         >         because I
>         >         > had some cache problems with mplayer on the
>         receiver in the
>         >         past.
>         >         >
>         >         > Could it have anything to do with the fact Axis
>         uses MPEG-ES
>         >         formats?
>         >         > Any other ideas?
>         >         >
>         >         > Thanks
>         >         > Tom
>         >         >
>         >         > --- On Sat, 4/9/11, Tom Hendrick
>         <[hidden email]> wrote:
>         >         >        
>         >         >         From: Tom Hendrick <[hidden email]>
>         >         >         Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >         Camera
>         >         >         To: [hidden email], "Discussion of the
>         development
>         >         of and
>         >         >         with GStreamer"
>         >         <[hidden email]>
>         >         >         Date: Saturday, April 9, 2011, 5:13 PM
>         >         >        
>         >         >         Thanks Tim,
>         >         >        
>         >         >         I can see a live feed from the Axis camera
>         when I
>         >         do:
>         >         >        
>         >         >         gst-launch-0.10 playbin2
>         >         >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >         >        
>         >         >        
>         >         >         I can't figure out how to modify my
>         transmit and
>         >         receive
>         >         >         commands given that I need to depay.  I've
>         read up
>         >         on the
>         >         >         gstreamer site and checked other forums
>         but still
>         >         can't figure
>         >         >         it out.   When I do "gst-launch rtspsrc
>         >         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         >         rtpmp4gdepay ! filesink=txcap.ts" I get an
>         error
>         >         saying
>         >         >         "streaming task paused, reason not-linked
>         (-1)".  
>         >         >        
>         >         >        
>         >         >         Do you know how I would modify them, here
>         they are
>         >         again?
>         >         >        
>         >         >         gst-launch rtspsrc
>         >         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         >         filesink=txcap.ts
>         >         >        
>         >         >         gst-launch playbin uri=file://txcap.ts
>         >         >        
>         >         >         Thanks
>         >         >         Tom
>         >         >        
>         >         >        
>         >         >         --- On Sat, 4/9/11, Tim-Philipp Müller
>         >         <[hidden email]>
>         >         >         wrote:
>         >         >                
>         >         >                 From: Tim-Philipp Müller
>         <[hidden email]>
>         >         >                 Subject: Re: Help with Gstreamer
>         and RTSP
>         >         with Axis
>         >         >                 Camera
>         >         >                 To:
>         [hidden email]
>         >         >                 Date: Saturday, April 9, 2011,
>         10:49 AM
>         >         >                
>         >         >                 On Fri, 2011-04-08 at 19:12 -0700,
>         Tom
>         >         Hendrick wrote:
>         >         >                
>         >         >                 Hi,
>         >         >                
>         >         >                 >
>         >         >                 > As a quick test, I am (..) just
>         trying the
>         >         >                 following:
>         >         >                 >
>         >         >                 > Transmitter :
>         >         >                 > -------------------
>         >         >                 > gst-launch rtspsrc
>         >         >
>         >            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         >                 > filesink=txcap.ts
>         >         >                 >
>         >         >                 > I let this run for 20 seconds
>         and control
>         >         ^C out of
>         >         >                 it.
>         >         >                 >
>         >         >                 > Receiver:
>         >         >                 > -------------
>         >         >                 > gst-launch playbin
>         uri=file://txcap.ts
>         >         >                 >
>         >         >                 >
>         >         >                 > The problem is that when I run
>         the
>         >         gst-launch
>         >         >                 playbin=file://txcap.ts
>         >         >                 > the video file plays very fast
>         and then
>         >         closes.  The
>         >         >                 quality also
>         >         >                 > doesn't look as good as when I
>         use "vlc
>         >         >                 >
>         rtsp://192.168.0.90/mpeg4/media.amp"
>         >         >                 >
>         >         >                 > I'm a beginner with gstreamer so
>         I'm not
>         >         sure how to
>         >         >                 modify the
>         >         >                 > transmit and receive command
>         lines to
>         >         properly set
>         >         >                 the frame rate,
>         >         >                 > codec, etc.  Also another
>         problem is that
>         >         I want to
>         >         >                 see this live on
>         >         >                 > the receiver, so setting
>         gstreamer to run
>         >         for a
>         >         >                 specified amount of
>         >         >                 > time so that the header is
>         written
>         >         properly will not
>         >         >                 allow me to see
>         >         >                 > this real-time on the receive
>         side.  Any
>         >         >                 suggestions?
>         >         >                 >
>         >         >                
>         >         >                 This works I presume:
>         >         >                
>         >         >                 gst-launch-0.10 playbin2
>         >         >
>            uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >         >                
>         >         >                 ?
>         >         >                
>         >         >                 Note that rtspsrc outputs RTP
>         packets, which
>         >         you need
>         >         >                 to depayload using
>         >         >                 an appropriate depayloader
>         (rtpmp2tdepay?
>         >         >                 rtpmp4gdepay? rtpmp4vdepay?).
>         >         >                
>         >         >                 Writing RTP packets to file like
>         you do now
>         >         is not
>         >         >                 going to work.
>         >         >                
>         >         >                 Cheers
>         >         >                   -Tim
>         >         >                
>         >         >
>         >            _______________________________________________
>         >         >                 gstreamer-devel mailing list
>         >         >
>            [hidden email]
>         >         >
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >         >                
>         >         >        
>         >         >         -----Inline Attachment Follows-----
>         >         >        
>         >         >
>            _______________________________________________
>         >         >         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
>        

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

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
In reply to this post by Tom Hendrick
Hi Nikola or anyone else,

In the end I will be working with named pipes with the video file being saved by gstreamer from the axis IP camera.

When I make a named pipe using mkfifo test.gdp
and then do:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&

and then playback with

gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink


it works perfectly with the camera bitrate set at 100kbps and I see the live video feed from the camera.

With the camera set at 10kbps, it starts, and I see the gst-launch playback window with the vide feed but it updates extremely slow.  I see a message in the command line saying


There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/
GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.



Does anyone have advice on additional parameters I may need to use?  Unfortunately I have a need to work at 10kbps.  At this low of bitrate I have problems with mplayer and mencoder.

 However even at 10kbps, the following works fine

gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp


Thanks
Tom



--- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:

From: Tom Hendrick <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: [hidden email], "Discussion of the development of and with GStreamer" <[hidden email]>
Date: Saturday, April 9, 2011, 9:11 PM

Nicola, Thanks so much!

When I do:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp

and then playback with

gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink


It works great.  Do you think this uses a lot more processing power than using something like mencoder or openRTSP to just copy the stream and save it to file?

Thanks so much for your help
Tom

--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Tom Hendrick" <[hidden email]>
Cc: "Discussion of the development of and with GStreamer" <[hidden email]>, [hidden email]
Date: Saturday, April 9, 2011, 8:57 PM

Sorry the right pipe is the following:

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! matroskamux ! filesink location=/tmp/test.mkv

and then playback with playbin or any stardard player

or

gst-launch-0.10 -e rtspsrc
location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp

and then playback with


gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink

Nicola

Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom Hendrick ha scritto:

> Thanks so much,
> When I run:
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>
> I get :  streaming task paused, reason not-negotiated (-4)
>
> when I run :
>
> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !
> rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>
> Control ^C out of it, and then:
>
> gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
> autovideosink
>
> It works!  but the quality of the image is much lower than when I run
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Is this because of the muxer, what else can I try?
>
> thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:
>         
>         From: Mailing List SVR <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <[hidden email]>
>         Cc: [hidden email], "Tom Hendrick" <[hidden email]>
>         Date: Saturday, April 9, 2011, 7:25 PM
>         
>         You need a muxer try this:
>         
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! matroskamux ! filesink location=test.mkv
>         
>         then you'll be able to play the video with playbin.
>         
>         You can also try:
>         
>         gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>         
>         and then:
>         
>         gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !
>         autovideosink
>         
>         regards
>         Nicola
>         
>         
>         
>         Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha
>         scritto:
>         >
>         > I tried:
>         >
>         >  gst-launch rtspsrc
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         > rtpmp4vdepay ! filesink=txcap.ts
>         >
>         > and I didn't get the link error and it saved to a file.
>         >
>         > When I try to play it with gstreamer using:
>         >
>         > gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10
>         playbin2
>         > uri=file://txcap.ts,
>         >
>         > it plays too fast and the lower half of the each frame has
>         some weird
>         > block distortions.
>         >
>         > When I do:
>         > mplayer txcap.ts  it also plays too fast but I don't see the
>         weird
>         > block distortions on the lower left half of each frame, but
>         when I do
>         > mplayer -fps 1 txcap.ts it plays fine.
>         >
>         >
>         > When I do gst-launch playbin
>         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         > it shows the video feed just fine without that distotion in
>         the lower
>         > half.  I'd like to make the saved file work with gstreamer
>         because I
>         > had some cache problems with mplayer on the receiver in the
>         past.
>         >
>         > Could it have anything to do with the fact Axis uses MPEG-ES
>         formats?
>         > Any other ideas?
>         >
>         > Thanks
>         > Tom
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:
>         >         
>         >         From: Tom Hendrick <[hidden email]>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: [hidden email], "Discussion of the development
>         of and
>         >         with GStreamer"
>         <[hidden email]>
>         >         Date: Saturday, April 9, 2011, 5:13 PM
>         >         
>         >         Thanks Tim,
>         >         
>         >         I can see a live feed from the Axis camera when I
>         do:
>         >         
>         >         gst-launch-0.10 playbin2
>         >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >         
>         >         
>         >         I can't figure out how to modify my transmit and
>         receive
>         >         commands given that I need to depay.  I've read up
>         on the
>         >         gstreamer site and checked other forums but still
>         can't figure
>         >         it out.   When I do "gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         rtpmp4gdepay ! filesink=txcap.ts" I get an error
>         saying
>         >         "streaming task paused, reason not-linked (-1)". 
>         >         
>         >         
>         >         Do you know how I would modify them, here they are
>         again?
>         >         
>         >         gst-launch rtspsrc
>         >         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >         filesink=txcap.ts
>         >         
>         >         gst-launch playbin uri=file://txcap.ts
>         >         
>         >         Thanks
>         >         Tom
>         >         
>         >         
>         >         --- On Sat, 4/9/11, Tim-Philipp Müller
>         <[hidden email]>
>         >         wrote:
>         >                 
>         >                 From: Tim-Philipp Müller <[hidden email]>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: [hidden email]
>         >                 Date: Saturday, April 9, 2011, 10:49 AM
>         >                 
>         >                 On Fri, 2011-04-08 at 19:12 -0700, Tom
>         Hendrick wrote:
>         >                 
>         >                 Hi,
>         >                 
>         >                 >
>         >                 > As a quick test, I am (..) just trying the
>         >                 following:
>         >                 >
>         >                 > Transmitter :
>         >                 > -------------------
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > filesink=txcap.ts
>         >                 >
>         >                 > I let this run for 20 seconds and control
>         ^C out of
>         >                 it.
>         >                 >
>         >                 > Receiver:
>         >                 > -------------
>         >                 > gst-launch playbin uri=file://txcap.ts
>         >                 >
>         >                 >
>         >                 > The problem is that when I run the
>         gst-launch
>         >                 playbin=file://txcap.ts
>         >                 > the video file plays very fast and then
>         closes.  The
>         >                 quality also
>         >                 > doesn't look as good as when I use "vlc
>         >                 > rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >
>         >                 > I'm a beginner with gstreamer so I'm not
>         sure how to
>         >                 modify the
>         >                 > transmit and receive command lines to
>         properly set
>         >                 the frame rate,
>         >                 > codec, etc.  Also another problem is that
>         I want to
>         >                 see this live on
>         >                 > the receiver, so setting gstreamer to run
>         for a
>         >                 specified amount of
>         >                 > time so that the header is written
>         properly will not
>         >                 allow me to see
>         >                 > this real-time on the receive side.  Any
>         >                 suggestions?
>         >                 >
>         >                 
>         >                 This works I presume:
>         >                 
>         >                 gst-launch-0.10 playbin2
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 
>         >                 ?
>         >                 
>         >                 Note that rtspsrc outputs RTP packets, which
>         you need
>         >                 to depayload using
>         >                 an appropriate depayloader (rtpmp2tdepay?
>         >                 rtpmp4gdepay? rtpmp4vdepay?).
>         >                 
>         >                 Writing RTP packets to file like you do now
>         is not
>         >                 going to work.
>         >                 
>         >                 Cheers
>         >                   -Tim
>         >                 
>         >
>            _______________________________________________
>         >                 gstreamer-devel mailing list
>         >                 [hidden email]
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 
>         >         
>         >         -----Inline Attachment Follows-----
>         >         
>         >         _______________________________________________
>         >         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

-----Inline Attachment Follows-----

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Mailing List SVR
Try "xvimagesink sync=false" should do the work,

Nicola


Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha scritto:

> Hi Nikola or anyone else,
>
> In the end I will be working with named pipes with the video file
> being saved by gstreamer from the axis IP camera.
>
> When I make a named pipe using mkfifo test.gdp
> and then do:
>
> gst-launch-0.10 -e rtspsrc
> location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
> rtpmp4vdepay !
> mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>
> and then playback with
>
> gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
> ffdec_mpeg4 ! xvimagesink
>
>
> it works perfectly with the camera bitrate set at 100kbps and I see
> the live video feed from the camera.
>
> With the camera set at 10kbps, it starts, and I see the gst-launch
> playback window with the vide feed but it updates extremely slow.  I
> see a message in the command line saying
>
>
> There may be a timestamping problem, or this computer is too slow.
> WARNING: from element /GstPipeline:pipeline0/
> GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
> Additional debug info:
> gstbasesink.c(2686): gst_base_sink_is_too_late
> (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> There may be a timestamping problem, or this computer is too slow.
>
>
> Does anyone have advice on additional parameters I may need to use?
> Unfortunately I have a need to work at 10kbps.  At this low of bitrate
> I have problems with mplayer and mencoder.
>
>  However even at 10kbps, the following works fine
>
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:
>        
>         From: Tom Hendrick <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: [hidden email], "Discussion of the development of
>         and with GStreamer" <[hidden email]>
>         Date: Saturday, April 9, 2011, 9:11 PM
>        
>         Nicola, Thanks so much!
>        
>         When I do:
>        
>         gst-launch-0.10 -e rtspsrc
>         location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp
>        
>         and then playback with
>        
>         gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         ffdec_mpeg4 ! xvimagesink
>        
>        
>         It works great.  Do you think this uses a lot more processing
>         power than using something like mencoder or openRTSP to just
>         copy the stream and save it to file?
>        
>         Thanks so much for your help
>         Tom
>        
>         --- On Sat, 4/9/11, Mailing List SVR <[hidden email]>
>         wrote:
>                
>                 From: Mailing List SVR <[hidden email]>
>                 Subject: Re: Help with Gstreamer and RTSP with Axis
>                 Camera
>                 To: "Tom Hendrick" <[hidden email]>
>                 Cc: "Discussion of the development of and with
>                 GStreamer" <[hidden email]>,
>                 [hidden email]
>                 Date: Saturday, April 9, 2011, 8:57 PM
>                
>                 Sorry the right pipe is the following:
>                
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! matroskamux ! filesink
>                 location=/tmp/test.mkv
>                
>                 and then playback with playbin or any stardard player
>                
>                 or
>                
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! gdppay ! filesink
>                 location=/tmp/test.gdp
>                
>                 and then playback with
>                
>                
>                 gst-launch-0.10 filesrc location=/tmp/test.gdp !
>                 gdpdepay !
>                 ffdec_mpeg4 ! xvimagesink
>                
>                 Nicola
>                
>                 Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom
>                 Hendrick ha scritto:
>                 > Thanks so much,
>                 > When I run:
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >
>                 > I get :  streaming task paused, reason
>                 not-negotiated (-4)
>                 >
>                 > when I run :
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>                 >
>                 > Control ^C out of it, and then:
>                 >
>                 > gst-launch filesrc location=test.mkv ! gdpdepay !
>                 decodebin2 !
>                 > autovideosink
>                 >
>                 > It works!  but the quality of the image is much
>                 lower than when I run
>                 > gst-launch playbin
>                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >
>                 >
>                 > Is this because of the muxer, what else can I try?
>                 >
>                 > thanks
>                 > Tom
>                 >
>                 >
>                 >
>                 > --- On Sat, 4/9/11, Mailing List SVR
>                 <[hidden email]> wrote:
>                 >        
>                 >         From: Mailing List SVR
>                 <[hidden email]>
>                 >         Subject: Re: Help with Gstreamer and RTSP
>                 with Axis Camera
>                 >         To: "Discussion of the development of and
>                 with GStreamer"
>                 >         <[hidden email]>
>                 >         Cc: [hidden email], "Tom Hendrick"
>                 <[hidden email]>
>                 >         Date: Saturday, April 9, 2011, 7:25 PM
>                 >        
>                 >         You need a muxer try this:
>                 >        
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >        
>                 >         then you'll be able to play the video with
>                 playbin.
>                 >        
>                 >         You can also try:
>                 >        
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! gdppay ! filesink
>                 location=test.gdp
>                 >        
>                 >         and then:
>                 >        
>                 >         gst-launch filesrc location=test.mkv !
>                 gdpdepay ! decodebin2 !
>                 >         autovideosink
>                 >        
>                 >         regards
>                 >         Nicola
>                 >        
>                 >        
>                 >        
>                 >         Il giorno sab, 09/04/2011 alle 10.33 -0700,
>                 Tom Hendrick ha
>                 >         scritto:
>                 >         >
>                 >         > I tried:
>                 >         >
>                 >         >  gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         > rtpmp4vdepay ! filesink=txcap.ts
>                 >         >
>                 >         > and I didn't get the link error and it
>                 saved to a file.
>                 >         >
>                 >         > When I try to play it with gstreamer
>                 using:
>                 >         >
>                 >         > gst-launch playbin uri=file://txcap.ts, or
>                 gst-launch-0.10
>                 >         playbin2
>                 >         > uri=file://txcap.ts,
>                 >         >
>                 >         > it plays too fast and the lower half of
>                 the each frame has
>                 >         some weird
>                 >         > block distortions.
>                 >         >
>                 >         > When I do:
>                 >         > mplayer txcap.ts  it also plays too fast
>                 but I don't see the
>                 >         weird
>                 >         > block distortions on the lower left half
>                 of each frame, but
>                 >         when I do
>                 >         > mplayer -fps 1 txcap.ts it plays fine.
>                 >         >
>                 >         >
>                 >         > When I do gst-launch playbin
>                 >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         > it shows the video feed just fine without
>                 that distotion in
>                 >         the lower
>                 >         > half.  I'd like to make the saved file
>                 work with gstreamer
>                 >         because I
>                 >         > had some cache problems with mplayer on
>                 the receiver in the
>                 >         past.
>                 >         >
>                 >         > Could it have anything to do with the fact
>                 Axis uses MPEG-ES
>                 >         formats?
>                 >         > Any other ideas?
>                 >         >
>                 >         > Thanks
>                 >         > Tom
>                 >         >
>                 >         > --- On Sat, 4/9/11, Tom Hendrick
>                 <[hidden email]> wrote:
>                 >         >        
>                 >         >         From: Tom Hendrick
>                 <[hidden email]>
>                 >         >         Subject: Re: Help with Gstreamer
>                 and RTSP with Axis
>                 >         Camera
>                 >         >         To: [hidden email], "Discussion
>                 of the development
>                 >         of and
>                 >         >         with GStreamer"
>                 >         <[hidden email]>
>                 >         >         Date: Saturday, April 9, 2011,
>                 5:13 PM
>                 >         >        
>                 >         >         Thanks Tim,
>                 >         >        
>                 >         >         I can see a live feed from the
>                 Axis camera when I
>                 >         do:
>                 >         >        
>                 >         >         gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >        
>                 >         >        
>                 >         >         I can't figure out how to modify
>                 my transmit and
>                 >         receive
>                 >         >         commands given that I need to
>                 depay.  I've read up
>                 >         on the
>                 >         >         gstreamer site and checked other
>                 forums but still
>                 >         can't figure
>                 >         >         it out.   When I do "gst-launch
>                 rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         rtpmp4gdepay ! filesink=txcap.ts"
>                 I get an error
>                 >         saying
>                 >         >         "streaming task paused, reason
>                 not-linked (-1)".  
>                 >         >        
>                 >         >        
>                 >         >         Do you know how I would modify
>                 them, here they are
>                 >         again?
>                 >         >        
>                 >         >         gst-launch rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         filesink=txcap.ts
>                 >         >        
>                 >         >         gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >        
>                 >         >         Thanks
>                 >         >         Tom
>                 >         >        
>                 >         >        
>                 >         >         --- On Sat, 4/9/11, Tim-Philipp
>                 Müller
>                 >         <[hidden email]>
>                 >         >         wrote:
>                 >         >                
>                 >         >                 From: Tim-Philipp Müller
>                 <[hidden email]>
>                 >         >                 Subject: Re: Help with
>                 Gstreamer and RTSP
>                 >         with Axis
>                 >         >                 Camera
>                 >         >                 To:
>                 [hidden email]
>                 >         >                 Date: Saturday, April 9,
>                 2011, 10:49 AM
>                 >         >                
>                 >         >                 On Fri, 2011-04-08 at
>                 19:12 -0700, Tom
>                 >         Hendrick wrote:
>                 >         >                
>                 >         >                 Hi,
>                 >         >                
>                 >         >                 >
>                 >         >                 > As a quick test, I am
>                 (..) just trying the
>                 >         >                 following:
>                 >         >                 >
>                 >         >                 > Transmitter :
>                 >         >                 > -------------------
>                 >         >                 > gst-launch rtspsrc
>                 >         >
>                 >
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >                 > filesink=txcap.ts
>                 >         >                 >
>                 >         >                 > I let this run for 20
>                 seconds and control
>                 >         ^C out of
>                 >         >                 it.
>                 >         >                 >
>                 >         >                 > Receiver:
>                 >         >                 > -------------
>                 >         >                 > gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >                 >
>                 >         >                 >
>                 >         >                 > The problem is that when
>                 I run the
>                 >         gst-launch
>                 >         >                 playbin=file://txcap.ts
>                 >         >                 > the video file plays
>                 very fast and then
>                 >         closes.  The
>                 >         >                 quality also
>                 >         >                 > doesn't look as good as
>                 when I use "vlc
>                 >         >                 >
>                 rtsp://192.168.0.90/mpeg4/media.amp"
>                 >         >                 >
>                 >         >                 > I'm a beginner with
>                 gstreamer so I'm not
>                 >         sure how to
>                 >         >                 modify the
>                 >         >                 > transmit and receive
>                 command lines to
>                 >         properly set
>                 >         >                 the frame rate,
>                 >         >                 > codec, etc.  Also
>                 another problem is that
>                 >         I want to
>                 >         >                 see this live on
>                 >         >                 > the receiver, so setting
>                 gstreamer to run
>                 >         for a
>                 >         >                 specified amount of
>                 >         >                 > time so that the header
>                 is written
>                 >         properly will not
>                 >         >                 allow me to see
>                 >         >                 > this real-time on the
>                 receive side.  Any
>                 >         >                 suggestions?
>                 >         >                 >
>                 >         >                
>                 >         >                 This works I presume:
>                 >         >                
>                 >         >                 gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >                
>                 >         >                 ?
>                 >         >                
>                 >         >                 Note that rtspsrc outputs
>                 RTP packets, which
>                 >         you need
>                 >         >                 to depayload using
>                 >         >                 an appropriate depayloader
>                 (rtpmp2tdepay?
>                 >         >                 rtpmp4gdepay?
>                 rtpmp4vdepay?).
>                 >         >                
>                 >         >                 Writing RTP packets to
>                 file like you do now
>                 >         is not
>                 >         >                 going to work.
>                 >         >                
>                 >         >                 Cheers
>                 >         >                   -Tim
>                 >         >                
>                 >         >
>                 >
>                 _______________________________________________
>                 >         >                 gstreamer-devel mailing
>                 list
>                 >         >
>                    [hidden email]
>                 >         >
>                 >
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         >                
>                 >         >        
>                 >         >         -----Inline Attachment
>                 Follows-----
>                 >         >        
>                 >         >
>                    _______________________________________________
>                 >         >         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
>                
>        
>         -----Inline Attachment Follows-----
>        
>         _______________________________________________
>         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
Reply | Threaded
Open this post in threaded view
|

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Hi Nikola,

Thanks again!  That works but if I move my hand by the camera, there is latency before I see it on the gst-launch-0.10 playback screen, and when my hand moves it moves really fast when it shows up.

Are there any other tricks you might know of?  Again it works perfectly at 10kbps when I have gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
running.

Thanks -tom

--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Discussion of the development of and with GStreamer" <[hidden email]>, "Tom Hendrick" <[hidden email]>
Date: Saturday, April 9, 2011, 10:27 PM

Try "xvimagesink sync=false" should do the work,

Nicola


Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha scritto:

> Hi Nikola or anyone else,
>
> In the end I will be working with named pipes with the video file
> being saved by gstreamer from the axis IP camera.
>
> When I make a named pipe using mkfifo test.gdp
> and then do:
>
> gst-launch-0.10 -e rtspsrc
> location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
> rtpmp4vdepay !
> mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>
> and then playback with
>
> gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
> ffdec_mpeg4 ! xvimagesink
>
>
> it works perfectly with the camera bitrate set at 100kbps and I see
> the live video feed from the camera.
>
> With the camera set at 10kbps, it starts, and I see the gst-launch
> playback window with the vide feed but it updates extremely slow.  I
> see a message in the command line saying
>
>
> There may be a timestamping problem, or this computer is too slow.
> WARNING: from element /GstPipeline:pipeline0/
> GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
> Additional debug info:
> gstbasesink.c(2686): gst_base_sink_is_too_late
> (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> There may be a timestamping problem, or this computer is too slow.
>
>
> Does anyone have advice on additional parameters I may need to use?
> Unfortunately I have a need to work at 10kbps.  At this low of bitrate
> I have problems with mplayer and mencoder.
>
>  However even at 10kbps, the following works fine
>
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         
>         From: Tom Hendrick <sdtom182@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: lists@..., "Discussion of the development of
>         and with GStreamer" <gstreamer-devel@...>
>         Date: Saturday, April 9, 2011, 9:11 PM
>         
>         Nicola, Thanks so much!
>         
>         When I do:
>         
>         gst-launch-0.10 -e rtspsrc
>         location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp
>         
>         and then playback with
>         
>         gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         ffdec_mpeg4 ! xvimagesink
>         
>         
>         It works great.  Do you think this uses a lot more processing
>         power than using something like mencoder or openRTSP to just
>         copy the stream and save it to file?
>         
>         Thanks so much for your help
>         Tom
>         
>         --- On Sat, 4/9/11, Mailing List SVR <lists@...>
>         wrote:
>                 
>                 From: Mailing List SVR <lists@...>
>                 Subject: Re: Help with Gstreamer and RTSP with Axis
>                 Camera
>                 To: "Tom Hendrick" <sdtom182@...>
>                 Cc: "Discussion of the development of and with
>                 GStreamer" <gstreamer-devel@...>,
>                 t.i.m@...
>                 Date: Saturday, April 9, 2011, 8:57 PM
>                 
>                 Sorry the right pipe is the following:
>                 
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! matroskamux ! filesink
>                 location=/tmp/test.mkv
>                 
>                 and then playback with playbin or any stardard player
>                 
>                 or
>                 
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! gdppay ! filesink
>                 location=/tmp/test.gdp
>                 
>                 and then playback with
>                 
>                 
>                 gst-launch-0.10 filesrc location=/tmp/test.gdp !
>                 gdpdepay !
>                 ffdec_mpeg4 ! xvimagesink
>                 
>                 Nicola
>                 
>                 Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom
>                 Hendrick ha scritto:
>                 > Thanks so much,
>                 > When I run:
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >
>                 > I get :  streaming task paused, reason
>                 not-negotiated (-4)
>                 >
>                 > when I run :
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>                 >
>                 > Control ^C out of it, and then:
>                 >
>                 > gst-launch filesrc location=test.mkv ! gdpdepay !
>                 decodebin2 !
>                 > autovideosink
>                 >
>                 > It works!  but the quality of the image is much
>                 lower than when I run
>                 > gst-launch playbin
>                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >
>                 >
>                 > Is this because of the muxer, what else can I try?
>                 >
>                 > thanks
>                 > Tom
>                 >
>                 >
>                 >
>                 > --- On Sat, 4/9/11, Mailing List SVR
>                 <lists@...> wrote:
>                 >         
>                 >         From: Mailing List SVR
>                 <lists@...>
>                 >         Subject: Re: Help with Gstreamer and RTSP
>                 with Axis Camera
>                 >         To: "Discussion of the development of and
>                 with GStreamer"
>                 >         <gstreamer-devel@...>
>                 >         Cc: t.i.m@..., "Tom Hendrick"
>                 <sdtom182@...>
>                 >         Date: Saturday, April 9, 2011, 7:25 PM
>                 >         
>                 >         You need a muxer try this:
>                 >         
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >         
>                 >         then you'll be able to play the video with
>                 playbin.
>                 >         
>                 >         You can also try:
>                 >         
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! gdppay ! filesink
>                 location=test.gdp
>                 >         
>                 >         and then:
>                 >         
>                 >         gst-launch filesrc location=test.mkv !
>                 gdpdepay ! decodebin2 !
>                 >         autovideosink
>                 >         
>                 >         regards
>                 >         Nicola
>                 >         
>                 >         
>                 >         
>                 >         Il giorno sab, 09/04/2011 alle 10.33 -0700,
>                 Tom Hendrick ha
>                 >         scritto:
>                 >         >
>                 >         > I tried:
>                 >         >
>                 >         >  gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         > rtpmp4vdepay ! filesink=txcap.ts
>                 >         >
>                 >         > and I didn't get the link error and it
>                 saved to a file.
>                 >         >
>                 >         > When I try to play it with gstreamer
>                 using:
>                 >         >
>                 >         > gst-launch playbin uri=file://txcap.ts, or
>                 gst-launch-0.10
>                 >         playbin2
>                 >         > uri=file://txcap.ts,
>                 >         >
>                 >         > it plays too fast and the lower half of
>                 the each frame has
>                 >         some weird
>                 >         > block distortions.
>                 >         >
>                 >         > When I do:
>                 >         > mplayer txcap.ts  it also plays too fast
>                 but I don't see the
>                 >         weird
>                 >         > block distortions on the lower left half
>                 of each frame, but
>                 >         when I do
>                 >         > mplayer -fps 1 txcap.ts it plays fine.
>                 >         >
>                 >         >
>                 >         > When I do gst-launch playbin
>                 >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         > it shows the video feed just fine without
>                 that distotion in
>                 >         the lower
>                 >         > half.  I'd like to make the saved file
>                 work with gstreamer
>                 >         because I
>                 >         > had some cache problems with mplayer on
>                 the receiver in the
>                 >         past.
>                 >         >
>                 >         > Could it have anything to do with the fact
>                 Axis uses MPEG-ES
>                 >         formats?
>                 >         > Any other ideas?
>                 >         >
>                 >         > Thanks
>                 >         > Tom
>                 >         >
>                 >         > --- On Sat, 4/9/11, Tom Hendrick
>                 <sdtom182@...> wrote:
>                 >         >         
>                 >         >         From: Tom Hendrick
>                 <sdtom182@...>
>                 >         >         Subject: Re: Help with Gstreamer
>                 and RTSP with Axis
>                 >         Camera
>                 >         >         To: t.i.m@..., "Discussion
>                 of the development
>                 >         of and
>                 >         >         with GStreamer"
>                 >         <gstreamer-devel@...>
>                 >         >         Date: Saturday, April 9, 2011,
>                 5:13 PM
>                 >         >         
>                 >         >         Thanks Tim,
>                 >         >         
>                 >         >         I can see a live feed from the
>                 Axis camera when I
>                 >         do:
>                 >         >         
>                 >         >         gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >         
>                 >         >         
>                 >         >         I can't figure out how to modify
>                 my transmit and
>                 >         receive
>                 >         >         commands given that I need to
>                 depay.  I've read up
>                 >         on the
>                 >         >         gstreamer site and checked other
>                 forums but still
>                 >         can't figure
>                 >         >         it out.   When I do "gst-launch
>                 rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         rtpmp4gdepay ! filesink=txcap.ts"
>                 I get an error
>                 >         saying
>                 >         >         "streaming task paused, reason
>                 not-linked (-1)". 
>                 >         >         
>                 >         >         
>                 >         >         Do you know how I would modify
>                 them, here they are
>                 >         again?
>                 >         >         
>                 >         >         gst-launch rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         filesink=txcap.ts
>                 >         >         
>                 >         >         gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >         
>                 >         >         Thanks
>                 >         >         Tom
>                 >         >         
>                 >         >         
>                 >         >         --- On Sat, 4/9/11, Tim-Philipp
>                 Müller
>                 >         <t.i.m@...>
>                 >         >         wrote:
>                 >         >                 
>                 >         >                 From: Tim-Philipp Müller
>                 <t.i.m@...>
>                 >         >                 Subject: Re: Help with
>                 Gstreamer and RTSP
>                 >         with Axis
>                 >         >                 Camera
>                 >         >                 To:
>                 gstreamer-devel@...
>                 >         >                 Date: Saturday, April 9,
>                 2011, 10:49 AM
>                 >         >                 
>                 >         >                 On Fri, 2011-04-08 at
>                 19:12 -0700, Tom
>                 >         Hendrick wrote:
>                 >         >                 
>                 >         >                 Hi,
>                 >         >                 
>                 >         >                 >
>                 >         >                 > As a quick test, I am
>                 (..) just trying the
>                 >         >                 following:
>                 >         >                 >
>                 >         >                 > Transmitter :
>                 >         >                 > -------------------
>                 >         >                 > gst-launch rtspsrc
>                 >         >
>                 >
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >                 > filesink=txcap.ts
>                 >         >                 >
>                 >         >                 > I let this run for 20
>                 seconds and control
>                 >         ^C out of
>                 >         >                 it.
>                 >         >                 >
>                 >         >                 > Receiver:
>                 >         >                 > -------------
>                 >         >                 > gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >                 >
>                 >         >                 >
>                 >         >                 > The problem is that when
>                 I run the
>                 >         gst-launch
>                 >         >                 playbin=file://txcap.ts
>                 >         >                 > the video file plays
>                 very fast and then
>                 >         closes.  The
>                 >         >                 quality also
>                 >         >                 > doesn't look as good as
>                 when I use "vlc
>                 >         >                 >
>                 rtsp://192.168.0.90/mpeg4/media.amp"
>                 >         >                 >
>                 >         >                 > I'm a beginner with
>                 gstreamer so I'm not
>                 >         sure how to
>                 >         >                 modify the
>                 >         >                 > transmit and receive
>                 command lines to
>                 >         properly set
>                 >         >                 the frame rate,
>                 >         >                 > codec, etc.  Also
>                 another problem is that
>                 >         I want to
>                 >         >                 see this live on
>                 >         >                 > the receiver, so setting
>                 gstreamer to run
>                 >         for a
>                 >         >                 specified amount of
>                 >         >                 > time so that the header
>                 is written
>                 >         properly will not
>                 >         >                 allow me to see
>                 >         >                 > this real-time on the
>                 receive side.  Any
>                 >         >                 suggestions?
>                 >         >                 >
>                 >         >                 
>                 >         >                 This works I presume:
>                 >         >                 
>                 >         >                 gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >                 
>                 >         >                 ?
>                 >         >                 
>                 >         >                 Note that rtspsrc outputs
>                 RTP packets, which
>                 >         you need
>                 >         >                 to depayload using
>                 >         >                 an appropriate depayloader
>                 (rtpmp2tdepay?
>                 >         >                 rtpmp4gdepay?
>                 rtpmp4vdepay?).
>                 >         >                 
>                 >         >                 Writing RTP packets to
>                 file like you do now
>                 >         is not
>                 >         >                 going to work.
>                 >         >                 
>                 >         >                 Cheers
>                 >         >                   -Tim
>                 >         >                 
>                 >         >
>                 >
>                 _______________________________________________
>                 >         >                 gstreamer-devel mailing
>                 list
>                 >         >
>                    gstreamer-devel@...
>                 >         >
>                 >
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         >                 
>                 >         >         
>                 >         >         -----Inline Attachment
>                 Follows-----
>                 >         >         
>                 >         >
>                    _______________________________________________
>                 >         >         gstreamer-devel mailing list
>                 >         >
>                    gstreamer-devel@...
>                 >         >
>                 >
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         >         
>                 >         >
>                 _______________________________________________
>                 >         > gstreamer-devel mailing list
>                 >         > gstreamer-devel@...
>                 >         >
>                 >
>                    http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         
>                 >         
>                 
>                 _______________________________________________
>                 gstreamer-devel mailing list
>                 gstreamer-devel@...
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 
>         
>         -----Inline Attachment Follows-----
>         
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel@...
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@...
> 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: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
In reply to this post by Mailing List SVR
Hi Nicola,

I forgot to mention that I have the Axis camera set at 10kbps with the default resolution of 640 x 480 and a low frame rate of 1fps

with the sync=false setting, it sometimes takes a few seconds for movement from my hand to show up on the playback, and sometimes the motion is very fast when it does show my hand moving (much faster than I was moving it)  any other ideas?

Thanks,
-Tom

--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Discussion of the development of and with GStreamer" <[hidden email]>, "Tom Hendrick" <[hidden email]>
Date: Saturday, April 9, 2011, 10:27 PM

Try "xvimagesink sync=false" should do the work,

Nicola


Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha scritto:

> Hi Nikola or anyone else,
>
> In the end I will be working with named pipes with the video file
> being saved by gstreamer from the axis IP camera.
>
> When I make a named pipe using mkfifo test.gdp
> and then do:
>
> gst-launch-0.10 -e rtspsrc
> location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
> rtpmp4vdepay !
> mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>
> and then playback with
>
> gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
> ffdec_mpeg4 ! xvimagesink
>
>
> it works perfectly with the camera bitrate set at 100kbps and I see
> the live video feed from the camera.
>
> With the camera set at 10kbps, it starts, and I see the gst-launch
> playback window with the vide feed but it updates extremely slow.  I
> see a message in the command line saying
>
>
> There may be a timestamping problem, or this computer is too slow.
> WARNING: from element /GstPipeline:pipeline0/
> GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
> Additional debug info:
> gstbasesink.c(2686): gst_base_sink_is_too_late
> (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> There may be a timestamping problem, or this computer is too slow.
>
>
> Does anyone have advice on additional parameters I may need to use?
> Unfortunately I have a need to work at 10kbps.  At this low of bitrate
> I have problems with mplayer and mencoder.
>
>  However even at 10kbps, the following works fine
>
> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>
>
> Thanks
> Tom
>
>
>
> --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         
>         From: Tom Hendrick <sdtom182@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: lists@..., "Discussion of the development of
>         and with GStreamer" <gstreamer-devel@...>
>         Date: Saturday, April 9, 2011, 9:11 PM
>         
>         Nicola, Thanks so much!
>         
>         When I do:
>         
>         gst-launch-0.10 -e rtspsrc
>         location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp
>         
>         and then playback with
>         
>         gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         ffdec_mpeg4 ! xvimagesink
>         
>         
>         It works great.  Do you think this uses a lot more processing
>         power than using something like mencoder or openRTSP to just
>         copy the stream and save it to file?
>         
>         Thanks so much for your help
>         Tom
>         
>         --- On Sat, 4/9/11, Mailing List SVR <lists@...>
>         wrote:
>                 
>                 From: Mailing List SVR <lists@...>
>                 Subject: Re: Help with Gstreamer and RTSP with Axis
>                 Camera
>                 To: "Tom Hendrick" <sdtom182@...>
>                 Cc: "Discussion of the development of and with
>                 GStreamer" <gstreamer-devel@...>,
>                 t.i.m@...
>                 Date: Saturday, April 9, 2011, 8:57 PM
>                 
>                 Sorry the right pipe is the following:
>                 
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! matroskamux ! filesink
>                 location=/tmp/test.mkv
>                 
>                 and then playback with playbin or any stardard player
>                 
>                 or
>                 
>                 gst-launch-0.10 -e rtspsrc
>                 location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !
>                 mpeg4videoparse ! gdppay ! filesink
>                 location=/tmp/test.gdp
>                 
>                 and then playback with
>                 
>                 
>                 gst-launch-0.10 filesrc location=/tmp/test.gdp !
>                 gdpdepay !
>                 ffdec_mpeg4 ! xvimagesink
>                 
>                 Nicola
>                 
>                 Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom
>                 Hendrick ha scritto:
>                 > Thanks so much,
>                 > When I run:
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >
>                 > I get :  streaming task paused, reason
>                 not-negotiated (-4)
>                 >
>                 > when I run :
>                 >
>                 > gst-launch rtspsrc
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 > rtpmp4vdepay ! gdppay ! filesink location=test.gdp
>                 >
>                 > Control ^C out of it, and then:
>                 >
>                 > gst-launch filesrc location=test.mkv ! gdpdepay !
>                 decodebin2 !
>                 > autovideosink
>                 >
>                 > It works!  but the quality of the image is much
>                 lower than when I run
>                 > gst-launch playbin
>                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >
>                 >
>                 > Is this because of the muxer, what else can I try?
>                 >
>                 > thanks
>                 > Tom
>                 >
>                 >
>                 >
>                 > --- On Sat, 4/9/11, Mailing List SVR
>                 <lists@...> wrote:
>                 >         
>                 >         From: Mailing List SVR
>                 <lists@...>
>                 >         Subject: Re: Help with Gstreamer and RTSP
>                 with Axis Camera
>                 >         To: "Discussion of the development of and
>                 with GStreamer"
>                 >         <gstreamer-devel@...>
>                 >         Cc: t.i.m@..., "Tom Hendrick"
>                 <sdtom182@...>
>                 >         Date: Saturday, April 9, 2011, 7:25 PM
>                 >         
>                 >         You need a muxer try this:
>                 >         
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! matroskamux ! filesink
>                 location=test.mkv
>                 >         
>                 >         then you'll be able to play the video with
>                 playbin.
>                 >         
>                 >         You can also try:
>                 >         
>                 >         gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         rtpmp4vdepay ! gdppay ! filesink
>                 location=test.gdp
>                 >         
>                 >         and then:
>                 >         
>                 >         gst-launch filesrc location=test.mkv !
>                 gdpdepay ! decodebin2 !
>                 >         autovideosink
>                 >         
>                 >         regards
>                 >         Nicola
>                 >         
>                 >         
>                 >         
>                 >         Il giorno sab, 09/04/2011 alle 10.33 -0700,
>                 Tom Hendrick ha
>                 >         scritto:
>                 >         >
>                 >         > I tried:
>                 >         >
>                 >         >  gst-launch rtspsrc
>                 >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         > rtpmp4vdepay ! filesink=txcap.ts
>                 >         >
>                 >         > and I didn't get the link error and it
>                 saved to a file.
>                 >         >
>                 >         > When I try to play it with gstreamer
>                 using:
>                 >         >
>                 >         > gst-launch playbin uri=file://txcap.ts, or
>                 gst-launch-0.10
>                 >         playbin2
>                 >         > uri=file://txcap.ts,
>                 >         >
>                 >         > it plays too fast and the lower half of
>                 the each frame has
>                 >         some weird
>                 >         > block distortions.
>                 >         >
>                 >         > When I do:
>                 >         > mplayer txcap.ts  it also plays too fast
>                 but I don't see the
>                 >         weird
>                 >         > block distortions on the lower left half
>                 of each frame, but
>                 >         when I do
>                 >         > mplayer -fps 1 txcap.ts it plays fine.
>                 >         >
>                 >         >
>                 >         > When I do gst-launch playbin
>                 >         uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         > it shows the video feed just fine without
>                 that distotion in
>                 >         the lower
>                 >         > half.  I'd like to make the saved file
>                 work with gstreamer
>                 >         because I
>                 >         > had some cache problems with mplayer on
>                 the receiver in the
>                 >         past.
>                 >         >
>                 >         > Could it have anything to do with the fact
>                 Axis uses MPEG-ES
>                 >         formats?
>                 >         > Any other ideas?
>                 >         >
>                 >         > Thanks
>                 >         > Tom
>                 >         >
>                 >         > --- On Sat, 4/9/11, Tom Hendrick
>                 <sdtom182@...> wrote:
>                 >         >         
>                 >         >         From: Tom Hendrick
>                 <sdtom182@...>
>                 >         >         Subject: Re: Help with Gstreamer
>                 and RTSP with Axis
>                 >         Camera
>                 >         >         To: t.i.m@..., "Discussion
>                 of the development
>                 >         of and
>                 >         >         with GStreamer"
>                 >         <gstreamer-devel@...>
>                 >         >         Date: Saturday, April 9, 2011,
>                 5:13 PM
>                 >         >         
>                 >         >         Thanks Tim,
>                 >         >         
>                 >         >         I can see a live feed from the
>                 Axis camera when I
>                 >         do:
>                 >         >         
>                 >         >         gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >         
>                 >         >         
>                 >         >         I can't figure out how to modify
>                 my transmit and
>                 >         receive
>                 >         >         commands given that I need to
>                 depay.  I've read up
>                 >         on the
>                 >         >         gstreamer site and checked other
>                 forums but still
>                 >         can't figure
>                 >         >         it out.   When I do "gst-launch
>                 rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         rtpmp4gdepay ! filesink=txcap.ts"
>                 I get an error
>                 >         saying
>                 >         >         "streaming task paused, reason
>                 not-linked (-1)". 
>                 >         >         
>                 >         >         
>                 >         >         Do you know how I would modify
>                 them, here they are
>                 >         again?
>                 >         >         
>                 >         >         gst-launch rtspsrc
>                 >         >
>                    location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >         filesink=txcap.ts
>                 >         >         
>                 >         >         gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >         
>                 >         >         Thanks
>                 >         >         Tom
>                 >         >         
>                 >         >         
>                 >         >         --- On Sat, 4/9/11, Tim-Philipp
>                 Müller
>                 >         <t.i.m@...>
>                 >         >         wrote:
>                 >         >                 
>                 >         >                 From: Tim-Philipp Müller
>                 <t.i.m@...>
>                 >         >                 Subject: Re: Help with
>                 Gstreamer and RTSP
>                 >         with Axis
>                 >         >                 Camera
>                 >         >                 To:
>                 gstreamer-devel@...
>                 >         >                 Date: Saturday, April 9,
>                 2011, 10:49 AM
>                 >         >                 
>                 >         >                 On Fri, 2011-04-08 at
>                 19:12 -0700, Tom
>                 >         Hendrick wrote:
>                 >         >                 
>                 >         >                 Hi,
>                 >         >                 
>                 >         >                 >
>                 >         >                 > As a quick test, I am
>                 (..) just trying the
>                 >         >                 following:
>                 >         >                 >
>                 >         >                 > Transmitter :
>                 >         >                 > -------------------
>                 >         >                 > gst-launch rtspsrc
>                 >         >
>                 >
>                 location=rtsp://192.168.0.90/mpeg4/media.amp !
>                 >         >                 > filesink=txcap.ts
>                 >         >                 >
>                 >         >                 > I let this run for 20
>                 seconds and control
>                 >         ^C out of
>                 >         >                 it.
>                 >         >                 >
>                 >         >                 > Receiver:
>                 >         >                 > -------------
>                 >         >                 > gst-launch playbin
>                 uri=file://txcap.ts
>                 >         >                 >
>                 >         >                 >
>                 >         >                 > The problem is that when
>                 I run the
>                 >         gst-launch
>                 >         >                 playbin=file://txcap.ts
>                 >         >                 > the video file plays
>                 very fast and then
>                 >         closes.  The
>                 >         >                 quality also
>                 >         >                 > doesn't look as good as
>                 when I use "vlc
>                 >         >                 >
>                 rtsp://192.168.0.90/mpeg4/media.amp"
>                 >         >                 >
>                 >         >                 > I'm a beginner with
>                 gstreamer so I'm not
>                 >         sure how to
>                 >         >                 modify the
>                 >         >                 > transmit and receive
>                 command lines to
>                 >         properly set
>                 >         >                 the frame rate,
>                 >         >                 > codec, etc.  Also
>                 another problem is that
>                 >         I want to
>                 >         >                 see this live on
>                 >         >                 > the receiver, so setting
>                 gstreamer to run
>                 >         for a
>                 >         >                 specified amount of
>                 >         >                 > time so that the header
>                 is written
>                 >         properly will not
>                 >         >                 allow me to see
>                 >         >                 > this real-time on the
>                 receive side.  Any
>                 >         >                 suggestions?
>                 >         >                 >
>                 >         >                 
>                 >         >                 This works I presume:
>                 >         >                 
>                 >         >                 gst-launch-0.10 playbin2
>                 >         >
>                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>                 >         >                 
>                 >         >                 ?
>                 >         >                 
>                 >         >                 Note that rtspsrc outputs
>                 RTP packets, which
>                 >         you need
>                 >         >                 to depayload using
>                 >         >                 an appropriate depayloader
>                 (rtpmp2tdepay?
>                 >         >                 rtpmp4gdepay?
>                 rtpmp4vdepay?).
>                 >         >                 
>                 >         >                 Writing RTP packets to
>                 file like you do now
>                 >         is not
>                 >         >                 going to work.
>                 >         >                 
>                 >         >                 Cheers
>                 >         >                   -Tim
>                 >         >                 
>                 >         >
>                 >
>                 _______________________________________________
>                 >         >                 gstreamer-devel mailing
>                 list
>                 >         >
>                    gstreamer-devel@...
>                 >         >
>                 >
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         >                 
>                 >         >         
>                 >         >         -----Inline Attachment
>                 Follows-----
>                 >         >         
>                 >         >
>                    _______________________________________________
>                 >         >         gstreamer-devel mailing list
>                 >         >
>                    gstreamer-devel@...
>                 >         >
>                 >
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         >         
>                 >         >
>                 _______________________________________________
>                 >         > gstreamer-devel mailing list
>                 >         > gstreamer-devel@...
>                 >         >
>                 >
>                    http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 >         
>                 >         
>                 
>                 _______________________________________________
>                 gstreamer-devel mailing list
>                 gstreamer-devel@...
>                 http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>                 
>         
>         -----Inline Attachment Follows-----
>         
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel@...
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@...
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
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: Help with Gstreamer and RTSP with Axis Camera

Mailing List SVR
In reply to this post by Tom Hendrick
I guess the latency is the pipe, gstreamer is perfectly able to record a
stream on disk and at the same time display it, why do you use a pipe?

Please take a look here:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html

Nicola

Il giorno sab, 09/04/2011 alle 15.45 -0700, Tom Hendrick ha scritto:

> Hi Nikola,
>
> Thanks again!  That works but if I move my hand by the camera, there
> is latency before I see it on the gst-launch-0.10 playback screen, and
> when my hand moves it moves really fast when it shows up.
>
> Are there any other tricks you might know of?  Again it works
> perfectly at 10kbps when I have gst-launch playbin
> uri=rtsp://192.168.0.90/mpeg4/media.amp
> running.
>
> Thanks -tom
>
> --- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:
>        
>         From: Mailing List SVR <[hidden email]>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <[hidden email]>, "Tom Hendrick"
>         <[hidden email]>
>         Date: Saturday, April 9, 2011, 10:27 PM
>        
>         Try "xvimagesink sync=false" should do the work,
>        
>         Nicola
>        
>        
>         Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha
>         scritto:
>         > Hi Nikola or anyone else,
>         >
>         > In the end I will be working with named pipes with the video
>         file
>         > being saved by gstreamer from the axis IP camera.
>         >
>         > When I make a named pipe using mkfifo test.gdp
>         > and then do:
>         >
>         > gst-launch-0.10 -e rtspsrc
>         > location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         > rtpmp4vdepay !
>         > mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>         >
>         > and then playback with
>         >
>         > gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         > ffdec_mpeg4 ! xvimagesink
>         >
>         >
>         > it works perfectly with the camera bitrate set at 100kbps
>         and I see
>         > the live video feed from the camera.
>         >
>         > With the camera set at 10kbps, it starts, and I see the
>         gst-launch
>         > playback window with the vide feed but it updates extremely
>         slow.  I
>         > see a message in the command line saying
>         >
>         >
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         > WARNING: from element /GstPipeline:pipeline0/
>         > GstXvImageSink:xvimagesink0: A lot of buffers are being
>         dropped.
>         > Additional debug info:
>         > gstbasesink.c(2686): gst_base_sink_is_too_late
>         > (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         >
>         >
>         > Does anyone have advice on additional parameters I may need
>         to use?
>         > Unfortunately I have a need to work at 10kbps.  At this low
>         of bitrate
>         > I have problems with mplayer and mencoder.
>         >
>         >  However even at 10kbps, the following works fine
>         >
>         > gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >
>         >
>         > Thanks
>         > Tom
>         >
>         >
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <[hidden email]> wrote:
>         >        
>         >         From: Tom Hendrick <[hidden email]>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: [hidden email], "Discussion of the
>         development of
>         >         and with GStreamer"
>         <[hidden email]>
>         >         Date: Saturday, April 9, 2011, 9:11 PM
>         >        
>         >         Nicola, Thanks so much!
>         >        
>         >         When I do:
>         >        
>         >         gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         >         rtpmp4vdepay !
>         >         mpeg4videoparse ! gdppay ! filesink
>         location=/tmp/test.gdp
>         >        
>         >         and then playback with
>         >        
>         >         gst-launch-0.10 filesrc location=/tmp/test.gdp !
>         gdpdepay !
>         >         ffdec_mpeg4 ! xvimagesink
>         >        
>         >        
>         >         It works great.  Do you think this uses a lot more
>         processing
>         >         power than using something like mencoder or openRTSP
>         to just
>         >         copy the stream and save it to file?
>         >        
>         >         Thanks so much for your help
>         >         Tom
>         >        
>         >         --- On Sat, 4/9/11, Mailing List SVR
>         <[hidden email]>
>         >         wrote:
>         >                
>         >                 From: Mailing List SVR
>         <[hidden email]>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: "Tom Hendrick" <[hidden email]>
>         >                 Cc: "Discussion of the development of and
>         with
>         >                 GStreamer"
>         <[hidden email]>,
>         >                 [hidden email]
>         >                 Date: Saturday, April 9, 2011, 8:57 PM
>         >                
>         >                 Sorry the right pipe is the following:
>         >                
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! matroskamux ! filesink
>         >                 location=/tmp/test.mkv
>         >                
>         >                 and then playback with playbin or any
>         stardard player
>         >                
>         >                 or
>         >                
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! gdppay ! filesink
>         >                 location=/tmp/test.gdp
>         >                
>         >                 and then playback with
>         >                
>         >                
>         >                 gst-launch-0.10 filesrc
>         location=/tmp/test.gdp !
>         >                 gdpdepay !
>         >                 ffdec_mpeg4 ! xvimagesink
>         >                
>         >                 Nicola
>         >                
>         >                 Il giorno sab, 09/04/2011 alle 13.14 -0700,
>         Tom
>         >                 Hendrick ha scritto:
>         >                 > Thanks so much,
>         >                 > When I run:
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! matroskamux ! filesink
>         >                 location=test.mkv
>         >                 >
>         >                 > I get :  streaming task paused, reason
>         >                 not-negotiated (-4)
>         >                 >
>         >                 > when I run :
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! gdppay ! filesink
>         location=test.gdp
>         >                 >
>         >                 > Control ^C out of it, and then:
>         >                 >
>         >                 > gst-launch filesrc location=test.mkv !
>         gdpdepay !
>         >                 decodebin2 !
>         >                 > autovideosink
>         >                 >
>         >                 > It works!  but the quality of the image is
>         much
>         >                 lower than when I run
>         >                 > gst-launch playbin
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >
>         >                 >
>         >                 > Is this because of the muxer, what else
>         can I try?
>         >                 >
>         >                 > thanks
>         >                 > Tom
>         >                 >
>         >                 >
>         >                 >
>         >                 > --- On Sat, 4/9/11, Mailing List SVR
>         >                 <[hidden email]> wrote:
>         >                 >        
>         >                 >         From: Mailing List SVR
>         >                 <[hidden email]>
>         >                 >         Subject: Re: Help with Gstreamer
>         and RTSP
>         >                 with Axis Camera
>         >                 >         To: "Discussion of the development
>         of and
>         >                 with GStreamer"
>         >                 >
>            <[hidden email]>
>         >                 >         Cc: [hidden email], "Tom
>         Hendrick"
>         >                 <[hidden email]>
>         >                 >         Date: Saturday, April 9, 2011,
>         7:25 PM
>         >                 >        
>         >                 >         You need a muxer try this:
>         >                 >        
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! matroskamux !
>         filesink
>         >                 location=test.mkv
>         >                 >        
>         >                 >         then you'll be able to play the
>         video with
>         >                 playbin.
>         >                 >        
>         >                 >         You can also try:
>         >                 >        
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! gdppay ! filesink
>         >                 location=test.gdp
>         >                 >        
>         >                 >         and then:
>         >                 >        
>         >                 >         gst-launch filesrc
>         location=test.mkv !
>         >                 gdpdepay ! decodebin2 !
>         >                 >         autovideosink
>         >                 >        
>         >                 >         regards
>         >                 >         Nicola
>         >                 >        
>         >                 >        
>         >                 >        
>         >                 >         Il giorno sab, 09/04/2011 alle
>         10.33 -0700,
>         >                 Tom Hendrick ha
>         >                 >         scritto:
>         >                 >         >
>         >                 >         > I tried:
>         >                 >         >
>         >                 >         >  gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         > rtpmp4vdepay ! filesink=txcap.ts
>         >                 >         >
>         >                 >         > and I didn't get the link error
>         and it
>         >                 saved to a file.
>         >                 >         >
>         >                 >         > When I try to play it with
>         gstreamer
>         >                 using:
>         >                 >         >
>         >                 >         > gst-launch playbin
>         uri=file://txcap.ts, or
>         >                 gst-launch-0.10
>         >                 >         playbin2
>         >                 >         > uri=file://txcap.ts,
>         >                 >         >
>         >                 >         > it plays too fast and the lower
>         half of
>         >                 the each frame has
>         >                 >         some weird
>         >                 >         > block distortions.
>         >                 >         >
>         >                 >         > When I do:
>         >                 >         > mplayer txcap.ts  it also plays
>         too fast
>         >                 but I don't see the
>         >                 >         weird
>         >                 >         > block distortions on the lower
>         left half
>         >                 of each frame, but
>         >                 >         when I do
>         >                 >         > mplayer -fps 1 txcap.ts it plays
>         fine.
>         >                 >         >
>         >                 >         >
>         >                 >         > When I do gst-launch playbin
>         >                 >
>            uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         > it shows the video feed just
>         fine without
>         >                 that distotion in
>         >                 >         the lower
>         >                 >         > half.  I'd like to make the
>         saved file
>         >                 work with gstreamer
>         >                 >         because I
>         >                 >         > had some cache problems with
>         mplayer on
>         >                 the receiver in the
>         >                 >         past.
>         >                 >         >
>         >                 >         > Could it have anything to do
>         with the fact
>         >                 Axis uses MPEG-ES
>         >                 >         formats?
>         >                 >         > Any other ideas?
>         >                 >         >
>         >                 >         > Thanks
>         >                 >         > Tom
>         >                 >         >
>         >                 >         > --- On Sat, 4/9/11, Tom Hendrick
>         >                 <[hidden email]> wrote:
>         >                 >         >        
>         >                 >         >         From: Tom Hendrick
>         >                 <[hidden email]>
>         >                 >         >         Subject: Re: Help with
>         Gstreamer
>         >                 and RTSP with Axis
>         >                 >         Camera
>         >                 >         >         To: [hidden email],
>         "Discussion
>         >                 of the development
>         >                 >         of and
>         >                 >         >         with GStreamer"
>         >                 >
>            <[hidden email]>
>         >                 >         >         Date: Saturday, April 9,
>         2011,
>         >                 5:13 PM
>         >                 >         >        
>         >                 >         >         Thanks Tim,
>         >                 >         >        
>         >                 >         >         I can see a live feed
>         from the
>         >                 Axis camera when I
>         >                 >         do:
>         >                 >         >        
>         >                 >         >         gst-launch-0.10 playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >        
>         >                 >         >        
>         >                 >         >         I can't figure out how
>         to modify
>         >                 my transmit and
>         >                 >         receive
>         >                 >         >         commands given that I
>         need to
>         >                 depay.  I've read up
>         >                 >         on the
>         >                 >         >         gstreamer site and
>         checked other
>         >                 forums but still
>         >                 >         can't figure
>         >                 >         >         it out.   When I do
>         "gst-launch
>         >                 rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         rtpmp4gdepay !
>         filesink=txcap.ts"
>         >                 I get an error
>         >                 >         saying
>         >                 >         >         "streaming task paused,
>         reason
>         >                 not-linked (-1)".  
>         >                 >         >        
>         >                 >         >        
>         >                 >         >         Do you know how I would
>         modify
>         >                 them, here they are
>         >                 >         again?
>         >                 >         >        
>         >                 >         >         gst-launch rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         filesink=txcap.ts
>         >                 >         >        
>         >                 >         >         gst-launch playbin
>         >                 uri=file://txcap.ts
>         >                 >         >        
>         >                 >         >         Thanks
>         >                 >         >         Tom
>         >                 >         >        
>         >                 >         >        
>         >                 >         >         --- On Sat, 4/9/11,
>         Tim-Philipp
>         >                 Müller
>         >                 >         <[hidden email]>
>         >                 >         >         wrote:
>         >                 >         >                
>         >                 >         >                 From:
>         Tim-Philipp Müller
>         >                 <[hidden email]>
>         >                 >         >                 Subject: Re:
>         Help with
>         >                 Gstreamer and RTSP
>         >                 >         with Axis
>         >                 >         >                 Camera
>         >                 >         >                 To:
>         >                 [hidden email]
>         >                 >         >                 Date: Saturday,
>         April 9,
>         >                 2011, 10:49 AM
>         >                 >         >                
>         >                 >         >                 On Fri,
>         2011-04-08 at
>         >                 19:12 -0700, Tom
>         >                 >         Hendrick wrote:
>         >                 >         >                
>         >                 >         >                 Hi,
>         >                 >         >                
>         >                 >         >                 >
>         >                 >         >                 > As a quick
>         test, I am
>         >                 (..) just trying the
>         >                 >         >                 following:
>         >                 >         >                 >
>         >                 >         >                 > Transmitter :
>         >                 >         >                 >
>         -------------------
>         >                 >         >                 > gst-launch
>         rtspsrc
>         >                 >         >
>         >                 >
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >                 >
>         filesink=txcap.ts
>         >                 >         >                 >
>         >                 >         >                 > I let this run
>         for 20
>         >                 seconds and control
>         >                 >         ^C out of
>         >                 >         >                 it.
>         >                 >         >                 >
>         >                 >         >                 > Receiver:
>         >                 >         >                 > -------------
>         >                 >         >                 > gst-launch
>         playbin
>         >                 uri=file://txcap.ts
>         >                 >         >                 >
>         >                 >         >                 >
>         >                 >         >                 > The problem is
>         that when
>         >                 I run the
>         >                 >         gst-launch
>         >                 >         >
>            playbin=file://txcap.ts
>         >                 >         >                 > the video file
>         plays
>         >                 very fast and then
>         >                 >         closes.  The
>         >                 >         >                 quality also
>         >                 >         >                 > doesn't look
>         as good as
>         >                 when I use "vlc
>         >                 >         >                 >
>         >                 rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >         >                 >
>         >                 >         >                 > I'm a beginner
>         with
>         >                 gstreamer so I'm not
>         >                 >         sure how to
>         >                 >         >                 modify the
>         >                 >         >                 > transmit and
>         receive
>         >                 command lines to
>         >                 >         properly set
>         >                 >         >                 the frame rate,
>         >                 >         >                 > codec, etc.
>         Also
>         >                 another problem is that
>         >                 >         I want to
>         >                 >         >                 see this live on
>         >                 >         >                 > the receiver,
>         so setting
>         >                 gstreamer to run
>         >                 >         for a
>         >                 >         >                 specified amount
>         of
>         >                 >         >                 > time so that
>         the header
>         >                 is written
>         >                 >         properly will not
>         >                 >         >                 allow me to see
>         >                 >         >                 > this real-time
>         on the
>         >                 receive side.  Any
>         >                 >         >                 suggestions?
>         >                 >         >                 >
>         >                 >         >                
>         >                 >         >                 This works I
>         presume:
>         >                 >         >                
>         >                 >         >                 gst-launch-0.10
>         playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >                
>         >                 >         >                 ?
>         >                 >         >                
>         >                 >         >                 Note that
>         rtspsrc outputs
>         >                 RTP packets, which
>         >                 >         you need
>         >                 >         >                 to depayload
>         using
>         >                 >         >                 an appropriate
>         depayloader
>         >                 (rtpmp2tdepay?
>         >                 >         >                 rtpmp4gdepay?
>         >                 rtpmp4vdepay?).
>         >                 >         >                
>         >                 >         >                 Writing RTP
>         packets to
>         >                 file like you do now
>         >                 >         is not
>         >                 >         >                 going to work.
>         >                 >         >                
>         >                 >         >                 Cheers
>         >                 >         >                   -Tim
>         >                 >         >                
>         >                 >         >
>         >                 >
>         >
>            _______________________________________________
>         >                 >         >                 gstreamer-devel
>         mailing
>         >                 list
>         >                 >         >
>         >                    [hidden email]
>         >                 >         >
>         >                 >
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         >                
>         >                 >         >        
>         >                 >         >         -----Inline Attachment
>         >                 Follows-----
>         >                 >         >        
>         >                 >         >
>         >
>         _______________________________________________
>         >                 >         >         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
>         >                
>         >        
>         >         -----Inline Attachment Follows-----
>         >        
>         >         _______________________________________________
>         >         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
Reply | Threaded
Open this post in threaded view
|

Re: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
Hi Nikola,

thanks so much.

The reason for the pipe is this.  I am sending the video feed to a custom C++ modulator which reads from a file (the named pipe) and then sends a signal to modem hardware.   The receive side is the reverse where hardware gives a signal to the C++ demodulator, and the demodulator writes the data stream to a file.  Using a named pipe will hopefully allow me to view the demodulated bits live with gstreamer.

It doesn't seem like tee would help in this case.  On the transmit side I don't need to see the video, I just need to see it on the receive side.

I was just looping it locally on a disk with the named pipe to see if both the transmit and receive side work properly so that I know any problems aren't from gstreamer.  I'm not sure if there are other parameters I will need to adjust for the receive side besides the sync=false.  I know the demodulation will produce a little latency, probably as much or more than when I tried the looping on a local disk (bypassing the C++ modulator and demodulator)

Thanks -Tom

--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Tom Hendrick" <[hidden email]>
Cc: "Discussion of the development of and with GStreamer" <[hidden email]>
Date: Saturday, April 9, 2011, 10:54 PM

I guess the latency is the pipe, gstreamer is perfectly able to record a
stream on disk and at the same time display it, why do you use a pipe?

Please take a look here:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html

Nicola

Il giorno sab, 09/04/2011 alle 15.45 -0700, Tom Hendrick ha scritto:

> Hi Nikola,
>
> Thanks again!  That works but if I move my hand by the camera, there
> is latency before I see it on the gst-launch-0.10 playback screen, and
> when my hand moves it moves really fast when it shows up.
>
> Are there any other tricks you might know of?  Again it works
> perfectly at 10kbps when I have gst-launch playbin
> uri=rtsp://192.168.0.90/mpeg4/media.amp
> running.
>
> Thanks -tom
>
> --- On Sat, 4/9/11, Mailing List SVR <lists@...> wrote:
>         
>         From: Mailing List SVR <lists@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <gstreamer-devel@...>, "Tom Hendrick"
>         <sdtom182@...>
>         Date: Saturday, April 9, 2011, 10:27 PM
>         
>         Try "xvimagesink sync=false" should do the work,
>         
>         Nicola
>         
>         
>         Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha
>         scritto:
>         > Hi Nikola or anyone else,
>         >
>         > In the end I will be working with named pipes with the video
>         file
>         > being saved by gstreamer from the axis IP camera.
>         >
>         > When I make a named pipe using mkfifo test.gdp
>         > and then do:
>         >
>         > gst-launch-0.10 -e rtspsrc
>         > location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         > rtpmp4vdepay !
>         > mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>         >
>         > and then playback with
>         >
>         > gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         > ffdec_mpeg4 ! xvimagesink
>         >
>         >
>         > it works perfectly with the camera bitrate set at 100kbps
>         and I see
>         > the live video feed from the camera.
>         >
>         > With the camera set at 10kbps, it starts, and I see the
>         gst-launch
>         > playback window with the vide feed but it updates extremely
>         slow.  I
>         > see a message in the command line saying
>         >
>         >
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         > WARNING: from element /GstPipeline:pipeline0/
>         > GstXvImageSink:xvimagesink0: A lot of buffers are being
>         dropped.
>         > Additional debug info:
>         > gstbasesink.c(2686): gst_base_sink_is_too_late
>         > (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         >
>         >
>         > Does anyone have advice on additional parameters I may need
>         to use?
>         > Unfortunately I have a need to work at 10kbps.  At this low
>         of bitrate
>         > I have problems with mplayer and mencoder.
>         >
>         >  However even at 10kbps, the following works fine
>         >
>         > gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >
>         >
>         > Thanks
>         > Tom
>         >
>         >
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         >         
>         >         From: Tom Hendrick <sdtom182@...>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: lists@..., "Discussion of the
>         development of
>         >         and with GStreamer"
>         <gstreamer-devel@...>
>         >         Date: Saturday, April 9, 2011, 9:11 PM
>         >         
>         >         Nicola, Thanks so much!
>         >         
>         >         When I do:
>         >         
>         >         gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         >         rtpmp4vdepay !
>         >         mpeg4videoparse ! gdppay ! filesink
>         location=/tmp/test.gdp
>         >         
>         >         and then playback with
>         >         
>         >         gst-launch-0.10 filesrc location=/tmp/test.gdp !
>         gdpdepay !
>         >         ffdec_mpeg4 ! xvimagesink
>         >         
>         >         
>         >         It works great.  Do you think this uses a lot more
>         processing
>         >         power than using something like mencoder or openRTSP
>         to just
>         >         copy the stream and save it to file?
>         >         
>         >         Thanks so much for your help
>         >         Tom
>         >         
>         >         --- On Sat, 4/9/11, Mailing List SVR
>         <lists@...>
>         >         wrote:
>         >                 
>         >                 From: Mailing List SVR
>         <lists@...>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: "Tom Hendrick" <sdtom182@...>
>         >                 Cc: "Discussion of the development of and
>         with
>         >                 GStreamer"
>         <gstreamer-devel@...>,
>         >                 t.i.m@...
>         >                 Date: Saturday, April 9, 2011, 8:57 PM
>         >                 
>         >                 Sorry the right pipe is the following:
>         >                 
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! matroskamux ! filesink
>         >                 location=/tmp/test.mkv
>         >                 
>         >                 and then playback with playbin or any
>         stardard player
>         >                 
>         >                 or
>         >                 
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! gdppay ! filesink
>         >                 location=/tmp/test.gdp
>         >                 
>         >                 and then playback with
>         >                 
>         >                 
>         >                 gst-launch-0.10 filesrc
>         location=/tmp/test.gdp !
>         >                 gdpdepay !
>         >                 ffdec_mpeg4 ! xvimagesink
>         >                 
>         >                 Nicola
>         >                 
>         >                 Il giorno sab, 09/04/2011 alle 13.14 -0700,
>         Tom
>         >                 Hendrick ha scritto:
>         >                 > Thanks so much,
>         >                 > When I run:
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! matroskamux ! filesink
>         >                 location=test.mkv
>         >                 >
>         >                 > I get :  streaming task paused, reason
>         >                 not-negotiated (-4)
>         >                 >
>         >                 > when I run :
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! gdppay ! filesink
>         location=test.gdp
>         >                 >
>         >                 > Control ^C out of it, and then:
>         >                 >
>         >                 > gst-launch filesrc location=test.mkv !
>         gdpdepay !
>         >                 decodebin2 !
>         >                 > autovideosink
>         >                 >
>         >                 > It works!  but the quality of the image is
>         much
>         >                 lower than when I run
>         >                 > gst-launch playbin
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >
>         >                 >
>         >                 > Is this because of the muxer, what else
>         can I try?
>         >                 >
>         >                 > thanks
>         >                 > Tom
>         >                 >
>         >                 >
>         >                 >
>         >                 > --- On Sat, 4/9/11, Mailing List SVR
>         >                 <lists@...> wrote:
>         >                 >         
>         >                 >         From: Mailing List SVR
>         >                 <lists@...>
>         >                 >         Subject: Re: Help with Gstreamer
>         and RTSP
>         >                 with Axis Camera
>         >                 >         To: "Discussion of the development
>         of and
>         >                 with GStreamer"
>         >                 >
>            <gstreamer-devel@...>
>         >                 >         Cc: t.i.m@..., "Tom
>         Hendrick"
>         >                 <sdtom182@...>
>         >                 >         Date: Saturday, April 9, 2011,
>         7:25 PM
>         >                 >         
>         >                 >         You need a muxer try this:
>         >                 >         
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! matroskamux !
>         filesink
>         >                 location=test.mkv
>         >                 >         
>         >                 >         then you'll be able to play the
>         video with
>         >                 playbin.
>         >                 >         
>         >                 >         You can also try:
>         >                 >         
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! gdppay ! filesink
>         >                 location=test.gdp
>         >                 >         
>         >                 >         and then:
>         >                 >         
>         >                 >         gst-launch filesrc
>         location=test.mkv !
>         >                 gdpdepay ! decodebin2 !
>         >                 >         autovideosink
>         >                 >         
>         >                 >         regards
>         >                 >         Nicola
>         >                 >         
>         >                 >         
>         >                 >         
>         >                 >         Il giorno sab, 09/04/2011 alle
>         10.33 -0700,
>         >                 Tom Hendrick ha
>         >                 >         scritto:
>         >                 >         >
>         >                 >         > I tried:
>         >                 >         >
>         >                 >         >  gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         > rtpmp4vdepay ! filesink=txcap.ts
>         >                 >         >
>         >                 >         > and I didn't get the link error
>         and it
>         >                 saved to a file.
>         >                 >         >
>         >                 >         > When I try to play it with
>         gstreamer
>         >                 using:
>         >                 >         >
>         >                 >         > gst-launch playbin
>         uri=file://txcap.ts, or
>         >                 gst-launch-0.10
>         >                 >         playbin2
>         >                 >         > uri=file://txcap.ts,
>         >                 >         >
>         >                 >         > it plays too fast and the lower
>         half of
>         >                 the each frame has
>         >                 >         some weird
>         >                 >         > block distortions.
>         >                 >         >
>         >                 >         > When I do:
>         >                 >         > mplayer txcap.ts  it also plays
>         too fast
>         >                 but I don't see the
>         >                 >         weird
>         >                 >         > block distortions on the lower
>         left half
>         >                 of each frame, but
>         >                 >         when I do
>         >                 >         > mplayer -fps 1 txcap.ts it plays
>         fine.
>         >                 >         >
>         >                 >         >
>         >                 >         > When I do gst-launch playbin
>         >                 >
>            uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         > it shows the video feed just
>         fine without
>         >                 that distotion in
>         >                 >         the lower
>         >                 >         > half.  I'd like to make the
>         saved file
>         >                 work with gstreamer
>         >                 >         because I
>         >                 >         > had some cache problems with
>         mplayer on
>         >                 the receiver in the
>         >                 >         past.
>         >                 >         >
>         >                 >         > Could it have anything to do
>         with the fact
>         >                 Axis uses MPEG-ES
>         >                 >         formats?
>         >                 >         > Any other ideas?
>         >                 >         >
>         >                 >         > Thanks
>         >                 >         > Tom
>         >                 >         >
>         >                 >         > --- On Sat, 4/9/11, Tom Hendrick
>         >                 <sdtom182@...> wrote:
>         >                 >         >         
>         >                 >         >         From: Tom Hendrick
>         >                 <sdtom182@...>
>         >                 >         >         Subject: Re: Help with
>         Gstreamer
>         >                 and RTSP with Axis
>         >                 >         Camera
>         >                 >         >         To: t.i.m@...,
>         "Discussion
>         >                 of the development
>         >                 >         of and
>         >                 >         >         with GStreamer"
>         >                 >
>            <gstreamer-devel@...>
>         >                 >         >         Date: Saturday, April 9,
>         2011,
>         >                 5:13 PM
>         >                 >         >         
>         >                 >         >         Thanks Tim,
>         >                 >         >         
>         >                 >         >         I can see a live feed
>         from the
>         >                 Axis camera when I
>         >                 >         do:
>         >                 >         >         
>         >                 >         >         gst-launch-0.10 playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         I can't figure out how
>         to modify
>         >                 my transmit and
>         >                 >         receive
>         >                 >         >         commands given that I
>         need to
>         >                 depay.  I've read up
>         >                 >         on the
>         >                 >         >         gstreamer site and
>         checked other
>         >                 forums but still
>         >                 >         can't figure
>         >                 >         >         it out.   When I do
>         "gst-launch
>         >                 rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         rtpmp4gdepay !
>         filesink=txcap.ts"
>         >                 I get an error
>         >                 >         saying
>         >                 >         >         "streaming task paused,
>         reason
>         >                 not-linked (-1)". 
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         Do you know how I would
>         modify
>         >                 them, here they are
>         >                 >         again?
>         >                 >         >         
>         >                 >         >         gst-launch rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         filesink=txcap.ts
>         >                 >         >         
>         >                 >         >         gst-launch playbin
>         >                 uri=file://txcap.ts
>         >                 >         >         
>         >                 >         >         Thanks
>         >                 >         >         Tom
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         --- On Sat, 4/9/11,
>         Tim-Philipp
>         >                 Müller
>         >                 >         <t.i.m@...>
>         >                 >         >         wrote:
>         >                 >         >                 
>         >                 >         >                 From:
>         Tim-Philipp Müller
>         >                 <t.i.m@...>
>         >                 >         >                 Subject: Re:
>         Help with
>         >                 Gstreamer and RTSP
>         >                 >         with Axis
>         >                 >         >                 Camera
>         >                 >         >                 To:
>         >                 gstreamer-devel@...
>         >                 >         >                 Date: Saturday,
>         April 9,
>         >                 2011, 10:49 AM
>         >                 >         >                 
>         >                 >         >                 On Fri,
>         2011-04-08 at
>         >                 19:12 -0700, Tom
>         >                 >         Hendrick wrote:
>         >                 >         >                 
>         >                 >         >                 Hi,
>         >                 >         >                 
>         >                 >         >                 >
>         >                 >         >                 > As a quick
>         test, I am
>         >                 (..) just trying the
>         >                 >         >                 following:
>         >                 >         >                 >
>         >                 >         >                 > Transmitter :
>         >                 >         >                 >
>         -------------------
>         >                 >         >                 > gst-launch
>         rtspsrc
>         >                 >         >
>         >                 >
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >                 >
>         filesink=txcap.ts
>         >                 >         >                 >
>         >                 >         >                 > I let this run
>         for 20
>         >                 seconds and control
>         >                 >         ^C out of
>         >                 >         >                 it.
>         >                 >         >                 >
>         >                 >         >                 > Receiver:
>         >                 >         >                 > -------------
>         >                 >         >                 > gst-launch
>         playbin
>         >                 uri=file://txcap.ts
>         >                 >         >                 >
>         >                 >         >                 >
>         >                 >         >                 > The problem is
>         that when
>         >                 I run the
>         >                 >         gst-launch
>         >                 >         >
>            playbin=file://txcap.ts
>         >                 >         >                 > the video file
>         plays
>         >                 very fast and then
>         >                 >         closes.  The
>         >                 >         >                 quality also
>         >                 >         >                 > doesn't look
>         as good as
>         >                 when I use "vlc
>         >                 >         >                 >
>         >                 rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >         >                 >
>         >                 >         >                 > I'm a beginner
>         with
>         >                 gstreamer so I'm not
>         >                 >         sure how to
>         >                 >         >                 modify the
>         >                 >         >                 > transmit and
>         receive
>         >                 command lines to
>         >                 >         properly set
>         >                 >         >                 the frame rate,
>         >                 >         >                 > codec, etc.
>         Also
>         >                 another problem is that
>         >                 >         I want to
>         >                 >         >                 see this live on
>         >                 >         >                 > the receiver,
>         so setting
>         >                 gstreamer to run
>         >                 >         for a
>         >                 >         >                 specified amount
>         of
>         >                 >         >                 > time so that
>         the header
>         >                 is written
>         >                 >         properly will not
>         >                 >         >                 allow me to see
>         >                 >         >                 > this real-time
>         on the
>         >                 receive side.  Any
>         >                 >         >                 suggestions?
>         >                 >         >                 >
>         >                 >         >                 
>         >                 >         >                 This works I
>         presume:
>         >                 >         >                 
>         >                 >         >                 gst-launch-0.10
>         playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >                 
>         >                 >         >                 ?
>         >                 >         >                 
>         >                 >         >                 Note that
>         rtspsrc outputs
>         >                 RTP packets, which
>         >                 >         you need
>         >                 >         >                 to depayload
>         using
>         >                 >         >                 an appropriate
>         depayloader
>         >                 (rtpmp2tdepay?
>         >                 >         >                 rtpmp4gdepay?
>         >                 rtpmp4vdepay?).
>         >                 >         >                 
>         >                 >         >                 Writing RTP
>         packets to
>         >                 file like you do now
>         >                 >         is not
>         >                 >         >                 going to work.
>         >                 >         >                 
>         >                 >         >                 Cheers
>         >                 >         >                   -Tim
>         >                 >         >                 
>         >                 >         >
>         >                 >
>         >
>            _______________________________________________
>         >                 >         >                 gstreamer-devel
>         mailing
>         >                 list
>         >                 >         >
>         >                    gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         >                 
>         >                 >         >         
>         >                 >         >         -----Inline Attachment
>         >                 Follows-----
>         >                 >         >         
>         >                 >         >
>         >
>         _______________________________________________
>         >                 >         >         gstreamer-devel mailing
>         list
>         >                 >         >
>         >                    gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         >         
>         >                 >         >
>         >
>            _______________________________________________
>         >                 >         > gstreamer-devel mailing list
>         >                 >         >
>         gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         
>         >                 >         
>         >                 
>         >
>            _______________________________________________
>         >                 gstreamer-devel mailing list
>         >                 gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 
>         >         
>         >         -----Inline Attachment Follows-----
>         >         
>         >         _______________________________________________
>         >         gstreamer-devel mailing list
>         >         gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >         
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > gstreamer-devel@...
>         >
>         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: Help with Gstreamer and RTSP with Axis Camera

Tom Hendrick
In reply to this post by Mailing List SVR
Hi Nicola and others,

I need a little advice using gstreamer for my application.  I am using an Axis 212 PTZ camera to feed an rtsp mpeg4 stream with gstreamer to a C++ function which performs modulation of the signal.  From there the output goes to hardware.  Unfortunately the hardware seems to want a constant bitrate due to the way it samples and outputs the signal.

Are there any tricks or muxers that might help with this?  I have the Axis camera configured to a constant bitrate with fixed frame rate but I find that it still varies, especially when there is no motion in the camera's viscinity, and then sudden motion.  This causes problems because the C++ modulator works at a near constant bitrate and the hardware expects constant bitrate too so when the bitrate changes a lot, I see random gaps of no signal on the hardware output. When the camera has a more stable bitrate output, I don't see those gaps.  Unfortunately big changes to the C++ code is not something easy for me to do since I didn't develop the code.

I heard there is something called MPEG4-TS which helps to give a constant bit rate but I don't know if that even works in gstreamer. 

Here is an example of my transmit gstreamer call:

gst-launch-0.10 -e rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp ! rtpmp4vdepay ! mpeg4videoparse ! gdppay ! filesink location=txfifo.ts&

the receiver looks like (txout.ts is the demodulated piped file):

gst-launch-0.10 filesrc location=txout.ts ! gdpdepay ! ffdec_mpeg4 ! xvimagesink

I was hoping to try something simple with gstreamer because changes to the C++ code are too difficult for me to do. Any advice would be greatly appreciated.
Thanks. Tom


--- On Sat, 4/9/11, Mailing List SVR <[hidden email]> wrote:

From: Mailing List SVR <[hidden email]>
Subject: Re: Help with Gstreamer and RTSP with Axis Camera
To: "Tom Hendrick" <[hidden email]>
Cc: "Discussion of the development of and with GStreamer" <[hidden email]>
Date: Saturday, April 9, 2011, 10:54 PM

I guess the latency is the pipe, gstreamer is perfectly able to record a
stream on disk and at the same time display it, why do you use a pipe?

Please take a look here:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html

Nicola

Il giorno sab, 09/04/2011 alle 15.45 -0700, Tom Hendrick ha scritto:

> Hi Nikola,
>
> Thanks again!  That works but if I move my hand by the camera, there
> is latency before I see it on the gst-launch-0.10 playback screen, and
> when my hand moves it moves really fast when it shows up.
>
> Are there any other tricks you might know of?  Again it works
> perfectly at 10kbps when I have gst-launch playbin
> uri=rtsp://192.168.0.90/mpeg4/media.amp
> running.
>
> Thanks -tom
>
> --- On Sat, 4/9/11, Mailing List SVR <lists@...> wrote:
>         
>         From: Mailing List SVR <lists@...>
>         Subject: Re: Help with Gstreamer and RTSP with Axis Camera
>         To: "Discussion of the development of and with GStreamer"
>         <gstreamer-devel@...>, "Tom Hendrick"
>         <sdtom182@...>
>         Date: Saturday, April 9, 2011, 10:27 PM
>         
>         Try "xvimagesink sync=false" should do the work,
>         
>         Nicola
>         
>         
>         Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha
>         scritto:
>         > Hi Nikola or anyone else,
>         >
>         > In the end I will be working with named pipes with the video
>         file
>         > being saved by gstreamer from the axis IP camera.
>         >
>         > When I make a named pipe using mkfifo test.gdp
>         > and then do:
>         >
>         > gst-launch-0.10 -e rtspsrc
>         > location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         > rtpmp4vdepay !
>         > mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp&
>         >
>         > and then playback with
>         >
>         > gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !
>         > ffdec_mpeg4 ! xvimagesink
>         >
>         >
>         > it works perfectly with the camera bitrate set at 100kbps
>         and I see
>         > the live video feed from the camera.
>         >
>         > With the camera set at 10kbps, it starts, and I see the
>         gst-launch
>         > playback window with the vide feed but it updates extremely
>         slow.  I
>         > see a message in the command line saying
>         >
>         >
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         > WARNING: from element /GstPipeline:pipeline0/
>         > GstXvImageSink:xvimagesink0: A lot of buffers are being
>         dropped.
>         > Additional debug info:
>         > gstbasesink.c(2686): gst_base_sink_is_too_late
>         > (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>         > There may be a timestamping problem, or this computer is too
>         slow.
>         >
>         >
>         > Does anyone have advice on additional parameters I may need
>         to use?
>         > Unfortunately I have a need to work at 10kbps.  At this low
>         of bitrate
>         > I have problems with mplayer and mencoder.
>         >
>         >  However even at 10kbps, the following works fine
>         >
>         > gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >
>         >
>         > Thanks
>         > Tom
>         >
>         >
>         >
>         > --- On Sat, 4/9/11, Tom Hendrick <sdtom182@...> wrote:
>         >         
>         >         From: Tom Hendrick <sdtom182@...>
>         >         Subject: Re: Help with Gstreamer and RTSP with Axis
>         Camera
>         >         To: lists@..., "Discussion of the
>         development of
>         >         and with GStreamer"
>         <gstreamer-devel@...>
>         >         Date: Saturday, April 9, 2011, 9:11 PM
>         >         
>         >         Nicola, Thanks so much!
>         >         
>         >         When I do:
>         >         
>         >         gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         >         rtpmp4vdepay !
>         >         mpeg4videoparse ! gdppay ! filesink
>         location=/tmp/test.gdp
>         >         
>         >         and then playback with
>         >         
>         >         gst-launch-0.10 filesrc location=/tmp/test.gdp !
>         gdpdepay !
>         >         ffdec_mpeg4 ! xvimagesink
>         >         
>         >         
>         >         It works great.  Do you think this uses a lot more
>         processing
>         >         power than using something like mencoder or openRTSP
>         to just
>         >         copy the stream and save it to file?
>         >         
>         >         Thanks so much for your help
>         >         Tom
>         >         
>         >         --- On Sat, 4/9/11, Mailing List SVR
>         <lists@...>
>         >         wrote:
>         >                 
>         >                 From: Mailing List SVR
>         <lists@...>
>         >                 Subject: Re: Help with Gstreamer and RTSP
>         with Axis
>         >                 Camera
>         >                 To: "Tom Hendrick" <sdtom182@...>
>         >                 Cc: "Discussion of the development of and
>         with
>         >                 GStreamer"
>         <gstreamer-devel@...>,
>         >                 t.i.m@...
>         >                 Date: Saturday, April 9, 2011, 8:57 PM
>         >                 
>         >                 Sorry the right pipe is the following:
>         >                 
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! matroskamux ! filesink
>         >                 location=/tmp/test.mkv
>         >                 
>         >                 and then playback with playbin or any
>         stardard player
>         >                 
>         >                 or
>         >                 
>         >                 gst-launch-0.10 -e rtspsrc
>         >
>            location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !
>         rtpmp4vdepay !
>         >                 mpeg4videoparse ! gdppay ! filesink
>         >                 location=/tmp/test.gdp
>         >                 
>         >                 and then playback with
>         >                 
>         >                 
>         >                 gst-launch-0.10 filesrc
>         location=/tmp/test.gdp !
>         >                 gdpdepay !
>         >                 ffdec_mpeg4 ! xvimagesink
>         >                 
>         >                 Nicola
>         >                 
>         >                 Il giorno sab, 09/04/2011 alle 13.14 -0700,
>         Tom
>         >                 Hendrick ha scritto:
>         >                 > Thanks so much,
>         >                 > When I run:
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! matroskamux ! filesink
>         >                 location=test.mkv
>         >                 >
>         >                 > I get :  streaming task paused, reason
>         >                 not-negotiated (-4)
>         >                 >
>         >                 > when I run :
>         >                 >
>         >                 > gst-launch rtspsrc
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 > rtpmp4vdepay ! gdppay ! filesink
>         location=test.gdp
>         >                 >
>         >                 > Control ^C out of it, and then:
>         >                 >
>         >                 > gst-launch filesrc location=test.mkv !
>         gdpdepay !
>         >                 decodebin2 !
>         >                 > autovideosink
>         >                 >
>         >                 > It works!  but the quality of the image is
>         much
>         >                 lower than when I run
>         >                 > gst-launch playbin
>         >                 uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >
>         >                 >
>         >                 > Is this because of the muxer, what else
>         can I try?
>         >                 >
>         >                 > thanks
>         >                 > Tom
>         >                 >
>         >                 >
>         >                 >
>         >                 > --- On Sat, 4/9/11, Mailing List SVR
>         >                 <lists@...> wrote:
>         >                 >         
>         >                 >         From: Mailing List SVR
>         >                 <lists@...>
>         >                 >         Subject: Re: Help with Gstreamer
>         and RTSP
>         >                 with Axis Camera
>         >                 >         To: "Discussion of the development
>         of and
>         >                 with GStreamer"
>         >                 >
>            <gstreamer-devel@...>
>         >                 >         Cc: t.i.m@..., "Tom
>         Hendrick"
>         >                 <sdtom182@...>
>         >                 >         Date: Saturday, April 9, 2011,
>         7:25 PM
>         >                 >         
>         >                 >         You need a muxer try this:
>         >                 >         
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! matroskamux !
>         filesink
>         >                 location=test.mkv
>         >                 >         
>         >                 >         then you'll be able to play the
>         video with
>         >                 playbin.
>         >                 >         
>         >                 >         You can also try:
>         >                 >         
>         >                 >         gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         rtpmp4vdepay ! gdppay ! filesink
>         >                 location=test.gdp
>         >                 >         
>         >                 >         and then:
>         >                 >         
>         >                 >         gst-launch filesrc
>         location=test.mkv !
>         >                 gdpdepay ! decodebin2 !
>         >                 >         autovideosink
>         >                 >         
>         >                 >         regards
>         >                 >         Nicola
>         >                 >         
>         >                 >         
>         >                 >         
>         >                 >         Il giorno sab, 09/04/2011 alle
>         10.33 -0700,
>         >                 Tom Hendrick ha
>         >                 >         scritto:
>         >                 >         >
>         >                 >         > I tried:
>         >                 >         >
>         >                 >         >  gst-launch rtspsrc
>         >                 >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         > rtpmp4vdepay ! filesink=txcap.ts
>         >                 >         >
>         >                 >         > and I didn't get the link error
>         and it
>         >                 saved to a file.
>         >                 >         >
>         >                 >         > When I try to play it with
>         gstreamer
>         >                 using:
>         >                 >         >
>         >                 >         > gst-launch playbin
>         uri=file://txcap.ts, or
>         >                 gst-launch-0.10
>         >                 >         playbin2
>         >                 >         > uri=file://txcap.ts,
>         >                 >         >
>         >                 >         > it plays too fast and the lower
>         half of
>         >                 the each frame has
>         >                 >         some weird
>         >                 >         > block distortions.
>         >                 >         >
>         >                 >         > When I do:
>         >                 >         > mplayer txcap.ts  it also plays
>         too fast
>         >                 but I don't see the
>         >                 >         weird
>         >                 >         > block distortions on the lower
>         left half
>         >                 of each frame, but
>         >                 >         when I do
>         >                 >         > mplayer -fps 1 txcap.ts it plays
>         fine.
>         >                 >         >
>         >                 >         >
>         >                 >         > When I do gst-launch playbin
>         >                 >
>            uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         > it shows the video feed just
>         fine without
>         >                 that distotion in
>         >                 >         the lower
>         >                 >         > half.  I'd like to make the
>         saved file
>         >                 work with gstreamer
>         >                 >         because I
>         >                 >         > had some cache problems with
>         mplayer on
>         >                 the receiver in the
>         >                 >         past.
>         >                 >         >
>         >                 >         > Could it have anything to do
>         with the fact
>         >                 Axis uses MPEG-ES
>         >                 >         formats?
>         >                 >         > Any other ideas?
>         >                 >         >
>         >                 >         > Thanks
>         >                 >         > Tom
>         >                 >         >
>         >                 >         > --- On Sat, 4/9/11, Tom Hendrick
>         >                 <sdtom182@...> wrote:
>         >                 >         >         
>         >                 >         >         From: Tom Hendrick
>         >                 <sdtom182@...>
>         >                 >         >         Subject: Re: Help with
>         Gstreamer
>         >                 and RTSP with Axis
>         >                 >         Camera
>         >                 >         >         To: t.i.m@...,
>         "Discussion
>         >                 of the development
>         >                 >         of and
>         >                 >         >         with GStreamer"
>         >                 >
>            <gstreamer-devel@...>
>         >                 >         >         Date: Saturday, April 9,
>         2011,
>         >                 5:13 PM
>         >                 >         >         
>         >                 >         >         Thanks Tim,
>         >                 >         >         
>         >                 >         >         I can see a live feed
>         from the
>         >                 Axis camera when I
>         >                 >         do:
>         >                 >         >         
>         >                 >         >         gst-launch-0.10 playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         I can't figure out how
>         to modify
>         >                 my transmit and
>         >                 >         receive
>         >                 >         >         commands given that I
>         need to
>         >                 depay.  I've read up
>         >                 >         on the
>         >                 >         >         gstreamer site and
>         checked other
>         >                 forums but still
>         >                 >         can't figure
>         >                 >         >         it out.   When I do
>         "gst-launch
>         >                 rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         rtpmp4gdepay !
>         filesink=txcap.ts"
>         >                 I get an error
>         >                 >         saying
>         >                 >         >         "streaming task paused,
>         reason
>         >                 not-linked (-1)". 
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         Do you know how I would
>         modify
>         >                 them, here they are
>         >                 >         again?
>         >                 >         >         
>         >                 >         >         gst-launch rtspsrc
>         >                 >         >
>         >
>         location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >         filesink=txcap.ts
>         >                 >         >         
>         >                 >         >         gst-launch playbin
>         >                 uri=file://txcap.ts
>         >                 >         >         
>         >                 >         >         Thanks
>         >                 >         >         Tom
>         >                 >         >         
>         >                 >         >         
>         >                 >         >         --- On Sat, 4/9/11,
>         Tim-Philipp
>         >                 Müller
>         >                 >         <t.i.m@...>
>         >                 >         >         wrote:
>         >                 >         >                 
>         >                 >         >                 From:
>         Tim-Philipp Müller
>         >                 <t.i.m@...>
>         >                 >         >                 Subject: Re:
>         Help with
>         >                 Gstreamer and RTSP
>         >                 >         with Axis
>         >                 >         >                 Camera
>         >                 >         >                 To:
>         >                 gstreamer-devel@...
>         >                 >         >                 Date: Saturday,
>         April 9,
>         >                 2011, 10:49 AM
>         >                 >         >                 
>         >                 >         >                 On Fri,
>         2011-04-08 at
>         >                 19:12 -0700, Tom
>         >                 >         Hendrick wrote:
>         >                 >         >                 
>         >                 >         >                 Hi,
>         >                 >         >                 
>         >                 >         >                 >
>         >                 >         >                 > As a quick
>         test, I am
>         >                 (..) just trying the
>         >                 >         >                 following:
>         >                 >         >                 >
>         >                 >         >                 > Transmitter :
>         >                 >         >                 >
>         -------------------
>         >                 >         >                 > gst-launch
>         rtspsrc
>         >                 >         >
>         >                 >
>         >
>            location=rtsp://192.168.0.90/mpeg4/media.amp !
>         >                 >         >                 >
>         filesink=txcap.ts
>         >                 >         >                 >
>         >                 >         >                 > I let this run
>         for 20
>         >                 seconds and control
>         >                 >         ^C out of
>         >                 >         >                 it.
>         >                 >         >                 >
>         >                 >         >                 > Receiver:
>         >                 >         >                 > -------------
>         >                 >         >                 > gst-launch
>         playbin
>         >                 uri=file://txcap.ts
>         >                 >         >                 >
>         >                 >         >                 >
>         >                 >         >                 > The problem is
>         that when
>         >                 I run the
>         >                 >         gst-launch
>         >                 >         >
>            playbin=file://txcap.ts
>         >                 >         >                 > the video file
>         plays
>         >                 very fast and then
>         >                 >         closes.  The
>         >                 >         >                 quality also
>         >                 >         >                 > doesn't look
>         as good as
>         >                 when I use "vlc
>         >                 >         >                 >
>         >                 rtsp://192.168.0.90/mpeg4/media.amp"
>         >                 >         >                 >
>         >                 >         >                 > I'm a beginner
>         with
>         >                 gstreamer so I'm not
>         >                 >         sure how to
>         >                 >         >                 modify the
>         >                 >         >                 > transmit and
>         receive
>         >                 command lines to
>         >                 >         properly set
>         >                 >         >                 the frame rate,
>         >                 >         >                 > codec, etc.
>         Also
>         >                 another problem is that
>         >                 >         I want to
>         >                 >         >                 see this live on
>         >                 >         >                 > the receiver,
>         so setting
>         >                 gstreamer to run
>         >                 >         for a
>         >                 >         >                 specified amount
>         of
>         >                 >         >                 > time so that
>         the header
>         >                 is written
>         >                 >         properly will not
>         >                 >         >                 allow me to see
>         >                 >         >                 > this real-time
>         on the
>         >                 receive side.  Any
>         >                 >         >                 suggestions?
>         >                 >         >                 >
>         >                 >         >                 
>         >                 >         >                 This works I
>         presume:
>         >                 >         >                 
>         >                 >         >                 gst-launch-0.10
>         playbin2
>         >                 >         >
>         >                    uri=rtsp://192.168.0.90/mpeg4/media.amp
>         >                 >         >                 
>         >                 >         >                 ?
>         >                 >         >                 
>         >                 >         >                 Note that
>         rtspsrc outputs
>         >                 RTP packets, which
>         >                 >         you need
>         >                 >         >                 to depayload
>         using
>         >                 >         >                 an appropriate
>         depayloader
>         >                 (rtpmp2tdepay?
>         >                 >         >                 rtpmp4gdepay?
>         >                 rtpmp4vdepay?).
>         >                 >         >                 
>         >                 >         >                 Writing RTP
>         packets to
>         >                 file like you do now
>         >                 >         is not
>         >                 >         >                 going to work.
>         >                 >         >                 
>         >                 >         >                 Cheers
>         >                 >         >                   -Tim
>         >                 >         >                 
>         >                 >         >
>         >                 >
>         >
>            _______________________________________________
>         >                 >         >                 gstreamer-devel
>         mailing
>         >                 list
>         >                 >         >
>         >                    gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         >                 
>         >                 >         >         
>         >                 >         >         -----Inline Attachment
>         >                 Follows-----
>         >                 >         >         
>         >                 >         >
>         >
>         _______________________________________________
>         >                 >         >         gstreamer-devel mailing
>         list
>         >                 >         >
>         >                    gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         >         
>         >                 >         >
>         >
>            _______________________________________________
>         >                 >         > gstreamer-devel mailing list
>         >                 >         >
>         gstreamer-devel@...
>         >                 >         >
>         >                 >
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 >         
>         >                 >         
>         >                 
>         >
>            _______________________________________________
>         >                 gstreamer-devel mailing list
>         >                 gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >                 
>         >         
>         >         -----Inline Attachment Follows-----
>         >         
>         >         _______________________________________________
>         >         gstreamer-devel mailing list
>         >         gstreamer-devel@...
>         >
>            http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         >         
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > gstreamer-devel@...
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
>         

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel