Click here to Skip to main content
15,898,371 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Managed and UnManaged DirectX APIs. Pin
dybs27-Jan-10 15:40
dybs27-Jan-10 15:40 
GeneralRe: Managed and UnManaged DirectX APIs. Pin
Xeqtr27-Apr-10 11:00
Xeqtr27-Apr-10 11:00 
Questiondrawing a double dash line Pin
Berlus13-Jan-10 11:01
Berlus13-Jan-10 11:01 
AnswerRe: drawing a double dash line Pin
Tim Craig13-Jan-10 18:13
Tim Craig13-Jan-10 18:13 
AnswerRe: drawing a double dash line Pin
ely_bob1-Mar-10 8:42
professionalely_bob1-Mar-10 8:42 
QuestionGDIplus to HPGL [modified] Pin
Dieter Hammer5-Jan-10 3:33
Dieter Hammer5-Jan-10 3:33 
Questioni surrend, could someone point me in the right direction for displaying from one logo to another, but with profesional look. like the htc touch pro´s picture or the wheather tab´s animation? Pin
zeus014-Jan-10 7:26
zeus014-Jan-10 7:26 
QuestionCapture DirectX video from screen to MPG or WMV (not AVI) [modified] Pin
dybs25-Dec-09 5:51
dybs25-Dec-09 5:51 
Hello,

Short version: What's the best way to capture a non-AVI video from a DirectX display in Windows Forms? I would prefer to use WMV or MPG since AVIs can get quite large. I've seen a lot of suggestions for DirectShow, but I hear it's not supported in Vista of 7. I need this to work in both XP and Vista. I'd rather use the same solution for each OS, but if necessary we can implement separate ones.

Not-so-short version: I have a Windows Forms app that uses Managed DirectX for a portion of the display, and the customer wants to be able to capture a video of it. We've tried saving the frames to BMPs and then using various utilities (Windows Media Encoder SDK, BMP2AVI cmd line util) to compile them into an AVI, but the process of saving the BMPs really slows down the framerate. Also, the frames are only about 500 x 600, and a 15-sec AVI is about 300 MB! The customer may want to record longer videos at higher resolution, so it would be nice to save to an MPG or WMV if we could. It would be even better if we could skip saving the frames to BMPs and create the video on the fly, but I assume that would be even worse performance.

Thanks,

Dybs

The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

modified on Friday, December 25, 2009 12:19 PM

AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
harold aptroot25-Dec-09 6:22
harold aptroot25-Dec-09 6:22 
AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
LunaticFringe25-Dec-09 8:19
LunaticFringe25-Dec-09 8:19 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
dybs25-Dec-09 8:33
dybs25-Dec-09 8:33 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
LunaticFringe25-Dec-09 8:51
LunaticFringe25-Dec-09 8:51 
AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
Luc Pattyn25-Dec-09 9:12
sitebuilderLuc Pattyn25-Dec-09 9:12 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
dybs25-Dec-09 9:47
dybs25-Dec-09 9:47 
QuestionGDI+ under Windows 7 Pin
Leslie Sanford22-Dec-09 13:13
Leslie Sanford22-Dec-09 13:13 
AnswerRe: GDI+ under Windows 7 Pin
clawton24-Dec-09 11:56
clawton24-Dec-09 11:56 
GeneralRe: GDI+ under Windows 7 Pin
ZTransform5-Jan-10 2:25
ZTransform5-Jan-10 2:25 
GeneralRe: GDI+ under Windows 7 Pin
Dan Mos27-Jan-10 14:01
Dan Mos27-Jan-10 14:01 
Questionhow to get contour lines and u,v vector plots in OpenGL? Pin
gourishsio5-Dec-09 22:12
gourishsio5-Dec-09 22:12 
AnswerRe: how to get contour lines and u,v vector plots in OpenGL? Pin
LunaticFringe6-Dec-09 2:27
LunaticFringe6-Dec-09 2:27 
QuestionDraw Text Upside Down Pin
WaveK8928-Nov-09 13:57
WaveK8928-Nov-09 13:57 
AnswerRe: Draw Text Upside Down Pin
Luc Pattyn28-Nov-09 14:22
sitebuilderLuc Pattyn28-Nov-09 14:22 
AnswerRe: Draw Text Upside Down Pin
Tim Craig28-Nov-09 20:55
Tim Craig28-Nov-09 20:55 
AnswerRe: Draw Text Upside Down Pin
Richard MacCutchan28-Nov-09 21:40
mveRichard MacCutchan28-Nov-09 21:40 
Question3D Image Display. Pin
ashwath197919-Nov-09 23:20
ashwath197919-Nov-09 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.