exec ffmpeg -i rtm://localhost:1935/$app/$name -vcodec libx264 -b:v 2000k -maxrate 1600k -r 30 -acodec copy -s 960x540 -f flv rtmp://localhost:1935/small/test;