<div>Hi, all.</div>
<div> </div>
<div>I have met a problem for A/V synchronization for RTSP. And I hope here someone can give me some suggestions.</div>
<div> </div>
<div>I have a rtsp server sending H264+ aac stream, and a client using&quot; gst-launch playbin uri=rtsp://<a href="http://127.0.0.1:8554/test.mp4">127.0.0.1:8554/test.mp4</a> &quot; to play the stream. I can see the video and hear the audio, but audio and video are not in synchronization. The timestamp of audio seems not correct and complains about&quot;  </div>

<div> </div>
<div>&quot;WARNING: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa: Compensating for audio synchronisation problems<br>Additional debug info:<br>gstbaseaudiosink.c(1462): gst_base_audio_sink_render (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa:<br>
Unexpected discontinuity in audio timestamps of more than half a second (0:00:00.512000000), resyncing  &quot;</div>
<div> </div>
<div>The video will stop and play every several seconds and the audio is not continuous and repeating. I have used </div>
<div>&quot;  GST_DEBUG=*rtp*:5 gst-launch -v playbin uri=rtsp://<a href="http://127.0.0.1/test.mp4">127.0.0.1/test.mp4</a> &gt;debug2.log 2&gt;&amp;1 &quot; to log the info, debug2.log is attached.</div>
<div> </div>
<div> </div>
<div>And My gstreamer version is as follows:</div>
<div> </div>
<div>ii  gstreamer-tools                             0.10.24-1                                  Tools for use with GStreamer<br>ii  gstreamer0.10-alsa                          0.10.22-5                                  GStreamer plugin for ALSA<br>
ii  gstreamer0.10-audiosink                     0.10.22                                    GStreamer virtual audio plugins from the &quot;good&quot; set<br>ii  gstreamer0.10-esd                           0.10.14-1                                  GStreamer plugin for ESD<br>
ii  gstreamer0.10-ffmpeg                        0.10.6.2-1ubuntu2                          FFmpeg plugin for GStreamer<br>ii  gstreamer0.10-gnomevfs                      0.10.22-5                                  GStreamer plugin for GnomeVFS<br>
ii  gstreamer0.10-plugins-base                  0.10.24-1                                  GStreamer plugins from the &quot;base&quot; set<br>ii  gstreamer0.10-plugins-base-apps             0.10.24-1                                  GStreamer helper programs from the &quot;base&quot; set<br>
ii  gstreamer0.10-plugins-good                  0.10.14-1                                  GStreamer plugins from the &quot;good&quot; set</div>
<div>ii gstreamer0.10-plugins-bad                     0.10.11-2ubuntu1                       GStreamer plugins from the &quot;bad&quot; set<br>ii  gstreamer0.10-pulseaudio                    0.10.14-1                                  GStreamer plugin for PulseAudio<br>
ii  gstreamer0.10-tools                         0.10.24-1                                  Tools for use with GStreamer<br>ii  gstreamer0.10-x                             0.10.24-1                                  GStreamer plugins for X11 and Pango<br>
ii  libgstreamer-plugins-base0.10-0             0.10.24-1                                  GStreamer libraries from the &quot;base&quot; set<br>ii  libgstreamer-plugins-base0.10-dev           0.10.22-5                                  GStreamer development files for libraries from the &quot;base&quot; set<br>
ii  libgstreamer0.10-0                          0.10.24-1                                  Core GStreamer libraries and elements<br>ii  libgstreamer0.10-dev                        0.10.22-1                                  GStreamer core development files<br>
ii  python-gst0.10                              0.10.14-1ubuntu1                           generic media-playing framework (Python bindings)</div>
<div> </div>
<div> </div>
<div> </div>
<div>And all these gstreamer package are aligned with ubuntu jaunty(9.04).</div>
<div> </div>
<div>If anyone have met such problem or have solve such issues, please give me a suggestion or anything else. I will appreciate for your help. Thanks.</div>
<div> </div>