Try this:<br> gst-launch -e rtspsrc location="rtsp://<a href="http://root:carinov1@10.0.0.100/axis-media/media.amp" target="_blank">root:carinov1@10.0.0.100/axis-media/media.amp</a>"
name=rtsp ! queue ! rtph264depay ! video/x-h264, width=320,
height=240, framerate=30/1 ! ffdec_h264 ! videorate ! ffenc_mpeg4 !
avimux name=avi ! filesink location=s.avi rtsp. ! queue !
rtpmp4gdepay ! faad ! audioconvert ! audioresample ! avi ! sync=true<br><br><br><br><div class="gmail_quote">On Fri, Jul 31, 2009 at 12:39 PM, sreerenj b <span dir="ltr"><<a href="mailto:bsreerenj@gmail.com">bsreerenj@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Hi, I am getting no soud in the recorder video.Getting only the video for the following pipeline.<br>
<br>gst-launch -e rtspsrc location="rtsp://<a href="http://root:carinov1@10.0.0.100/axis-media/media.amp" target="_blank">root:carinov1@10.0.0.100/axis-media/media.amp</a>" name=rtsp ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1 ! ffdec_h264 ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp. ! queue ! rtpmp4gdepay ! aacparse ! avi.<br>
<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>^CCaught interrupt -- handling interrupt.<br>Interrupt: Stopping pipeline ...<br>
EOS on shutdown enabled -- Forcing EOS on the pipeline<br>Waiting for EOS...<br>WARNING: from element /GstPipeline:pipeline0/GstAviMux:avi: No or invalid input audio, AVI stream will be corrupt.<br>Additional debug info:<br>
gstavimux.c(1611): gst_avi_mux_stop_file (): /GstPipeline:pipeline0/GstAviMux:avi<br>Got EOS from object "/GstPipeline:pipeline0".<br>EOS received - stopping pipeline...<br>Execution ended after 9806220692 ns.<br>
Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>^C<br><br><br><br><br><br>But for the following pipeline i got both audio and video.But they are not synchronized!!! first hearing the sound and then the video.(video is lacking behind the audio).<br>
<br> gst-launch -e rtspsrc location="rtsp://<a href="http://root:carinov1@10.0.0.100/axis-media/media.amp" target="_blank">root:carinov1@10.0.0.100/axis-media/media.amp</a>" name=rtsp ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1 ! ffdec_h264 ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp. ! queue ! rtpmp4gdepay ! faad ! audioconvert ! audioresample ! avi.<br>
<br><br><br><br><br><br><br><br><br><br>
<br>------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanx & Regards<br>Ajay Gautam<br>+91-9717785580<br>