Click here to Skip to main content
15,914,400 members
Home / Discussions / Graphics
   

Graphics

 
QuestionZoom in/out ...by c# !! Pin
mr jets24-Apr-07 8:17
mr jets24-Apr-07 8:17 
AnswerRe: Zoom in/out ...by c# !! Pin
MatrixCoder25-Apr-07 7:35
MatrixCoder25-Apr-07 7:35 
Question(WPF) Zooming & Panning [modified] Pin
Frostsnow23-Apr-07 23:18
Frostsnow23-Apr-07 23:18 
QuestionMenus at runtime(C#/OpenGL) Pin
a_david12323-Apr-07 22:54
a_david12323-Apr-07 22:54 
QuestionFilter on an images Pin
azmoodeh22-Apr-07 10:33
azmoodeh22-Apr-07 10:33 
AnswerRe: Filter on an images Pin
Dave Kreskowiak22-Apr-07 12:34
mveDave Kreskowiak22-Apr-07 12:34 
GeneralRe: Filter on an images Pin
Christian Graus29-Apr-07 0:50
protectorChristian Graus29-Apr-07 0:50 
QuestionAvi Compression Pin
mjmim20-Apr-07 6:16
mjmim20-Apr-07 6:16 
After Mark Salsbery showed me the wonders of DirectShow Editing Services (Thanks Mark!) i was able to take a bunch of mpegs, put them on after the other and add background music and save the output to an avi file.
One problem. I am having problems Compressing it. The output file is huge since i am not compressing it.
The following example from the DirectShow documentation shows this:
long NumGroups;
pTimeline->GetGroupCount(&NumGroups);

// Loop through the groups and get the output pins.
for (i = 0; i < NumGroups; i++)
{
IPin *pPin;
if (pRender->GetGroupOutputPin(i, &pPin) == S_OK)
{
IBaseFilter *pCompressor;
// Create a compressor filter. (Not shown.)
// Set compression parameters. (Not shown.)

// Connect the pin.
pBuilder->RenderStream(NULL, NULL, pPin, pCompressor, pMux);
pCompressor->Release();
pPin->Release();
}
}

They do not show how to create a compression filter. So meanwhile my compressor is NULL, this is why my output is so huge.
Anyone have any idea how to create a compressor filter? Show me some code xample?
Thanks,
Michael
mjmimmm@hotmail.com
AnswerRe: Avi Compression Pin
Mark Salsbery20-Apr-07 8:47
Mark Salsbery20-Apr-07 8:47 
QuestionRe: Avi Compression Pin
Mark Salsbery20-Apr-07 8:51
Mark Salsbery20-Apr-07 8:51 
AnswerRe: Avi Compression Pin
mjmim20-Apr-07 10:38
mjmim20-Apr-07 10:38 
GeneralRe: Avi Compression Pin
mjmim20-Apr-07 10:46
mjmim20-Apr-07 10:46 
GeneralRe: Avi Compression Pin
Mark Salsbery20-Apr-07 11:02
Mark Salsbery20-Apr-07 11:02 
GeneralRe: Avi Compression Pin
mjmim21-Apr-07 2:42
mjmim21-Apr-07 2:42 
GeneralRe: Avi Compression Pin
mjmim22-Apr-07 3:57
mjmim22-Apr-07 3:57 
GeneralRe: Avi Compression Pin
mjmim23-Apr-07 8:27
mjmim23-Apr-07 8:27 
GeneralRe: Avi Compression Pin
mjmim29-Apr-07 0:14
mjmim29-Apr-07 0:14 
QuestionCircle Image Recognition Pin
softwaremonkey19-Apr-07 5:41
softwaremonkey19-Apr-07 5:41 
AnswerRe: Circle Image Recognition Pin
Vega0219-Apr-07 16:10
Vega0219-Apr-07 16:10 
Questiondrawing in a picture box(using C-Sharp) Pin
Raza568018-Apr-07 19:35
Raza568018-Apr-07 19:35 
Questionmpeg-2 Integrity Pin
mjmim18-Apr-07 3:27
mjmim18-Apr-07 3:27 
AnswerRe: mpeg-2 Integrity Pin
Dave Kreskowiak18-Apr-07 15:25
mveDave Kreskowiak18-Apr-07 15:25 
Questionc# navigation and tracking Pin
instalator17-Apr-07 21:46
instalator17-Apr-07 21:46 
Questionwpf and serialport control? Pin
Mir_As16-Apr-07 20:05
Mir_As16-Apr-07 20:05 
Questionintegrating C# with OpenGl Pin
a_david12316-Apr-07 19:57
a_david12316-Apr-07 19:57 

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.