Skip to content

Commit 803ce85

Browse files
Fix singlejpeg removal
1 parent cad2441 commit 803ce85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ffmpeg.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ return class.create(function(ffmpeg)
215215
Promise.reject('Unknown source id "'..id..'"');
216216
end
217217
local time = LocalDateTime:new():plusSeconds(sec or 0):toTimeString()
218-
local args = {self.ffmpegPath, '-hide_banner', '-v', '0', '-ss', time, '-i', sourceFile:getPath(), '-f', 'singlejpeg', '-vcodec', 'mjpeg', '-vframes', '1', '-an'}
218+
local args = {self.ffmpegPath, '-hide_banner', '-v', '0', '-ss', time, '-i', sourceFile:getPath(), '-f', 'mjpeg', '-vcodec', 'mjpeg', '-vframes', '1', '-an'}
219219
if width and height then
220220
TableList.concat(args, '-s', tostring(width)..'x'..tostring(height))
221221
end

0 commit comments

Comments
 (0)