<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 < wim.taymans@gmail.com > 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>> ok , i will check on videosink part , but what about timestamp and<BR>> duration of video buffers <BR>> <BR>> right now i am using timestamp and duration given by qtdemux <BR>> <BR>> <BR>> since the decoded data is already in frame buffer , i am just passing<BR>> fake gstbuffer with timestamp , duration, and caps but with some fake<BR>> data
<BR>> <BR>> <BR>> does the timestamp or duration neeeds to be adjusted according to<BR>> decoder speed (fps), which is quite fast <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> --- On Sun 08/12, Wim Taymans < wim.taymans@gmail.com > wrote:<BR>> <BR>> From: Wim Taymans [mailto: wim.taymans@gmail.com]<BR>> To: digitaldsp@excite.com<BR>> Cc: gstreamer-devel@lists.sourceforge.net<BR>> Date: Sun, 12 Aug 2007 17:17:00 +0200<BR>> Subject: Re: [gst-devel] av sync issue with hardware decoder<BR>> <BR>> <BR>> On Sun, 2007-08-12 at 11:06 -0400, pritesh wrote:<BR>> <BR>> Are you subclassing the videosink from GstVideoSink? if you do<BR>> this and<BR>> timestamp the video buffers correctly all should work fine.<BR>> <BR>> Wim<BR>> <BR>> <BR>> > hi all,<BR>> > on arm board i have a hardware h264 decoder . which has<BR>> exposed<BR>> > decode , postprocess , display api<BR>> > <BR>>
> <BR>> > but in my hardware decoder plugin i am only calling decode<BR>> api <BR>> > <BR>> > in the videosink plugin i call the postprocess and display<BR>> api for av<BR>> > sync<BR>> > <BR>> > <BR>> > but the thing is during video playback , video is leading<BR>> (much<BR>> > faster) audio and av sync is not there.<BR>> > <BR>> > i am using the timestamp and duration generated by parser . <BR>> > <BR>> > do i have to adjust this timestamp and duration of buffer<BR>> passed to<BR>> > videosink , according to decoder speed.(fps)<BR>> > <BR>> > <BR>> > <BR>> > <BR>> > any ideas <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> ><BR>> ______________________________________________________________________<BR>> > Join Excite! -
http://www.excite.com<BR>> > The most personalized portal on the Web! <BR>> ><BR>> -------------------------------------------------------------------------<BR>> > This SF.net email is sponsored by: Splunk Inc.<BR>> > Still grepping through log files to find problems? Stop.<BR>> > Now Search log events and configuration files using AJAX and<BR>> a browser.<BR>> > Download your FREE copy of Splunk now >><BR>> http://get.splunk.com/<BR>> > _______________________________________________<BR>> gstreamer-devel mailing list<BR>> gstreamer-devel@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR>> <BR>> <BR>> <BR>> ______________________________________________________________________<BR>> Join Excite! - http://www.excite.com<BR>> 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>