[gst-devel] clock problem or sync problem? A/V playback duration is shorter!
Nie Jun
niej0001 at gmail.com
Fri Sep 14 04:24:18 CEST 2007
Hi,
Has anyone come into this kind of problem? The stream duration is 75s on
PC, and if only play audio or video on ARM platform, the duration is 75s
too. However, if play Audio and Video together, the duration is 70s, the
audio has additional noise like electrical spark, da da da da. I print all
the alsa-lib function snd_pcm_writei return, no error. If using osssink as
audio sink, duration is right. The following are my cmd line:
*Audio playback:*
gst-launch filesrc location= xmenthelaststand_p320_toDivX.avi ! avidemux
name=t ! mp3dec ! alsasink
Execution ended after 75641737000 ns.
*Video playback:*
gst-launch filesrc location= xmenthelaststand_p320_toDivX.avi ! avidemux
name=t ! queue ! mpeg4dec ! overlay2sink
Execution ended after 75017177000 ns.
*A/V playback:*
gst-launch filesrc location= xmenthelaststand_p320_toDivX.avi ! avidemux
name=t ! queue ! mpeg4dec ! overlay2sink t. ! queue ! mp3dec ! alsasink
Execution ended after 69914445000 ns.
*A/V playback with osssink*
gst-launch filesrc location= xmenthelaststand_p320_toDivX.avi ! avidemux
name=t ! queue ! mpeg4dec ! overlay2sink t. ! queue ! mp3dec ! osssink
Execution ended after 75625864000 ns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070914/56a69ad9/attachment.htm>
More information about the gstreamer-devel
mailing list