|
erginduzu wrote: you are very funny
Didn't mean to be.
But to go on record and answer some of the points you brought up in your e-mail to me:
erginduzu wrote: Making a nuclear weapon is one thing and calculating the effects is another thing. The first is aggressive , the latter is defensive. I can not belive that you really think something like that.
Being able to calculate the blast effects is necessary if you're deciding on what to target and how.
erginduzu wrote: Becouse history tells about only one country which used nuclear bombs to civillians in Japan. And that is not a muslim country.
Yes, the US first developed and used nuclear weapons. I won't argue with you whether it was right or wrong but it brought a quick end to a long and bloody war we didn't start. Bad things happen in wars. However, we haven't used them again. What's your excuse for wanting them? Because they look pretty?
erginduzu wrote: In fact everybody knows usa , england, chineese, India, France etc. already have nuclear weapons. USA's used that once. Who can guarantee it will not use again?? You have only Iran that you SUSPECT to have nuclear power as a muslim country.
I guess Pakistan isn't muslim enough for you? Guess they aren't (openly) ruled by clerics, just a military dictatorship. They've shown remarkable ethics in the handling of their nuclear technology by selling it to whoever has the money.
erginduzu wrote: I am not a one man engineer to make nuclear bombs. I am a student in nuclear energy sience.
Gee, when I studied nuclear engineering, we studied power reactors, shielding, nuclear reactions... I don't remember any bomb effects calculations.
erginduzu wrote: Turkeys first threat is Iran which is a muslim country.(Although I think it must be USA)
I believe that Turkey is and has been for a very long time a member of NATO and an ally of the US. Are you a Turk, someone abusing their hospitality or hiding your real location? If the Turkish government needs calculations of blast effects for defensive purposes, they can get them from their NATO allies by simply asking. University students have no need for this knowledge.
erginduzu wrote: If you are from USA, may God forgive you for every bloody bread you eat and all the bloody petrol you use for your car.
Yes, I live in the Big Satan. Thank you for sharing your feelings about us.
|
|
|
|
|
this is not a place to argue politics.
|
|
|
|
|
Bring it over to the Soapbox.
|
|
|
|
|
I'm recording alot of video files and I need to create real-time peaks of the recorded audio stream. I was thinking that I could achieve this by creating an .AX filter to attach to the recorder graph which will receive the audio stream, analyze it, and create the peaks.
Does anyone have any idea how to implement this?
Thanks alot !
|
|
|
|
|
A good place to start is with the filter samples included with the DirectShow SDK.
The WavDest Filter Sample is an example of a transform filter for audio.
The Scope Filter Sample shows one way of processing audio samples.
Is there a more specific part that you are having trouble implementing?
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Thanks alot !
Scope sample is something close of what I need. I just want that result write to a file. Frame number along with peak audio value.
I need a filter that's compatible with iuVCR. The scope filter is not, and I don't know how to implement one that could be used with it.
Claudiu
|
|
|
|
|
The scope filter is a renderer so that would be tough to use unless you insert a tee somewhere
in the graph.
The WavDest filter is implemented as a transform filter, which seems more appropriate for your
needs - you can grab samples as they go by in the graph.
Either way, getting them to work with iuVCR is the problem. I've never used it. What does a
filter graph look like with it? No matter what method you choose, you'll need a place in the
graph to insert your filter (or a tee, then your filter).
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I don't know how to take a look at it's filer graph. It has an option to insert additional filters into the filter graph. Here's a quote from the help file "This tab allows the use of additional plugins for real time video stream processing. Any DirectShow filter with one Input Pin and one Output Pin can be used as a plug-in for iuVCR. Compatibility between the current video stream and filter is strongly recommended for correct operation."
As you might suspect I'm a DirectShow novice. Any further help is greatly appreciated
Claudiu
|
|
|
|
|
Well that's good - at least there's a place to insert filters! Does it specify just the video
stream or do you have access to the audio stream?
With access to the audio stream, the WavDest Filter Sample would be a good start since it's
implemented as a transform filter - it has one input pin and one output pin.
I'll take a look at iuVCR...
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I believe it gives access to audio stream also, I don't see why not.
Or could that be the reason I can't load WaveDest filter ? Because it won't allow access to audio stream?
Perhaps you'll be able to figure it out better when you take a look at it.
Claudiu
|
|
|
|
|
hmm I don't see any audio stream inserts there.
Maybe contact Ivan and ask him to add it! It should be pretty simple
Although it uses directShow, it's an all-in-one app. Unless he provides an insertion point for
external filters (like he has for video) there's no way to get at the filter graph to manually
insert filters.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Thought so... I'll contact him regarding this matter.
Thank you so much for your support. If I'll need more help I'll get back with some more posts .
Claudiu
|
|
|
|
|
How can we save the contents of a Graphics object as a jpg ???
thanks
|
|
|
|
|
|
How can we combine a transparent GIF image with a JPG file and save the resulting image in disc.
I want the GIF to act as a frame that we can see the JPG image through it . Help me please.
Thanks.
|
|
|
|
|
If you use GDI+ you can load the jpeg, assoiciate it with a Graphics object, and draw the gif
transparently on top of it.
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Please don't cross post in multiple forums!
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
In GDI+ in .NET ,How can we load a jpg image from disc and scale it to a smaller size and then save it to disk..
Help me please I need this now .
Thanks.
|
|
|
|
|
Here's one way:
1) Create a System.Drawing.Bitmap of the desired destination pixel format and dimensions
2) Create a destination System.Drawing.Graphics object from the bitmap (using Graphics.FromImage)
2a) *optional* set the InterpolationMode property on the destination Graphics object
3) Load the source image as a System.Drawing.Bitmap
4) Use Graphics.DrawImage to draw the source image on the destination graphics (created in step 2)
5) Save the destination bitmap (created in step 1)
-- modified at 14:17 Tuesday 10th April, 2007
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Does anyone know, please, how to install this very useful previewer? The code comes with a .txt file but I just don't understand it! It talks about changing paths, which I really don't get. Can anyone help with an explanation in plain English, please? (and help others struggling, too)
Many thanks.
Roy
|
|
|
|
|
In the folder with the dll file, open a command prompt with admin privileges
gacutil -i MsdnMagPreviewHandlers.dll
regasm /codebase MsdnMagPreviewHandlers.dll
gacutil -i PSDPreviewHandlers.dll
regasm /codebase PSDPreviewHandlers.dll
thats it , check by clicking the psd file and view in the preview pane
Omit Needless Words - Strunk, William, Jr.
Vista? Photoshop Preview Handler here
|
|
|
|
|
Hi
Im coding a virtual hair styling and makeover tool in C#. Can any buddy know any link or idea abt virtual makeover.... Any link for the help.......
actually when I apply makeover it should blend the applied color on the skin. How can I get the blended effect?? Wht function I should use on the pixel previos color and the new color to be applied........ ANY Idea?????
|
|
|
|
|
I am looking at the new Vista/07 styles and was wondering what the formula was for creating the gradients.
Brad
Australian
- unknown PHP Developer on "Job Prospect"
Requirement: * Experience working with XML, XSL, XPath
Comment: and other things starting with X.
|
|
|
|
|
I don't understand your question... I noted nothing misterious with Vista's gradients... maybe you mean gradients in color and in transparency? Or are you just asking about gradients in general?
|
|
|
|
|
Yeah just gradients in general. I know nothing of graphics
|
|
|
|