Page 1 of 1
Video Tool
Posted: Tue May 03, 2011 6:37 pm
by 9792387
Using TeeChart 4.1.2011.04193, VB 2010 Express
I am developing on a Windows XP Pro SP3 system, and creating a video using the Video Tool works fine. However, when I try to run the project on 2 other computers, both of which have Windows Vista, I get the following error after calling the StartRecording method:
Exception in AVIMakeCompressedStream: -2147205007
I'm guessing it has something to do with codecs and/or video drivers, but I'm not sure how to determine what the problem is. Can anyone offer suggestions?
Jay
Re: Video Tool
Posted: Wed May 04, 2011 8:12 am
by 10050769
Hello Jay,
I recommend you downloading latest codes from
http://www.xvid.org/ so I think that these can help you to solve your problem with VĂdeo Tool. Can you please confirm this solves the issue at your end?
I hope will help.
Thanks,
Re: Video Tool
Posted: Wed May 04, 2011 10:26 pm
by 9792387
I installed the Xvid codec on my development system and one of the systems that is generating the error. It did not fix the problem (I didn't really expect it to solve the problem, it is just an MPEG-4 codec). Is there anything I can do to get a more descriptive error code than "Exception in AVIMakeCompressedStream: -2147205007"?
Here is my code:
Code: Select all
VideoTool = New Steema.TeeChart.Tools.VideoTool
TChart1.Tools.Add(VideoTool)
VideoTool.StartRecording(SaveFileDialog1.FileName)
Do Until TChart1.Axes.Bottom.Minimum >= StartDateTime + (CDbl(DurationString) / 24.0)
TChart1.Refresh()
TChart1.Axes.Bottom.Scroll(ScrollAmtUpDown.Value / 1440, False) 'scroll right
Loop
VideoTool.StopRecording()
Am I missing some property settings or method calls?
Re: Video Tool
Posted: Thu May 05, 2011 8:57 am
by 10050769
Hello JayG,
Could you confirm us, if this Exception Error: "Exception in AVIMakeCompressedStream: -2147205007", appears too using Demo Project Example: All Features\Welcome !\New Chart Tools\Video Tool? If you can't reproduce Exception in demo project, please arrange to us a simple project because we can reproduce exactly your problem here and try to solve it.
Thanks,
Re: Video Tool
Posted: Fri May 06, 2011 7:00 pm
by 9792387
I do get the error with the Demo Project.
I did a little more testing with the demo project, and here are the results:
Windows XP 32-bit: works OK (tried several systems)
Windows Vista 32-bit: works OK (tried 1 system)
Window 7 32-bit: works OK (tried 1 system)
Windows Vista 64-bit: Error (tried 2 systems)
Windows 7 64-bit: Error (tried 1 system)
I don't have 64-bit editions of WIndows XP to test.
The 2 Vista 64-bit systems that I am getting the error on are also almost identical hardware, but the Windows 7 64-bit system is completely different.
It does seem to point to 64-bit Windows causing the problem.
Jay
Re: Video Tool
Posted: Mon May 09, 2011 2:07 pm
by 10050769
Hello Jay,
I am afraid that VideoTool doesn't support X64 systems, for the moment. I have added your this request in wish-list with number(TF02015563) to be considered inclusion in next versions of TeeChart.Net.