Click here to Skip to main content
15,936,119 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Can DirectShow do it?And how?
Who can help me?
Posted
Comments
Sergey Alexandrovich Kryukov 6-Apr-13 23:24pm    
DirectShow and nothing else, really? Why?
Please, always tag your platform, language and other relevant detail.
—SA
liaoyuandeyehuo 6-Apr-13 23:35pm    
I think DirectX is faster than GDI or other way.My language is VC;OS is windows 7.I'm trying to writing a project to capture a window,add something to it,convert to video,then push it to the internet for real time.But I don't konw how to convert the buffers to video,coule show me a way?
Sergey Alexandrovich Kryukov 6-Apr-13 23:38pm    
Of course DirectX is faster then GDI, but video compression does not have to do with either at all. You simply make one file out of many picture files, right? :-)
Please see my answer. See the documentation of FFmpeg.
—SA
liaoyuandeyehuo 7-Apr-13 0:04am    
Yes,convert picture to video.The FFmpeg is done by C#?But I don not konw well about C#,Could you tell me how to do it by c?I have no idea about it.
Sergey Alexandrovich Kryukov 7-Apr-13 0:27am    
No! After all, read it, I gave you all the references. What idea? Just read the documentation.
—SA

1 solution

I saw this solution which I don't like very much: http://stackoverflow.com/questions/251467/how-can-i-create-a-video-from-a-directory-of-images-in-c[^].

You can try to find some more: http://bit.ly/14NTPTx[^].

I wouldn't to it. I would prefer to use FFmpeg which perfectly does this, as well as many other things. Please see my past answer:
how to convert image to video in C#[^].

—SA
 
Share this answer
 
v2
Comments
SoMad 6-Apr-13 23:33pm    
I agree with using FFmpeg. +5x2. It sounds like OP would be new to DirectShow and that might be a steep learning curve.

Soren Madsen
Sergey Alexandrovich Kryukov 6-Apr-13 23:35pm    
Thank you, Soren.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900