From: Volter Y. <vol...@16...> - 2007-10-23 02:56:09
|
Hi all, Recently, I want to implement a simple mpeg2-ts palyer using gs= treamer framework,and the decodec element are customized with dsp, and my d= emuxer is flutsdemux, Gaurav have told me that the demux will push the two = on seperate pads in buffers after applying the same timestamp ,and the the = sinks (audio and video ) will play the buffers depending on the stream time= and timestamps... and I have read the source code of mpeg2dec which used= libmpeg2, it will adjust the outbuffer's timestamps with the related pts i= f necessary=A3=ACbut when I use a dsp decoder,It seem that I can get only t= he decoded data from it's outbuffer,how to adjust the videooutbuffer's timp= stamps in order to avoid meeting av sync problem? I could not find the a= v sync sample demo ,can anyone guide me and/or give me some sample codes on= the related subject?thanks a lot! Best RegardsVolter =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Happy everyday $ Best Regards! msn:vol...@16... Focus on emb= ed linux software! |