[gst-devel] Saving a RTSP stream

Donny Viszneki donny.viszneki at gmail.com
Fri Mar 13 12:24:22 CET 2009


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/




More information about the gstreamer-devel mailing list