Correct ffmpeg cmd

This commit is contained in:
ABelliqueux 2021-08-14 11:31:15 +02:00
parent 6668dbd798
commit c5af972fec
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ make cleansub
### Sound to WAV conversion with ffmpeg ### Sound to WAV conversion with ffmpeg
```bash ```bash
ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 44100 output.wav ffmpeg -i input.mp3 -acodec pcm_s16le -ac 2 -ar 44100 output.wav
``` ```
### WAV to XA conversion ### WAV to XA conversion

View File

@ -8,7 +8,7 @@ You also need [`psxavenc` and `xainterleave`](https://github.com/ABelliqueux/can
Use ffmpeg to create a 16-bit ADPCM mono WAV file - change -ar to reduce filesize (and quality) Use ffmpeg to create a 16-bit ADPCM mono WAV file - change -ar to reduce filesize (and quality)
```bash ```bash
$ ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 44100 output.wav $ ffmpeg -i input.mp3 -acodec pcm_s16le -ac 2 -ar 44100 output.wav
``` ```
You can use Audacity to edit sound, but as mentionned in [xatut.pdf](http://psx.arthus.net/sdk/Psy-Q/DOCS/XATUT.pdf), p17 : You can use Audacity to edit sound, but as mentionned in [xatut.pdf](http://psx.arthus.net/sdk/Psy-Q/DOCS/XATUT.pdf), p17 :