decode using ffmpeg, encode using native tool