PDA

View Full Version : COM hangs after using cut filter in perl


potatono
11-09-2006, 04:12 PM
Hi there. I'm using your latest 8.0.6.0 release of Flix Engine. In Perl when using the Win32::OLE interface Flix will hang after encoding if a FE2_FILTER_CUT has been added and initialized. The encode proceeds normally, and the filter has the desired effect. Once the encode completes and the $flix object goes out of scope, or Win32::OLE->Uninitialize is called the process will hang indefinitely.

Add the following lines just before $flix->encode() to the cli_encode.pl sample for a demonstration.


my $filter = $flix->addFilter($flix->FE2_FILTER_CUT);
checkhr("flix->addFilter(FE2_FILTER_CUT)");
$filter->setParam($flix->FE2_CUT_START_SEC,0.1);
checkhr("filter->setParam(START,0.1)");
$filter->setParam($flix->FE2_CUT_STOP_SEC,10.1);
checkhr("filter->setParam(STOP,10.1)");


Any ideas?