Hi all,<br><br>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.<br><br>On the client side I am using the below pipeline to save the rtsp stream into a file.<br>
<br>gst-launch rtspsrc location=rtsp://<a href="http://192.168.1.195:8554/alien.mp4">192.168.1.195:8554/alien.mp4</a> name=d
d. ! rtph264depay ! qtmux name=mux ! filesink
location=~/Desktop/sync-rtsp.mp4 sync=true name=f d. ! rtpmp4adepay !
mux. f.<br><br>The pipeline never ends & the file content is '0'.<br><br><br>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.<br>
<br>gst-launch rtspsrc location=rtsp://<a href="http://192.168.1.195:8554/alien.mp4">192.168.1.195:8554/alien.mp4</a> name=d
d. ! rtph264depay ! qtmux name=mux ! filesink
location=~/Desktop/sync-rtsp.mp4 sync=true name=f<br><br>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."<br>
<br>Could someone tell me what might be the problem & what would be the correct pipeline to save a rtsp stream..<br><br>Thanks,<br><br>