Click here to Skip to main content
15,886,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Has anyone used the MFC Internet Classes? Pin
led mike19-Dec-06 5:15
led mike19-Dec-06 5:15 
GeneralRe: Has anyone used the MFC Internet Classes? Pin
Richard Andrew x6419-Dec-06 5:24
professionalRichard Andrew x6419-Dec-06 5:24 
GeneralRe: Has anyone used the MFC Internet Classes? Pin
led mike19-Dec-06 9:18
led mike19-Dec-06 9:18 
GeneralRe: Has anyone used the MFC Internet Classes? Pin
Mark Salsbery18-Dec-06 12:54
Mark Salsbery18-Dec-06 12:54 
QuestionDirectShow VMR9 Window inside Direct3D interface Pin
Dustin Henry18-Dec-06 10:06
Dustin Henry18-Dec-06 10:06 
AnswerRe: DirectShow VMR9 Window inside Direct3D interface Pin
Mark Salsbery18-Dec-06 10:36
Mark Salsbery18-Dec-06 10:36 
GeneralRe: DirectShow VMR9 Window inside Direct3D interface Pin
Dustin Henry18-Dec-06 11:49
Dustin Henry18-Dec-06 11:49 
GeneralRe: DirectShow VMR9 Window inside Direct3D interface Pin
Mark Salsbery18-Dec-06 12:43
Mark Salsbery18-Dec-06 12:43 
Using the VMR in windowless mode is not too helpful since you only have control at the window
(HWND) level.

Using the VMR in renderless mode provides almost exactly what you need to do except the Direct3D
surfaces are created to match the video stream. If you're already managing the surfaces and the
video is secondary then this is (in a sense) the reverse of what you need.

If you have code running with direct show and the only problem is flicker then I still think the
easiest route would be to write your own renderer instead of the VMR (unless you're really using
the mixing features of the renderer).

I personally found the Windows Media Format SDK to be more flexible, although I work mainly with
ASF files (.wma, .wmv, etc.) and prefer to write my own renderers. If you can work with ASF files
then it's fairly simple (and there's decent sample code in the SDK) to read streams from a file.
Using the asynchronous reader you can set up to read a file and you'll get a callback called for
each frame of video, at the right time, and in the right order. What you do with the frame is up
to you. If you work with 24-bit RGB video, it's a fairly simple blt to a Direct3D surface, GDI
device context, or whatever.
A downside is, besides mpeg-4, the only video codes included for free are the windows media
codecs.
Might be worth taking a look at the Windows Media Format SDK[^]
GeneralRe: DirectShow VMR9 Window inside Direct3D interface Pin
d34studios18-Dec-06 14:14
d34studios18-Dec-06 14:14 
GeneralRe: DirectShow VMR9 Window inside Direct3D interface Pin
Dustin Henry19-Dec-06 10:02
Dustin Henry19-Dec-06 10:02 
GeneralRe: DirectShow VMR9 Window inside Direct3D interface Pin
Mark Salsbery19-Dec-06 10:27
Mark Salsbery19-Dec-06 10:27 
QuestionHow can I change dwStyle ? Pin
Niamorh18-Dec-06 9:51
Niamorh18-Dec-06 9:51 
AnswerRe: How can I change dwStyle ? Pin
Mark Salsbery18-Dec-06 10:19
Mark Salsbery18-Dec-06 10:19 
GeneralRe: How can I change dwStyle ? Pin
Niamorh19-Dec-06 20:43
Niamorh19-Dec-06 20:43 
GeneralRe: How can I change dwStyle ? Pin
Mark Salsbery20-Dec-06 5:13
Mark Salsbery20-Dec-06 5:13 
GeneralRe: How can I change dwStyle ? Pin
Niamorh20-Dec-06 22:06
Niamorh20-Dec-06 22:06 
AnswerRe: How can I change dwStyle ? Pin
prasad_som18-Dec-06 17:34
prasad_som18-Dec-06 17:34 
GeneralRe: How can I change dwStyle ? Pin
Niamorh19-Dec-06 21:11
Niamorh19-Dec-06 21:11 
AnswerRe: How can I change dwStyle ? Pin
prasad_som20-Dec-06 18:02
prasad_som20-Dec-06 18:02 
GeneralRe: How can I change dwStyle ? Pin
Niamorh20-Dec-06 22:07
Niamorh20-Dec-06 22:07 
QuestionPre-compiled file Pin
John Shaft18-Dec-06 9:07
John Shaft18-Dec-06 9:07 
QuestionRe: Pre-compiled file Pin
Maximilien18-Dec-06 9:13
Maximilien18-Dec-06 9:13 
AnswerRe: Pre-compiled file Pin
John Shaft18-Dec-06 9:37
John Shaft18-Dec-06 9:37 
GeneralRe: Pre-compiled file Pin
Maximilien18-Dec-06 10:13
Maximilien18-Dec-06 10:13 
QuestionCREATE AND TERMINATE PROCESS USING WMI Pin
abhiramsss18-Dec-06 9:04
abhiramsss18-Dec-06 9:04 

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.