Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Basic Basic conversions of FFMPEGconversions of FFMPEG  (Read 1154 times)

0 Members and 1 Guest are viewing this topic.

mansoorm

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Basic Basic conversions of FFMPEGconversions of FFMPEG
« on: May 11, 2018, 04:37:57 am »
You have an MP3 file and want it converted into an OGG file:
```
ffmpeg -i input.mp3 output.ogg
```

This also works with videos:
```
ffmpeg -i input.mp4 output.webm
```


The file you have is partially correct with only a single stream in the wrong format. It can be very time consuming to re-encode the correct stream. FFmpeg can help with this situation:
```
ffmpeg -i input.webm -c:v copy -c:a flac output.mkv
```