|
The AVI muxer comes with DirectShow.
I have lots of experience with Windows Media Format (ASF) - that's what I use in my software.
The Windows Media Format compression works well for my needs, including realtime streaming.
I haven't used the AVI muxer but I know it is configurable for various compression settings.
I see it uses the Video Compression Manager but I'm not sure what types of compressors are
included with Windows - I'm looking into that.
The Windows Media stuff comes with windows starting in XP. The SDK comes with (or you can
download) a redistributable install package for previous Windows versions. Pretty much the same
deal as DirectX installation (but alot smaller).
I'll definitely take a look at your code - I'll send an email you can reply to.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hey Mark,
I sent you an email with my code... take a look whenever you can.
Thanks,
Michael
|
|
|
|
|
I have succesfully created compression filters also for my audio and also for my video.
The problem is that i do not know which codec to use now.
The Divx codec that i have does not allow me to control the frame rate or quality because it does not support this.
The codecs that do allow me to have control give me bad quality\file size ratio.
What codec can i use will allow me to control the frame rate and quality for Avi compression and have a reasonable size for the output file.
Reminder: i am compressing from mpeg-2 to avi.
Thanks,
Michael
mjmimmm@hotmail.com
|
|
|
|
|
More information on why i cannot use the Divx codec:
When using the IAMVideoCompression:GetInfo on the codec it returns 0 for capabilities. Meaning that it does support controlling the codec through this interface and I cannot control the frame rate, quality etc....
Is there a way around this? or another codec that does allow me to control this?
Thank you,
Michael
mjmimmm@hotmail.com
|
|
|
|
|
Hey Mark,
Haven't heard from you since i sent you the example code?
I still appreciate any help i can get.
Thnx,
Michael
mjmimmm@hotmail.com
|
|
|
|
|
Hi,
I have a number of still images containing concentric circles and I would like to be able to detect the centre point of the circles. Are there any algorithms out there that would allow me to do this?
Cheers,
Tony
|
|
|
|
|
For future readers who stumble upon this post and are curious about the solution, a few responses to this question were posted here[^].
|
|
|
|
|
hey...
currently working on a graphics application using C# and openGL....intially the whole from was used for drawing...but now I want to refine my application by adding controls and drawing in a picture box but having problems properly defining a drawing area in a picture-box....kindly help me in this regard
thanks
|
|
|
|
|
I am writing a program that does, among other things, authoring to mpeg-2.
I am currently using an sdk that throws an exception if i give it a corrupt mpeg-2 file.
Are there any directshow functions\open source code\applications that give me the option to verify an mpeg-2 to see if it is corrupt or not?
Thank you,
Michael
mjmimmm@hotmail.com
mjmimmm
|
|
|
|
|
There's nothing that will test it for you, no. You've pretty much found the only way to find out. Pass the MPEG inside a Try/Catch block. If it fails, then you know!
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hello..
i'm beginner in c# and have problems with implementing some things in my project...
i need to draw circle (ellipse) as car and different roads (from couple segments) on some map
and to be able to choose a road and navigate such car on this road and also noise if the car gets out from the road... something like this..
I tried to read some good articles here.. but i missed the main idea of such design and also do i need directx?
Thanks for any help...
Shimon
|
|
|
|
|
i want to control serialport with wpf form.i mean i want to send datas and get some datas from outside.i cant add serialport component.but i create serialport component with code.System.io.ports.serialport myserial;
but when i write its datareceived event so i cant exit from datareceived event.i ll save some datas in received event and i ll call another function.how can i do it?
|
|
|
|
|
Dear All
How to use OpenGl with C#, please explain in detail
thanks
david
david
|
|
|
|
|
Look here - very good explanation on integrating OpenGL and C#.
-------------------------
Listen up! Teamwork means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
Hi,
I want to rotate a mesh around a FIXED axis that does not rotate like the axis of the mesh itself.
thats my code so far:
<br />
device.Transform.World = Matrix.RotationYawPitchRoll(yaw, pitch, roll) * Matrix.Translation(x, y, z);
But whith that code the mesh rotates around the axis of itself.
|
|
|
|
|
Try swapping the rotation Matrix and the translation matrix like this.
device.Transform.World = Matrix.Translation(x, y, z) * Matrix.RotationYawPitchRoll(yaw, pitch, roll);
|
|
|
|
|
Doesn't have any effect
Has nobody else any idea?
|
|
|
|
|
This might be a little vague, but better than nothing I hope.
One way to rotate about an arbitrary axis (there are others):
- find the unique point on the axis such that a line from that point to the origin is perpendicular to the axis - let's suppose the point is 1,2,3
-translate that point to the origin - Translation(-1,-2,-3)
-do the rotation
-undo the translation - Translation(1,2,3)
Hope that helps a bit
|
|
|
|
|
Hello, I have to make a software to calculate and show the effects of Nuclear explotions on the ground. For that , I need to use a map design tool or a map-database. Does anybody know a practical way of using map in a software. Where should I start?? Do you know any tool or ready map for this ?? thank you.
|
|
|
|
|
erginduzu wrote: I have to make a software to calculate and show the effects of Nuclear explotions on the ground.
You join, say you're from a muslim country, and your first post asks how to do calculations about the effects of nuclear weapons? I hope no one here is silly enough to provide you with any help.
|
|
|
|
|
|
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 !
|
|
|
|