codec test with ffmpeg