Revert "UI: Use flac for lossless audio"
This reverts commit 6e20310945.
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
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue