use ffprobe and json instead of mplayer