This commit is contained in:
Revan654
2018-09-07 18:18:25 -04:00
parent f9d590c231
commit 2baeeb02cd
5 changed files with 128 additions and 42 deletions
+7 -10
View File
@@ -291,9 +291,6 @@ Public MustInherit Class VideoEncoder
Dim ffmpeg = New ffmpegEnc()
Dim Animation = New AnimationEnc
ret.Add(Animation)
Dim xvid As New BatchEncoder()
xvid.OutputFileTypeValue = "avi"
xvid.Name = "XviD"
@@ -308,13 +305,13 @@ Public MustInherit Class VideoEncoder
ret.Add(ffmpeg2)
Next
Dim Gif As New BatchEncoder()
Gif.OutputFileTypeValue = "gif"
Gif.Name = "Command Line | Gif Maker"
Gif.QualityMode = True
Gif.Muxer = New NullMuxer("No Muxing")
Gif.CommandLines = "ffmpeg -i ""%script_file%"" -vf ""fps=15,scale=%target_width%:-1:flags=spline,palettegen=stats_mode=diff"" -loglevel quiet -y ""%target_temp_file%.png"" || exit" + BR + "ffmpeg -i ""%script_file%"" -i ""%target_temp_file%.png"" -lavfi ""fps=15,scale=%target_width%:-1:flags=spline [x]; [x][1:v] paletteuse=dither=floyd_steinberg"" -loglevel quiet -y ""%target_file%"""
ret.Add(Gif)
' Dim Gif As New BatchEncoder()
'Gif.OutputFileTypeValue = "gif"
' Gif.Name = "Command Line | Gif Maker"
'Gif.QualityMode = True
'Gif.Muxer = New NullMuxer("No Muxing")
' Gif.CommandLines = "ffmpeg -i ""%script_file%"" -vf ""fps=15,scale=%target_width%:-1:flags=spline,palettegen=stats_mode=diff"" -loglevel quiet -y ""%target_temp_file%.png"" || exit" + BR + "ffmpeg -i ""%script_file%"" -i ""%target_temp_file%.png"" -lavfi ""fps=15,scale=%target_width%:-1:flags=spline [x]; [x][1:v] paletteuse=dither=floyd_steinberg"" -loglevel quiet -y ""%target_file%"""
'ret.Add(Gif)
Dim x264cli As New BatchEncoder()
x264cli.OutputFileTypeValue = "h264"