c.kuchenbecker
01-31-2007, 02:36 PM
I like to add an image to the output. I tried to use the overlay function in Flix, but with the result, that the flv ist produced without that watermark. As told in the documentation I create the filter-handle and go on like this.
$filterptr= new_flix2plgnhandlep();
$sc = Flix2_AddFilter($filterptr,$flix,FE2_FILTER_OVERLAY);
checksc('Flix2_AddFilter(FE2_FILTER_OVERLAY)',$sc);
$filter= flix2plgnhandlep_value($filterptr);
$sc = Flix2_FilterSetParamAsStr($filter,FE2_OVERLAY_FILE,$overlayfile);
checksc('Flix2_FilterSetParamAsStr(FE2_OVERLAY_FILE,$overlayfile)',$sc);
$sc = Flix2_FilterSetParamAsStr($filter,FE2_OVERLAY_POS,FE2_OVERLAY_POS_MODE_BOTRIGHT);
checksc('Flix2_FilterSetParamAsStr(FE2_OVERLAY_POS,FE2_OVERLAY_POS_MODE_BOTRIGHT)',$sc);
The output is pretty fine but the image is missing. Did anyone has an idea, what the problem might be? Anyone working with this filter yet?
Thanks for proposals.
$filterptr= new_flix2plgnhandlep();
$sc = Flix2_AddFilter($filterptr,$flix,FE2_FILTER_OVERLAY);
checksc('Flix2_AddFilter(FE2_FILTER_OVERLAY)',$sc);
$filter= flix2plgnhandlep_value($filterptr);
$sc = Flix2_FilterSetParamAsStr($filter,FE2_OVERLAY_FILE,$overlayfile);
checksc('Flix2_FilterSetParamAsStr(FE2_OVERLAY_FILE,$overlayfile)',$sc);
$sc = Flix2_FilterSetParamAsStr($filter,FE2_OVERLAY_POS,FE2_OVERLAY_POS_MODE_BOTRIGHT);
checksc('Flix2_FilterSetParamAsStr(FE2_OVERLAY_POS,FE2_OVERLAY_POS_MODE_BOTRIGHT)',$sc);
The output is pretty fine but the image is missing. Did anyone has an idea, what the problem might be? Anyone working with this filter yet?
Thanks for proposals.