# FILE_DIR is the source file directory,guid is the file name my $result = system('export LD_LIBRARY_PATH=/usr/local/share/mlt/codecs;inigo '.$FILE_DIR.'/'.$guid.'.mpg -consumer mcmpeg:'.$guid.'.tv progressive=1 rescale=hyper format=mpeg1 width=160 height=120 real_time=0 aspect_ratio=1 bit_rate=200000 -filter watermark:"+RRG E Media.txt" composite.geometry="47%,80%:100%x100%" producer.fgcolour="0x000000ff" producer.bgcolour="0xffffffaa" producer.pad="15"');