There are too many ffmpeg parameters, but there is no need to remember them.
Use 'convert FormatA to FormatB' to search.
ffmpeg -i A.jpeg A.gif
ffmpeg -i A.png A.gif
ffmpeg -i A.jpg A.gif
ffmpeg -i A.gif A.jpg
ffmpeg -i A.gif A.png
ffmpeg -i example.mkv -c copy example.mp4
for f in *.mkv; do ffmpeg -i "$f" -c copy "${f%.mkv}.mp4"; done
for /R %%f IN (*.mkv) DO ffmpeg -i "%%f" -c copy "%%~nf.mp4"
####Use the "-c copy" parameter to convert losslessly, without lossy conversion
ffpmeg -i A.flv -c copy A.mp4
ffmpeg -i S.mp4 S.gif
ffmpeg -i test.mp4 -f mp3 -vn test.mp3
here, -f means format, -vn means video not
ffmpeg -i name1.rmvb -c:v libx264 -strict -2 name2.mp4
ffmpeg -i test.ape target.mp3
for f in *.ape; do ffmpeg -i "$f" "${f%.ape}.mp3"; done