ffprobe shows info about a file. Converting is as easy as ffmpeg -i ~/Downloads/1.webm -vcodec copy -acodec copy /tmp/1.avi Work with raw frames is similar to ``