[gst-devel] audio video synchornization problem
AJAY GAUTAM
ajaygautam1981 at gmail.com
Fri Jul 31 09:49:06 CEST 2009
Try this:
gst-launch -e rtspsrc location="rtsp://
root:carinov1 at 10.0.0.100/axis-media/media.amp" 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
On Fri, Jul 31, 2009 at 12:39 PM, sreerenj b <bsreerenj at gmail.com> wrote:
>
>
> Hi, I am getting no soud in the recorder video.Getting only the video for
> the following pipeline.
>
> gst-launch -e rtspsrc location="rtsp://
> root:carinov1 at 10.0.0.100/axis-media/media.amp" 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.
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ^CCaught interrupt -- handling interrupt.
> Interrupt: Stopping pipeline ...
> EOS on shutdown enabled -- Forcing EOS on the pipeline
> Waiting for EOS...
> WARNING: from element /GstPipeline:pipeline0/GstAviMux:avi: No or invalid
> input audio, AVI stream will be corrupt.
> Additional debug info:
> gstavimux.c(1611): gst_avi_mux_stop_file ():
> /GstPipeline:pipeline0/GstAviMux:avi
> Got EOS from object "/GstPipeline:pipeline0".
> EOS received - stopping pipeline...
> Execution ended after 9806220692 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> ^C
>
>
>
>
>
> 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).
>
> gst-launch -e rtspsrc location="rtsp://
> root:carinov1 at 10.0.0.100/axis-media/media.amp" 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.
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
--
Thanx & Regards
Ajay Gautam
+91-9717785580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090731/ae4d09bf/attachment.htm>
More information about the gstreamer-devel
mailing list