FFMpeg.Join error Invalid output file. File extension should be 'mpegts' required.

This commit is contained in:
jianxingwu 2020-05-15 17:03:29 +08:00
parent 74593461d4
commit 738176479d
2 changed files with 7 additions and 8 deletions

View file

@ -18,7 +18,7 @@ public static string Extension(this Codec type)
}
public static readonly string Mp4 = ".mp4";
public static readonly string Mp3 = ".mp3";
public static readonly string Ts = ".ts";
public static readonly string Ts = ".mpegts";
public static readonly string Ogv = ".ogv";
public static readonly string Png = ".png";
public static readonly string WebM = ".webm";

View file

@ -1,13 +1,12 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using FFMpegCore.Enums;
using FFMpegCore.Enums;
using FFMpegCore.Exceptions;
using FFMpegCore.Helpers;
using FFMpegCore.Pipes;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
namespace FFMpegCore
{