Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: losing dimensions in metafile Pin
Mark Salsbery9-Jul-07 9:19
Mark Salsbery9-Jul-07 9:19 
AnswerRe: losing dimensions in metafile Pin
Force Code9-Jul-07 12:53
Force Code9-Jul-07 12:53 
GeneralRe: losing dimensions in metafile Pin
Mark Salsbery9-Jul-07 16:49
Mark Salsbery9-Jul-07 16:49 
AnswerRe: losing dimensions in metafile Pin
Chris Losinger9-Jul-07 7:06
professionalChris Losinger9-Jul-07 7:06 
GeneralRe: losing dimensions in metafile Pin
Force Code9-Jul-07 7:21
Force Code9-Jul-07 7:21 
Questionconvert mpg to avi in directshow Pin
liur179-Jul-07 4:59
liur179-Jul-07 4:59 
AnswerRe: convert mpg to avi in directshow Pin
toxcct9-Jul-07 5:04
toxcct9-Jul-07 5:04 
AnswerRe: convert mpg to avi in directshow Pin
Mark Salsbery9-Jul-07 7:40
Mark Salsbery9-Jul-07 7:40 
A few potential problems...

SetOutputFileName() adds the AVI mux filter to the graph - you don't need to add it manually.

I'm not sure why you're using the MPEG2 splitter AND muxer.
Regardless, you'll need an mpeg2 decoder for it to work (I don't think there's one included with
Windows).

I would try simplifying your graph building first. Compare your method to the method shown here:
Building the Recompression Graph[^]

Also testing it in graphedit.exe can help to make sure you're using the correct filters.

MArk


Mark Salsbery
Microsoft MVP - Visual C++


This episode brought to you by the letter Z

GeneralRe: convert mpg to avi in directshow Pin
liur179-Jul-07 15:00
liur179-Jul-07 15:00 
GeneralRe: convert mpg to avi in directshow Pin
Mark Salsbery9-Jul-07 15:50
Mark Salsbery9-Jul-07 15:50 
GeneralRe: convert mpg to avi in directshow Pin
liur179-Jul-07 20:45
liur179-Jul-07 20:45 
QuestionRe: convert mpg to avi in directshow Pin
Hamid_RT9-Jul-07 7:59
Hamid_RT9-Jul-07 7:59 
QuestionLocalization using .rc resource and resource only dll in same EXE Pin
Neeranjan9-Jul-07 4:36
Neeranjan9-Jul-07 4:36 
QuestionWinsock issue (HTTP) Pin
PigeonRat9-Jul-07 4:24
PigeonRat9-Jul-07 4:24 
AnswerRe: Winsock issue (HTTP) Pin
PigeonRat9-Jul-07 4:37
PigeonRat9-Jul-07 4:37 
Questionfunction pointer Pin
eirche9-Jul-07 3:51
eirche9-Jul-07 3:51 
AnswerRe: function pointer Pin
Nibu babu thomas9-Jul-07 4:12
Nibu babu thomas9-Jul-07 4:12 
GeneralRe: function pointer Pin
eirche9-Jul-07 4:18
eirche9-Jul-07 4:18 
AnswerRe: function pointer Pin
toxcct9-Jul-07 4:14
toxcct9-Jul-07 4:14 
QuestionWaitForMultipleObjects problem Pin
david bagaturia9-Jul-07 3:43
david bagaturia9-Jul-07 3:43 
AnswerRe: WaitForMultipleObjects problem Pin
toxcct9-Jul-07 4:15
toxcct9-Jul-07 4:15 
GeneralRe: WaitForMultipleObjects problem Pin
david bagaturia9-Jul-07 19:16
david bagaturia9-Jul-07 19:16 
AnswerRe: WaitForMultipleObjects problem Pin
Rage9-Jul-07 4:53
professionalRage9-Jul-07 4:53 
AnswerRe: WaitForMultipleObjects problem Pin
Stephen Hewitt9-Jul-07 14:00
Stephen Hewitt9-Jul-07 14:00 
AnswerRe: WaitForMultipleObjects problem Pin
aks.9-Jul-07 18:02
aks.9-Jul-07 18:02 

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.