Skip to content

Commit

Permalink
Merge pull request #22 from jgreco/master
Browse files Browse the repository at this point in the history
fix mpv subprocess argument format for mpv 0.32
  • Loading branch information
occivink committed Jun 24, 2020
2 parents da97cc6 + 30105b1 commit 5139d34
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/gallery-thumbgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,17 @@ function thumbnail_command(input_path, width, height, take_thumbnail_at, output_
if not accurate then
add({ "--hr-seek=no"})
end
add({ "--start", take_thumbnail_at })
add({ "--start="..take_thumbnail_at })
end
add({
"--no-config", "--msg-level=all=no",
"--vf", "lavfi=[" .. vf .. ",format=bgra]",
"--audio", "no",
"--sub", "no",
"--frames", "1",
"--image-display-duration", "0",
"--of", "rawvideo", "--ovc", "rawvideo",
"--o", output_path
"--vf=lavfi=[" .. vf .. ",format=bgra]",
"--audio=no",
"--sub=no",
"--frames=1",
"--image-display-duration=0",
"--of=rawvideo", "--ovc=rawvideo",
"--o="..output_path
})
end
return out
Expand Down

0 comments on commit 5139d34

Please sign in to comment.