|
List Info
Thread: how to process sample as fast as possible in helix?
|
|
| how to process sample as fast as
possible in helix? |

|
2007-03-22 22:38:16 |
|
Hi All,
Does anyone here knows how to make helix client process samples as fast as possible? In Microsoft DirectX, we can give IMediaFilter::SetSyncSource(IReferenceClock *pClock) a NULL value to remove the reference clock and let a renderer filter renders every sample as soon as it arrives. Do we have a similar way in Helix and what is it?
Any sugesstions?
Thank you.
|
| RE: how to process sample as fast as
possible inhelix? |
  United States |
2007-03-23 08:02:31 |
When you say "process samples as fast as possible"
do
you mean "playback at faster-than-realtime"? If
so,
then there's the IHXPlaybackVelocity interface which
can be QI'd from IHXPlayer. It gives the top-level
client control over the playback speed and direction.
Eric
=============================================
Eric Hyche (ehyche real.com)
Technical Lead
RealNetworks, Inc.
> -----Original Message-----
> From: helix-client-dev-bounces helixcommunity.org
> [mailto:helix-client-dev-bounces helixcommunity.org] On
> Behalf Of Qingfang Zheng
> Sent: Thursday, March 22, 2007 11:38 PM
> To: helix-client-dev helixcommunity.org
> Subject: [Helix-client-dev] how to process sample as
fast as
> possible inhelix?
>
> Hi All,
>
> Does anyone here knows how to make helix client process
> samples as fast as possible? In Microsoft DirectX, we
can
> give IMediaFilter::SetSyncSource(IReferenceClock
*pClock) a
> NULL value to remove the reference clock and let a
renderer
> filter renders every sample as soon as it arrives. Do
we have
> a similar way in Helix and what is it?
>
> Any sugesstions?
>
> Thank you.
>
_______________________________________________
Helix-client-dev mailing list
Helix-client-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
|
|
| RE: how to process sample as fast as
possible inhelix? |
  United States |
2007-04-02 08:58:47 |
[Always copy a helix mailing list when you send email
regarding Helix. I've been on vacation for the past
week, so I haven't seen this email until today.]
All of the .pfi files are in ribosome/build/umakepf.
Eric
=============================================
Eric Hyche (ehyche real.com)
Technical Lead
RealNetworks, Inc.
> -----Original Message-----
> From: Qingfang Zheng [mailto:qfzheng gmail.com]
> Sent: Sunday, March 25, 2007 11:02 PM
> To: ehyche real.com
> Subject: Re: [Helix-client-dev] how to process sample
as fast
> as possible inhelix?
>
> I am using the helix SDK and can't find the
> helix-client-core-advanced.pfi.
>
> Qingfang
>
>
> 2007/3/26, Eric Hyche <ehyche real.com>:
>
>
> What profile are you using? This define is located
> in helix-client-core-advanced.pfi.
>
> Eric
>
> > Eric,
> >
> > how to turn on the
HELIX_FEATURE_PLAYBACK_VELOCITY in
> my profile?
> >
> > Qingfang
> >
> > 2007/3/25, Eric Hyche <ehyche real.com>:
> >>
> >>
> >> You probably can't QI for it until we
actually start
> >> playing something.
> >>
> >> Also, what profile are you using?
> HELIX_FEATURE_PLAYBACK_VELOCITY
> >> needs to be in your profile.
> >>
> >> Eric
> >>
> >>
=============================================
> >> Eric Hyche (ehyche real.com)
> >> Technical Lead
> >> RealNetworks, Inc.
> >>
> >> > -----Original Message-----
> >> > From: Qingfang Zheng [mailto:qfzheng gmail.com]
> >> > Sent: Saturday, March 24, 2007 4:18 AM
> >> > To: helix-client-dev-bounces helixcommunity.org;
> ehyche real.com
> >> > Subject: Re: [Helix-client-dev] how to
process
> sample as fast
> >> > as possible inhelix?
> >> >
> >> > Thank you, Eric.
> >> >
> >> > I try the IHXPlaybckVelocity interface
as you
> sugessted. The
> >> > code is as:
> >> > ...............................
> >> > // create player
> >> > if (HXR_OK !=
m_pEngine->CreatePlayer(m_pPlayer))
> >> > {
> >> > Close();
> >> > return false;
> >> > }
> >> >
> >> > IHXPlaybackVelocity*
pPlaybackVelocity = NULL;
> >> >
m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> >> > (void**) &pPlaybackVelocity);
> >> >
............................................
> >> >
> >> > however, it seems QueryInteface() does
not work
> properly and
> >> > pPlaybackVelocity is always NULL. How
can I fix it?
> >> >
> >> > Qingfang
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > 2007/3/23, Eric Hyche <ehyche real.com>:
> >> >
> >> >
> >> > When you say "process samples
as fast as
> possible" do
> >> > you mean "playback at
faster-than-realtime"? If so,
> >> > then there's the
IHXPlaybackVelocity interface which
> >> > can be QI'd from IHXPlayer. It
gives the top-level
> >> > client control over the playback
speed and direction.
> >> >
> >> > Eric
> >> >
> >> >
=============================================
> >> > Eric Hyche ( ehyche real.com)
> >> > Technical Lead
> >> > RealNetworks, Inc.
> >> >
> >> > > -----Original Message-----
> >> > > From:
helix-client-dev-bounces helixcommunity.org
> >> > <mailto:helix-client-dev-bounces helixcommunity.org >
> >> > >
> [mailto:helix-client-dev-bounces helixcommunity.org] On
> >> > > Behalf Of Qingfang Zheng
> >> > > Sent: Thursday, March 22,
2007 11:38 PM
> >> > > To: helix-client-dev helixcommunity.org
> >> > > Subject: [Helix-client-dev]
how to process
> sample as fast as
> >> > > possible inhelix?
> >> > >
> >> > > Hi All,
> >> > >
> >> > > Does anyone here knows how to
make helix
> client process
> >> > > samples as fast as possible?
In Microsoft
> DirectX, we can
> >> > > give
> IMediaFilter::SetSyncSource(IReferenceClock *pClock) a
> >> > > NULL value to remove the
reference clock
> and let a renderer
> >> > > filter renders every sample
as soon as it
> arrives. Do we have
> >> > > a similar way in Helix and
what is it?
> >> > >
> >> > > Any sugesstions?
> >> > >
> >> > > Thank you.
> >> > >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> > _______________________________________________
> > Helix-client-dev mailing list
> > Helix-client-dev helixcommunity.org
> <mailto:Helix-client-dev helixcommunity.org>
> >
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
> >
>
>
> =====================================
> Eric Hyche, Technical Lead
> RealNetworks, Inc.
> ehyche real.com
>
>
>
>
>
_______________________________________________
Helix-client-dev mailing list
Helix-client-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
|
|
| Re: how to process sample as fast as
possible inhelix? |

