Revert "UI: Use flac for lossless audio"
This reverts commit 6e20310945ad181938b6e096f2af0b13bb1f97d6. FLAC doesn't work properly in AVI files, and MKV files don't work in vegas. So, sadly the only solution is to use lossless audio at a super high bitrate for the time being.
This commit is contained in:
parent
d75ed15037
commit
d66759d60f
@ -153,9 +153,10 @@ void SimpleOutput::LoadRecordingPreset_Lossless()
|
||||
obs_output_release(fileOutput);
|
||||
|
||||
obs_data_t *settings = obs_data_create();
|
||||
obs_data_set_string(settings, "format_name", "mkv");
|
||||
obs_data_set_string(settings, "format_name", "avi");
|
||||
obs_data_set_string(settings, "video_encoder", "utvideo");
|
||||
obs_data_set_string(settings, "audio_encoder", "flac");
|
||||
obs_data_set_int(settings, "audio_bitrate", 512);
|
||||
obs_data_set_string(settings, "audio_encoder", "ac3");
|
||||
|
||||
obs_output_update(fileOutput, settings);
|
||||
obs_data_release(settings);
|
||||
@ -450,7 +451,7 @@ bool SimpleOutput::StartRecording()
|
||||
if (lastChar != '/' && lastChar != '\\')
|
||||
strPath += "/";
|
||||
|
||||
strPath += GenerateTimeDateFilename(ffmpegOutput ? "mkv" : format,
|
||||
strPath += GenerateTimeDateFilename(ffmpegOutput ? "avi" : format,
|
||||
noSpace);
|
||||
|
||||
SetupOutputs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user