[gst-devel] AV Sync for demuxed data

rpavithra.87 rpavithra.87 at gmail.com
Mon Sep 13 07:17:30 CEST 2010


I am trying to test a decoder element.I am dumping the demuxed data
(data,size and timestamps). 
After that i am feeding the demuxed data to the following pipeline
containing two  bins as described below.
 Appsrc - Video dec - Video sink
 Appsrc - Audio dec - Audio sink

it plays well for two or three sec with audio and video sync . But after
that it throws the following error messages :
0:00:05.834803752 29674       0x8b9c20 WARN           baseaudiosink
gstbaseaudiosink.c:1518:gst_base_audio_sink_render:<alsasink0> warning:
Compensating for audio synchronisation problems
0:00:05.834846589 29674       0x8b9c20 WARN           baseaudiosink
gstbaseaudiosink.c:1518:gst_base_audio_sink_render:<alsasink0> warning:
Unexpected discontinuity in audio timestamps of more than half a second
(0:00:04.294979166), resyncing and the actual timestamp is 
(0:00:00.001032704)
0:00:05.836275768 29674       0x8b9c20 WARN           baseaudiosink
gstbaseaudiosink.c:1518:gst_base_audio_sink_render:<alsasink0> warning:
Compensating for audio synchronisation problems
0:00:05.836289732 29674       0x8b9c20 WARN           baseaudiosink
gstbaseaudiosink.c:1518:gst_base_audio_sink_render:<alsasink0> warning:
Unexpected discontinuity in audio timestamps of more than half a second
(0:00:04.294958333), resyncing and the actual timestamp is 
(0:00:00.002065408)


and the video decoder also starts dropping the frames. 

 ffmpeg gstffmpegdec.c:1966:gst_ffmpegdec_video_frame:<ffdec_h2640> Dropping
non-keyframe (seek/init)

Without timestamps all the video frames and audio samples are played out
without sync.
Should i need to do something extra in order to achieve avsync? Please help
me.
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/AV-Sync-for-demuxed-data-tp2536913p2536913.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list