Netcipher and ffmpeg fixes