|
2007-04-18 02:02:25 |
|
Hi, Eric,
I now can use the IHXPlaybackVelocity. However, when I set playback to more than 1x speed, my machine quickly runs out of memory. I wonder whether there is memroy leakage in the internal implementation.
...........................................................................
IHXPlaybackVelocity* pPlaybackVelocity = NULL;
m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity, (void**)&pPlaybackVelocity);
pPlaybackVelocity->InitVelocityControl(NULL);
pPlaybackVelocity->SetVelocity(500,false,false);
// Problem arise here. It functions properly if I use pPlaybackVelocity->SetVelocity(100,false,false); .....................................................................................
Qing-Fang
2007/4/2, Eric Hyche < ehyche real.com">ehyche real.com>:
[Always copy a helix mailing list when you send email regarding Helix. I've been on vacation for the past
week, so I haven't seen this email until today.]
All of the .pfi files are in ribosome/build/umakepf.
Eric
============================================= Eric Hyche ( ehyche real.com">
ehyche real.com) Technical Lead RealNetworks, Inc.
> -----Original Message----- > From: Qingfang Zheng [mailto: qfzheng gmail.com">qfzheng gmail.com] > Sent: Sunday, March 25, 2007 11:02 PM
> To: ehyche real.com">ehyche real.com > Subject: Re: [Helix-client-dev] how to process sample as fast > as possible inhelix? > > I am using the helix SDK and can't find the
> helix-client-core-advanced.pfi. > > Qingfang > > > 2007/3/26, Eric Hyche < ehyche real.com">ehyche real.com>: > > > What profile are you using? This define is located
> in helix-client-core-advanced.pfi. > > Eric > > > Eric, > > > > how to turn on the HELIX_FEATURE_PLAYBACK_VELOCITY in > my profile?
> > > > Qingfang > > > > 2007/3/25, Eric Hyche < ehyche real.com">ehyche real.com>: > >> > >> > >> You probably can't QI for it until we actually start
> >> playing something. > >> > >> Also, what profile are you using? > HELIX_FEATURE_PLAYBACK_VELOCITY > >> needs to be in your profile. > >>
> >> Eric > >> > >> ============================================= > >> Eric Hyche ( ehyche real.com">ehyche real.com) > >> Technical Lead
> >> RealNetworks, Inc. > >> > >> > -----Original Message----- > >> > From: Qingfang Zheng [mailto: qfzheng gmail.com">qfzheng gmail.com
] > >> > Sent: Saturday, March 24, 2007 4:18 AM > >> > To: helix-client-dev-bounces helixcommunity.org">helix-client-dev-bounces helixcommunity.org; >
ehyche real.com">ehyche real.com > >> > Subject: Re: [Helix-client-dev] how to process > sample as fast > >> > as possible inhelix? > >> >
> >> > Thank you, Eric. > >> > > >> > I try the IHXPlaybckVelocity interface as you > sugessted. The > >> > code is as: > >> > ...............................
> >> > // create player > >> > if (HXR_OK != m_pEngine->CreatePlayer(m_pPlayer)) > >> > { > >> >  
| |