Skip to content

Commit 338e3a1

Browse files
author
Thang
committed
Changed deprecated -deinterlace flag, and the order of encoding.
1 parent e7711aa commit 338e3a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def processFile():
6868
out_file = workingDir+'/.alternates/' + out_file
6969

7070
# Make an iOS & Firefox playable version.
71-
cmds = ["HandBrakeCLI -i %s -o %s --preset=\"iPad\"" % ( in_file, out_file + '_ipad.mov' )]
72-
cmds += ["ffmpeg -y -i %s -threads 4 -f webm -vcodec libvpx -deinterlace -g 120 -level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95 -vb 2M -acodec libvorbis -aq 70 -ac 2 %s" % (in_file, out_file + '_ffox.webm' )]
71+
cmds = ["ffmpeg -y -i %s -threads 4 -f webm -vcodec libvpx -filter:v yadif -g 120 -level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95 -vb 2M -acodec libvorbis -aq 70 -ac 2 %s" % (in_file, out_file + '_ffox.webm' )]
72+
cmds += ["HandBrakeCLI -i %s -o %s --preset=\"iPad\"" % ( in_file, out_file + '_ipad.mov' )]
7373
runCmd(cmds)
7474

7575
def main():

0 commit comments

Comments
 (0)