Nuno Magalhaes
Guest
|
Posted:
Fri Nov 18, 2005 5:30 pm Post subject:
SetInput Filename with Loop |
|
|
Is it possible to encode from a video filename (.avi or .mpg) in a
loop?
I'm currently broadcasting the contents from my webcamera, from a
screencapture or from a movie filename... and I would like to know if
it's possible to get the encoder loop the movie when it reaches the
end.
-----------------------------------------------------------------
Here's my sample code:
//Identify the source files to encode
if(sourceVideoIndex==0)SrcVid.SetInput("Default_Video_Device","Device","");
else
if(sourceVideoIndex==1)SrcVid.SetInput("ScreenCapture1","ScreenCap","");
else SrcVid.SetInput(inputFilename,"",""); <----- Is it possible to
loop?
//SrcAud.SetInput("Default_Audio_Device","Device","");
|
|