DX

P

Peter Morris

Hi all

I soon have a project to write and need to cover a few areas I haven't
before. Before looking deeply into it I thought I'd ask a few questions :)
I have to produce an animation made up of PNG files + audio. This will
output in various formats using plugins.

01: Can I use DX to create a video from a series of images + some audio?
02: Can I use DX to get PCM data from an MP3 file?
03: If I want to use a small DX window for a preview of my animation should
I use Managed DirectX or should I venture into XNA?
04: Does XNA come with some standard controls such as buttons / text boxes
etc?


Thanks

Pete
 
N

Nicholas Paldino [.NET/C# MVP]

Pete,

Do you have a hard requirement to handle this programatically? If not,
I would use a tool such as Adobe Premiere Pro to just create the movie that
you need to create and export it in AVI (or whatever) format you need.
Then, you can just display the video in your app.

If you do have this hard requirement, then I would assume you can create
a video from a series of images and some audio, but you will have to code
the rendering at the appropriate time, etc, etc.

You should be able to get PCM data from direct X. This would most
likely involve creating a filter which is then inserted into the filter
graph in the rendering of the audio.

XNA is used for creating games, and is not specifically for multimedia
like direct x is. You are better off going the DX route. XNA does use
DirectX underneath the covers (I am almost sure of this), though, but it is
really an abstraction meant to make game development easier.

I am sure on some level XNA supports UI elements, but to what extent, I
don't know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top