|
RTC is probably the quickest you will find. It just takes bunches of numbers, such as 00 00 00 00 and turns them into 04 00. Not so great if you have lots of unique pixels, but otherwise, it will give you a little bit of compression.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Thanks for the response,
I cant seem to find RTC Codec in Directshow, what is the name of the codec in Directshow, I installed a RtcApiSDK.msi from Windows, but it still didnt show up in Directshow.
What am I doing wrong?
|
|
|
|
|
It's a compression scheme that is common, I have no idea if DX has a filter for it.
And, as was said, I presume you have a good reason for capture 3x as many frames as the human eye can hope to see ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
RtcApiSDK is not a directshow filter.
Depending on image size, most/all of the DirectShow filters are going to be too slow (on modern
PCs) for 100fps.
Why do you need such a high frame rate? Motion pictures are 24fps....anything above 30fps for
viewing by a human is a waste of resources IMO.
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
About 4 years ago, I did tests of the time by various codecs to compress a series of images to make an AVI file - the fastest was the Microsoft MPEG-4 codec (in the DLL MPG4C32.DLL). But I never managed to get a legal version of the Microsoft DLL (someone sent me a link and . . .)
Maybe its worth trying XVID and DIVX. When I was doing my development, I didn't find versions of those codecs which I could use to make AVI files, so I just used the "not 100% legal" microsoft DLL. Fortubately I've changed companies, the customer is happy, etc.
|
|
|
|
|
Hi All,
I have small application that i add in it some CTreeCtrl control.
In this i need in some cases to disable one of the sub item of some root element and i don't know how to do it.
Some one can help me ?
Thanks.
p.s : i need to disable only the sub item without the root item.
|
|
|
|
|
|
Hello,
I am tryng to populate a combobox with characters like: + - " , ; etc..
But the problem is that every data must be separated by a semicolon and I need the semicolon to be also in my combo.
How can I prevent the program to skip my semicolon? is there any special character to put before or after the semicolon?
thnks for your kind help
|
|
|
|
|
So how are you adding the items to the control? Show a relevant code snippet, and what the output is.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I just use the properties box and input my charecters in the Data field as following:
?;",!;.;:;,:
|
|
|
|
|
Put each item on a separate line, not separated by a semicolon.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Sorry I forgot to mention that I use Visual studio 2003. You probably reger to VStudio 6, don't you?
|
|
|
|
|
Arris7 wrote: You probably reger to VStudio 6, don't you?
Yes. Do the two versions differ in this regard? If so, then just add the items at runtime.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
\; ?
otherwise, the only solution is to populate programmaticaly in the OnInitDialog() function
|
|
|
|
|
Thnks,
Unfortunately it doesn't work
|
|
|
|
|
so, go for programmatical initialization
|
|
|
|
|
hi i have to read a file which will be
IP Address: 192.168.168.93
SubnetMask: 255.255.255.0
Default Gateway: 192.168.168.168
GatewayMetric: 1
InterfaceMetric: 0
Statically Configured DNS Servers: 202.144.10.50
202.144.13.50
i have to read only the values ie only 19.168.168.93 not any other strings. how to do this. pls help me
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
algorithm :
while EOF not reached
read line
find the position of the ':' character
extract from the current position, until the end of the line the characters
eventually trim (left and right) the residual white space characters
end while
|
|
|
|
|
Google fstream, it's the header that contains the classes to do all of this. An ifstream is what you need.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Read each line of the file until you find one that begins with "IP Address: ", then take the remainder of that line.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hey guys,
I'm having a problem with a variable within a function. This variable is set to zero at the begging of the block, and used as an index for a few arrays. The ONLY place where it is changed is in the for(...; ...; Channel++) portion of the loop. Somehow this number is being set to -1. The range for this int 0 - 7. Any clues what could be happening?
I win because I have the most fun in life...
|
|
|
|
|
any chance to see a relevant piece of code ?
|
|
|
|
|
<br />
int Channel; <br />
for( Channel = 0; Channel < NumberOfChannels; Channel++ )<br />
{<br />
Dat = (unsigned char*)m_Dither.Dat[Channel];<br />
Out = (unsigned char*)lpDithered->Data[Channel]; <br />
ChannelData = &(lpDthrCtrl->Data[Channel]);<br />
<br />
memset(Out,0x00,OutLen);<br />
<br />
there is a lot more going on under this portion, but this is the only place that Channel is used.
I win because I have the most fun in life...
|
|
|
|
|
you say it then equals -1.
where have you tested this value.
have you tried to set breakpoints and use your debugger to find out exactly where the change occurs ?
|
|
|
|
|
Im using VS2005, and i test the value using break points and checking the locals portion of the debugger. i do a conditional break at the beginning of the block if (Channel = -1). I also break at the the two function calls within this block. None of these functions take Channel as an argument. I also break at the end of the block to check Channel. Now it is impossible to check the value at each break all the time, because this function is called roughly a million times(deals with individual pixels split into various ink channels for images ~150+ Mb).
I win because I have the most fun in life...
|
|
|
|