[gst-devel] audio video synchornization problem

sreerenj b bsreerenj at gmail.com
Fri Jul 31 09:09:20 CEST 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090731/9573903d/attachment.htm>


More information about the gstreamer-devel mailing list