[Helix-client-dev] untimed decode on 143
Milko Boic milko at real.comIf you are using HXClientEngine object to drive the renderer, defining HELIX_FEATURE_VIDREND_UNTIMED_DECODE is not enough since the packets delivered to the renderer will be timed and the un-timed decode needs to be activated via IHXUntimedRenderer::SetUntimedRendering. You'll need to override the audio device with own implementation IHXAudioDeviceManager::Replace to drive timeline at desired speed. You can trigger the untimed decode by issuing IHXUntimedRenderer::SetUntimedRendering on any renderer that supports this interface. You'll need to enumerate all sources and all streams to get to the renderers: IHXStream::GetRenderer To pass the time-stamp to the surface, add new API and use it from vidrend.cpp on Blt if the API is available. Milko At 07:51 AM 1/2/2007, Eric Hyche wrote: >In short, you can add HELIX_FEATURE_VIDREND_UNTIMED_DECODE >to your profile and rebuild. > >However, have you looked into using dtdrive to >write out decoded audio and video? That's one >of the uses of dtdrive. > >I'm not sure of the status of dtdrive on the Nep143 >branch, but you could try the following build: > >BIF: helix.bif or helix_restricted.bif >target: dtdrive >profile: helix-dtdr-all-defines > >Eric > >============================================= >Eric Hyche (ehyche at real.com) >Technical Lead >RealNetworks, Inc. > > > -----Original Message----- > > From: helix-client-dev-bounces at helixcommunity.org > > [mailto:helix-client-dev-bounces at helixcommunity.org] On > > Behalf Of Edgard Lima > > Sent: Wednesday, December 27, 2006 9:37 AM > > To: helix-client-dev at helixcommunity.org > > Subject: [Helix-client-dev] untimed decode on 143 > > > > > > Hi Milko and all, > > > > Im working with version 143. > > > > And Im using CMiniUnixSurface::_TransferToDestBuffer to write > > raw video > > to "a file" > > > > Looking into vidrend.cpp I noticed > > 'HELIX_FEATURE_VIDREND_UNTIMED_DECODE' ... what I have do (changing > > vidrend.cpp source or wahtever) to have video decoded untimed > > and also > > to have _TransferToDestBuffer writing the timestamp together with raw > > video to "my file"? > > > > Thanks in Advance, > > Edgard Lima > > edgard.lima at indt.org.br > > > > > > _______________________________________________ > > Helix-client-dev mailing list > > Helix-client-dev at helixcommunity.org > > http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev > > > > >_______________________________________________ >Helix-client-dev mailing list >Helix-client-dev at helixcommunity.org >http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.helixcommunity.org/pipermail/helix-client-dev/attachments/20070102/bb94648e/attachment.html