[gst-devel] Video and Audio sync problem

AJAY GAUTAM ajaygautam1981 at gmail.com
Fri Aug 13 09:09:33 CEST 2010


On Fri, Aug 13, 2010 at 11:10 AM, tamil arasu <marasu2010 at gmail.com> wrote:

> Hi Ajay Gautam,
>
>
>
>
> gst-launch rtspsrc location=rtsp://192.168.1.168:8554/mpeg4 latency=10
> name=demux demux. ! queue! rtpmp4vdepay ! mpeg4videoparse ! dmaidec_mpeg4 !
> TIDmaiVideoSink sync=true videoOutput=LCD videoStd=320X240 demux. ! queue !
> rtppcmudepay ! mulawdec ! alsasink
>
> Above one is working with proper Video and Audio sync.But there was 3 to 4
> second delay between live source and  Destination end(where I am displaying
> video and audio).
>
> I increased latency to 500, I am getting the same delay.
>
>
>
>
>
>
> thanks and regards,
>
> Arasu.M
>
>
>
>
>
>
>
>
>
>
> On Thu, Aug 12, 2010 at 9:00 PM, AJAY GAUTAM <ajaygautam1981 at gmail.com>wrote:
>
>> Hi ,
>> Please use
>> gst-launch rtspsrc location=rtsp://192.168.1.168:8554/mpeg4 latency=10
>> name=demux demux. ! queue! rtpmp4vdepay ! mpeg4videoparse ! dmaidec_mpeg4 !
>> TIDmaiVideoSink sync=true videoOutput=LCD videoStd=320X240 demux. ! queue !
>> rtppcmudepay ! mulawdec ! alsasink
>>
>> On Thu, Aug 12, 2010 at 7:55 PM, tamil arasu <marasu2010 at gmail.com>wrote:
>>
>>> Hi All,
>>>
>>>
>>>                 I am new to gstreamer.I am using pipeline below mentioned
>>> for playing Video and Audio from Live source.
>>>
>>> gst-launch rtspsrc location=rtsp://192.168.1.168:8554/mpeg4 latency=10
>>> name=demux demux. ! queue! rtpmp4vdepay ! mpeg4videoparse ! dmaidec_mpeg4 !
>>> TIDmaiVideoSink sync=false videoOutput=LCD videoStd=320X240 demux. ! queue !
>>> rtppcmudepay ! mulawdec ! alsasink
>>>
>>> Above Pipeline is working with proper Audio and Video sync.When I was
>>> testing the Video and Audio sync by running the above pipeline so many
>>> times,Sometimes  Audio got delayed about half second.
>>>
>>> I am getting this warning  mentioned below
>>>
>>>
>>> ../../../../src/gst-libs/gst/audio/gstbaseaudiosink.c(1449):
>>> gst_base_audio_sink_render (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0:
>>> Unexpected discontinuity in audio timestamps of more than half a second
>>> (0:00:00.569375000), resyncing
>>>
>>>
>>>
>>>
>>> thanks and regards,
>>>
>>> Arasu.M
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> --
>> Thanx & Regards
>> Ajay Gautam
>> +91-9717785580
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

Hi ,
Please update your package to Revision 1.45 ,It will not sync properly if
the first audio and video packets do not arrive in the
receiver at the same time.

-- 
Thanx & Regards
Ajay Gautam
+91-9717785580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100813/d11560c8/attachment.htm>


More information about the gstreamer-devel mailing list