One other change... I changed: Code: push @params, '-ffourcc', 'DIVX'; To: Code: push @params, '-ffourcc', 'FMP4'; and the output file plays in both mplayer and Nokia media player.
push @params, '-ffourcc', 'DIVX';
push @params, '-ffourcc', 'FMP4';