WMEncoder.Start method not working correctly
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
WMEncoder.Start method not working correctly

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





Posted: Sun Sep 05, 2004 9:38 pm    Post subject: WMEncoder.Start method not working correctly Reply with quote

The WMEncoder.Start() method is not properly working. I am trying to
capture video from a digital camcorder (Canon Optura Xi) over the 1394
link. I am seeing:

1. If the tape in the camcorder is rewound, then the start() method just
hangs - nothing happens, the camcorder does not indicate any commands,
etc.

2. If the tape is not at the beginning, then the start() method causes
the camcorder to rewind a few seconds, then the tape advances for a
second or two, then the tape rewinds for about 10 seconds, followed by
the tape advancing up to the start point (almost), and then capture
begins. The video is captured successfully. But the start point on the
tape can be several seconds different than the tape position was when
the start method was called.

3. I also see cases where the camera begins rewinding and does not stop
rewinding.


I am using the C# example code supplied by Microsoft at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/wmencode/htm/controllingadigitaldevicecsh.asp

This behavior is also identical to the behavior when using Microsoft's
own Windows Media Encoder version 9.00.00.2980.

Any ideas?

Regards,
James

Back to top
cybermage
Guest





Posted: Wed Sep 15, 2004 2:47 am    Post subject: Re: WMEncoder.Start method not working correctly Reply with quote

I 've seen the same problems and possibly a few more. Like one similar to
you number two but where the tape rewinds past the beginning of the video
and then hangs.

From what I can tell part of the problem (where nothing happens) has to do
with the encoder not finding a time code. I have seen one case where the
camera returned a zero time code when not actually on the video. However
still had problems getting the encoding session to fire up properly.
I don't know why the encoder feels it has to play around with the tape
position before it starts encoding. Seems like a major bug to me. Or I'm
just stupid and am missing somethig very obvious. BTW my code is base of of
the Microsoft VB.Net examples and have tried a half dozen different
camcorders.

Hope somebody has a solution for us.

Thanks

Dave

"James" <james.epperson@lyondell.com> wrote in message
news:Xns955B80A468D92james@24.93.43.121...
Quote:
The WMEncoder.Start() method is not properly working. I am trying to
capture video from a digital camcorder (Canon Optura Xi) over the 1394
link. I am seeing:

1. If the tape in the camcorder is rewound, then the start() method just
hangs - nothing happens, the camcorder does not indicate any commands,
etc.

2. If the tape is not at the beginning, then the start() method causes
the camcorder to rewind a few seconds, then the tape advances for a
second or two, then the tape rewinds for about 10 seconds, followed by
the tape advancing up to the start point (almost), and then capture
begins. The video is captured successfully. But the start point on the
tape can be several seconds different than the tape position was when
the start method was called.

3. I also see cases where the camera begins rewinding and does not stop
rewinding.


I am using the C# example code supplied by Microsoft at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/wmencode/htm/controllingadigitaldevicecsh.asp

This behavior is also identical to the behavior when using Microsoft's
own Windows Media Encoder version 9.00.00.2980.

Any ideas?

Regards,
James
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