mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Fixed subtitles being always disabled
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
|
||||
<Costura>
|
||||
<Costura IncludeDebugSymbols='false' />
|
||||
<Costura DisableCompression='false' />
|
||||
</Costura>
|
||||
</Weavers>
|
||||
@@ -201,7 +201,7 @@ namespace Flowframes.Media
|
||||
if (!enableAudio)
|
||||
audioArgs = "-an";
|
||||
|
||||
if (!enableSubs || (enableSubs && Utils.ContainerSupportsSubs(containerExt)))
|
||||
if (!enableSubs || (enableSubs && !Utils.ContainerSupportsSubs(containerExt)))
|
||||
subArgs = "-sn";
|
||||
|
||||
string mkvFix = I.current.outMode == I.OutMode.VidMkv ? "-max_interleave_delta 0" : ""; // https://www.reddit.com/r/ffmpeg/comments/efddfs/starting_new_cluster_due_to_timestamp/
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace Flowframes
|
||||
|
||||
public static async Task ConcatVideos(string concatFile, string outPath, int looptimes = -1)
|
||||
{
|
||||
Logger.Log($"ConcatVideos('{Path.GetFileName(concatFile)}', '{outPath}', {looptimes})", true, false, "ffmpeg");
|
||||
Logger.Log($"Merging videos...", false, Logger.GetLastLine().Contains("frame"));
|
||||
string loopStr = (looptimes > 0) ? $"-stream_loop {looptimes}" : "";
|
||||
string vfrFilename = Path.GetFileName(concatFile);
|
||||
|
||||
Reference in New Issue
Block a user