Skip to content

Commit 4831fd1

Browse files
Fixed JPEG Compression
1 parent 9c6fd88 commit 4831fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReferenceImporter/imageSequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def getDuration(self, video_file):
3030
raise e
3131
return process
3232
def createSequence(self,input_file, frameRate,start_trim,end_trim, output_file):
33-
command = ('"%s" -i "%s" -r %s -vf scale=1280:-1 -ss %s -to %s "%s"' % (self.ffmpeg_path,input_file,frameRate,start_trim,end_trim,output_file)).encode(self.encoding)
33+
command = ('"%s" -i "%s" -r %s -vf scale=1280:-1 -q:v 3 -ss %s -to %s "%s"' % (self.ffmpeg_path,input_file,frameRate,start_trim,end_trim,output_file)).encode(self.encoding)
3434
try:
3535
subprocess.call(command)
3636
except Exception as e:

0 commit comments

Comments
 (0)