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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
RTSP is not a stream.
On Fri, Mar 13, 2009 at 7:05 AM, Jyoti D <[hidden email]> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: RTSP is not a stream. ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> 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. ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Sorry for the confusion. Yes you are right I want to save the RTP stream (media) to a file.
Any idea how to save the same? ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Jyoti-2
On Mon, Mar 16, 2009 at 6:07 AM, Jyoti D <[hidden email]> wrote:
> 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. Your request is a very frequent one. As I understand things, RTSP is a Real Time Streaming Protocol. One of the behaviors of such a protocol is to drop data that becomes expires, simply moving on. This means that there is no single coherent stream. I'm sure what you want to do can be done to some degree, but it's more complicated, I think, than you perceive it to be, which was the point I was trying to make. RTSP is not a stream. -- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks for the information Donny.
On Mon, Mar 16, 2009 at 4:14 PM, Donny Viszneki <[hidden email]> wrote:
------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |