|
Yes, I am sorry, I420 sounds more like it. The Live Video renders fine, but the Capture window is blanc. I will follow your suggestion. Thanks.
If it is YUV, how do I translate it into RGB?
|
|
|
|
|
The AVI Decompressor filter can actually perform YUV to RGB conversions. My suggestion is to step through the code and see what is actually failing.
Conversion from I420 to RGB24 is actually quite straightforward. You first convert to 4:4:4 YUV and then convert that into RGB24.
|
|
|
|
|
thanks for code snippet if possible
Yaron
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|
|
|
thanks
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|
|
When we try to open the pst file when the outlook is open and accessing it, fopen itself will fail. Please let me kow what is the best way of reading the pst file contents when the file is open.
Thanks in advance
Sandeep
|
|
|
|
|
How are you calling fopen() ?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
fopen("pst file path", "rb");
|
|
|
|
|
I can only assume that Outlook has opened the file for exclusive access. Have you considered Outlook's COM interface?
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
I cannot use that I belive. I am writig a backup software which can back up the files to a given medium. During this time I cannot use different menthids to backup different files I think.
|
|
|
|
|
what is the difference between Dialog.DoModal and Dialog.Show.
Very junk question but any ways....
Nilesh Korpe
|
|
|
|
|
|
Actually I failed to find such a Show function in CDialog.
- NS -
|
|
|
|
|
|
NS17 wrote: failed to find such a Show function
It should be
CDialog::Create
and then call to
CDialog::ShowWindow
Maxwell Chen
|
|
|
|
|
sorry I was talking of
int Show(CWnd *pParent, LPCTSTR pszTitle, LPCTSTR pszPrompt,
LPCTSTR pszDefault = _T(""), bool bPassword = false)
Nilesh Korpe
|
|
|
|
|
Nilesh Korpe wrote: int Show(CWnd *pParent, LPCTSTR pszTitle, LPCTSTR pszPrompt,
LPCTSTR pszDefault = _T(""), bool bPassword = false)
Where's it from?
Maxwell Chen
|
|
|
|
|
|
Hello,
I've been working on OpenH323/FFMPEG for a while and while I can create the FFMPEG exe what i really want to do is write a VC++ program that uses the libavcodec.dll(generated fm OpenH323) to encode video.
Any ideas?
|
|
|
|
|
RahulOP wrote: Any ideas?
What is the question ? Saying how can I use libavcodec.dll is really vague, where are you stuck exactly ?
|
|
|
|
|
Oops! Sorry about that. I need to pass a file(say avi / mpeg / wmv)and this file has to get converted to another formatsay 3GP.
|
|
|
|
|
Yes, but I suppose that is what your dll is supposed to do. I was asking were you are stuck exactly with using this dll ?
|
|
|
|
|
Umm, in creating an application tht uses the dll.
Would you mind checking back here after say about 12hours while i dig around a bit more in CP and search for an application that uses DLLs to perform an operation and work from there? If i can make it work, i'll post an update.
I tried using the dumpbin but i kept getting an error mspdb70.dll is missing and that re-installing might help. Any tips on this one?
|
|
|
|
|
please try to answer one or more or all of some of the questions being asked in an interview:
1.)How is the message being transformed from one class to other? Diagrammatically show which class is getting the message first.
2.)What is Message Reflection?
3.)can we change modal to modeless?
4.)what would be the first function called if we create a mfc application if it is a dialog based and not a dialog based?
5.)first function to be called in the dialog based application?
thaking you
kumar
|
|
|
|
|
1)first function to be called in the dialog based application?
ANS) OnInitDialog(...)
2)can we change modal to modeless?
ANS) ModelDilag -> DoModel(..)
ModelLess -> Create(IDD_DIALOGRESOUCE,this)
->Show(SW_SHOW);
uday kiran
|
|
|
|