Record output .WAV using FFmpeg creates file, but it is not playable. How record .WAV properly?

cadudesun

New Member
Hi, I'd appreciate your help.

As shown in the attached screenshot, I set OBS to record only .WAV since my interest is to create audio files having VST effects applied.

I set it in Settings>Output>Output Mode [Advanced]>Recording>Type [Custom Output (FFmpeg)].
Also in sources, just my microphone is ON.

Although the .WAV files are created, they are not playable. Despite the time of the recording, the .WAV files end up having 78 bytes, and are probably corrupted.

If I change the "container format" from "wav" to either "mov" or "mkv", keeping the same encoder pcm_s16le, the audio is recorded properly.

So the problem seems to be related to the "container format" set to "wav".

Does anyone know if OBS can record output .WAV (audio-only)?
If yes, how record .WAV properly?

Thank you!
Cadu

OBS WAV.png
 

Attachments

  • 1619562839285.png
    1619562839285.png
    42.2 KB · Views: 15

FerretBomb

Active Member
OBS isn't an audio recorder. You'd be better-served using a dedicated audio recorder like Audacity, which has a VST host built in if I recall correctly.

ffmpeg use in OBS is at-your-own-risk though.
 

koala

Active Member
The result of my experiments with custom ffmpeg mode is that OBS Studio isn't able to output audio only or video only. You have to choose an output format that outputs audio as well as video. To have one or the other only, you need to split that part from the resulting media file in postprocessing.
Choose mkv as output format and a very low video resolution and bitrate, so the video part is small. As audio, the mkv container format supports almost all audio encodings, so it's easy to just split it afterwards without recoding.

However, an audio processing tool like Audacity is better suited to handle audio in the first place as @FerretBomb wrote.
 
Top