[gst-devel] Saving a RTSP stream

Javier Gálvez Guerrero javier.galvez.guerrero at gmail.com
Mon Mar 16 11:17:36 CET 2009


The RTSP stream is just a RTSP message flow, with no media content. You may
refer to the RTP stream (media) that is configured through the RTSP message
session, don't you?

2009/3/16 Jyoti D <jyoti.d at allaboutif.com>

> I guess you misread my mail. I want to save incoming "RTSP stream" at the
> client side, which is been streamed by a RTSP server.
>
>
> On Fri, Mar 13, 2009 at 4:54 PM, Donny Viszneki <donny.viszneki at gmail.com>wrote:
>
>> RTSP is not a stream.
>>
>> On Fri, Mar 13, 2009 at 7:05 AM, Jyoti D <jyoti.d at allaboutif.com> wrote:
>> > Hi all,
>> >
>> > I have a problem saving the rtsp stream to a file. In my case
>> GStreamer's
>> > RTSP server streams a file with H.264 video AAC audio.
>> >
>> > On the client side I am using the below pipeline to save the rtsp stream
>> > into a file.
>> >
>> > gst-launch rtspsrc location=rtsp://192.168.1.195:8554/alien.mp4 name=d
>> d. !
>> > rtph264depay ! qtmux name=mux ! filesink
>> location=~/Desktop/sync-rtsp.mp4
>> > sync=true name=f d. ! rtpmp4adepay ! mux. f.
>> >
>> > The pipeline never ends & the file content is '0'.
>> >
>> >
>> > One more strange thing I found was when I save only video content the
>> file
>> > is saved properly. And once try playong from the saved file it plays at
>> much
>> > higher rate. The below is the pipeline I use to save video content only.
>> >
>> > gst-launch rtspsrc location=rtsp://192.168.1.195:8554/alien.mp4 name=d
>> d. !
>> > rtph264depay ! qtmux name=mux ! filesink
>> location=~/Desktop/sync-rtsp.mp4
>> > sync=true name=f
>> >
>> > But when I try saving only audio content by replacing rtph264depay to
>> > rtpmp4adepay the file has again zero contents. It works if I am taking
>> off
>> > the mux element. But when I try to gst-typefind on the saved file it
>> pops an
>> > error saying "FAILED: Could not determine type of stream."
>> >
>> > Could someone tell me what might be the problem & what would be the
>> correct
>> > pipeline to save a rtsp stream..
>> >
>> > Thanks,
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> > easily build your RIAs with Flex Builder, the Eclipse(TM)based
>> development
>> > software that enables intelligent coding and step-through debugging.
>> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> >
>>
>>
>>
>> --
>> http://codebad.com/
>>
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090316/224770c4/attachment.htm>


More information about the gstreamer-devel mailing list