<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black> thats right , but setting the src pad caps of decoder will not be proper?  i mean right now i am setting the videodecoder src pad caps on fake buffer (width, height , framerate etc)<br> <br>is it that the data is probed internally .  because irrespective of frame width and height , i am putting  16 byte fake data in buffer and calling gst_pad_push<BR><br> <br>one more thing ,  shoud i not consider decoder's  decoding speed and manipulate the duration of buffer  .  i mean incrementing the duration by something like repeat picture value( as decoder is fast , say decoding at 35 fps) .  or this point can be neglected.<BR><BR><BR><BR><BR>--- On Mon 08/13, Wim Taymans &lt; wim.taymans@gmail.com &gt; wrote:<BR><br><BLOCKQUOTE style="PADDING-LEFT: 7px; MARGIN-LEFT: 7px; BORDER-LEFT: orange 2px solid"><B>From: </B>Wim Taymans [mailto: 
wim.taymans@gmail.com]<BR><B>To: </B>digitaldsp@excite.com<BR><B>Cc: </B>gstreamer-devel@lists.sourceforge.net<BR><B>Date: </B>Mon, 13 Aug 2007 13:00:51 +0200<BR><B>Subject: </B>Re: [gst-devel] av sync issue with hardware decoder<BR><BR><BR>On Sun, 2007-08-12 at 23:13 -0400, pritesh wrote:<BR><BR>Most decoders just copy the timestamps from qtdemux, that should work<BR>fine.<BR><BR>If you have special buffers (with fake data) you might want to define a<BR>specific caps for them so that they not accidentally autoplug to the<BR>wrong elements. something like application/x-dsp-video or so.<BR><BR>Wim<BR><BR>&gt; ok , i will check on videosink part , but what about timestamp and<BR>&gt; duration of video buffers <BR>&gt; <BR>&gt; right now i am using timestamp and duration given by qtdemux <BR>&gt; <BR>&gt; <BR>&gt; since the decoded data is already in frame buffer , i am just passing<BR>&gt; fake gstbuffer with timestamp , duration, and caps but with some fake<BR>&gt; data 
<BR>&gt; <BR>&gt; <BR>&gt; does the timestamp or duration neeeds to be adjusted according to<BR>&gt; decoder speed (fps), which is quite fast <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; --- On Sun 08/12, Wim Taymans &lt; wim.taymans@gmail.com &gt; wrote:<BR>&gt; <BR>&gt; From: Wim Taymans [mailto: wim.taymans@gmail.com]<BR>&gt; To: digitaldsp@excite.com<BR>&gt; Cc: gstreamer-devel@lists.sourceforge.net<BR>&gt; Date: Sun, 12 Aug 2007 17:17:00 +0200<BR>&gt; Subject: Re: [gst-devel] av sync issue with hardware decoder<BR>&gt; <BR>&gt; <BR>&gt; On Sun, 2007-08-12 at 11:06 -0400, pritesh wrote:<BR>&gt; <BR>&gt; Are you subclassing the videosink from GstVideoSink? if you do<BR>&gt; this and<BR>&gt; timestamp the video buffers correctly all should work fine.<BR>&gt; <BR>&gt; Wim<BR>&gt; <BR>&gt; <BR>&gt; &gt; hi all,<BR>&gt; &gt; on arm board i have a hardware h264 decoder . which has<BR>&gt; exposed<BR>&gt; &gt; decode , postprocess , display api<BR>&gt; &gt; <BR>&gt; 
&gt; <BR>&gt; &gt; but in my hardware decoder plugin i am only calling decode<BR>&gt; api <BR>&gt; &gt; <BR>&gt; &gt; in the videosink plugin i call the postprocess and display<BR>&gt; api for av<BR>&gt; &gt; sync<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; but the thing is during video playback , video is leading<BR>&gt; (much<BR>&gt; &gt; faster) audio and av sync is not there.<BR>&gt; &gt; <BR>&gt; &gt; i am using the timestamp and duration generated by parser . <BR>&gt; &gt; <BR>&gt; &gt; do i have to adjust this timestamp and duration of buffer<BR>&gt; passed to<BR>&gt; &gt; videosink , according to decoder speed.(fps)<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; any ideas <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt; ______________________________________________________________________<BR>&gt; &gt; Join Excite! - 
http://www.excite.com<BR>&gt; &gt; The most personalized portal on the Web! <BR>&gt; &gt;<BR>&gt; -------------------------------------------------------------------------<BR>&gt; &gt; This SF.net email is sponsored by: Splunk Inc.<BR>&gt; &gt; Still grepping through log files to find problems? Stop.<BR>&gt; &gt; Now Search log events and configuration files using AJAX and<BR>&gt; a browser.<BR>&gt; &gt; Download your FREE copy of Splunk now &gt;&gt;<BR>&gt; http://get.splunk.com/<BR>&gt; &gt; _______________________________________________<BR>&gt; gstreamer-devel mailing list<BR>&gt; gstreamer-devel@lists.sourceforge.net<BR>&gt; https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ______________________________________________________________________<BR>&gt; Join Excite! - http://www.excite.com<BR>&gt; The most personalized portal on the Web!<BR><BR></BLOCKQUOTE></font></td></tr></table><p><hr><font size=2 face=geneva><b>Join 
Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>