add media.encode.sh to encode media files in camara.