Encoder SDK performance issues
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Encoder SDK performance issues

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
cybermage
Guest





Posted: Tue Sep 21, 2004 6:09 am    Post subject: Encoder SDK performance issues Reply with quote

I have a VB.Net app that I developed following the examples in the SDK. We
are trying to encode video from a DV camcorder. If we encode at 640*480 and
deinterlace the video the encoding process does not seem to keep up with the
video playout from the camcorder. In fact it can take as much as five times
the length of the video to complete the encoding process. Using the same
profile in the Windows Media Encoder it keeps up and looks good.
Can any one explain this and help me fix the problem?

Thanks Dave

Back to top
cybermage
Guest





Posted: Wed Sep 22, 2004 7:51 pm    Post subject: Re: Encoder SDK performance issues Reply with quote

Fixed my own problem. MS sample code shows to assign source audio to the
source device.

' Add an audio source and a video source, then specify a source file.
....
Set SrcAud = SrcGrp.AddSource(WMENC_AUDIO)
Set SrcVid = SrcGrp.AddSource(WMENC_VIDEO)
SrcAud.SetInput ("Device://Device resource name")
SrcVid.SetInput ("Device://Device resource name")

WHen I remove the following line every thing keeps up.

SrcAud.SetInput ("Device://Device resource name")

Dave

"cybermage" <dsulko@videocubed.com> wrote in message
news:u6DWBA4nEHA.3464@tk2msftngp13.phx.gbl...
Quote:
I have a VB.Net app that I developed following the examples in the SDK.
We
are trying to encode video from a DV camcorder. If we encode at 640*480
and
deinterlace the video the encoding process does not seem to keep up with
the
video playout from the camcorder. In fact it can take as much as five
times
the length of the video to complete the encoding process. Using the same
profile in the Windows Media Encoder it keeps up and looks good.
Can any one explain this and help me fix the problem?

Thanks Dave

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB