Next, previous problem we are working on it.

The 3gp is not working as ffmpeg may not support it. You can try mencoder for that, to do this, change

Code:
$convert_3gp = $cmd_all
to

Code:
$convert_3gp = $cmd_mencoder;