Skip to content

Commit

Permalink
ffmpeg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergama committed Jul 29, 2020
1 parent 0749e90 commit bf43e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wassncplot2.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

if args.ffmpeg:
import subprocess
callarr = ["ffmpeg", "-r","%d"%args.ffmpeg_fps, "-i" ,"%s/%%*.png"%(outdir), "-c:v", "libx264", "-vf", 'fps=25,format=yuv420p,scale=614x514', "-preset", "slow", "-crf", "22", "%s/video.mp4"%outdir ]
callarr = ["ffmpeg.exe", "-r","%d"%args.ffmpeg_fps, "-i" ,"%s/%%08d_grid.png"%(outdir), "-c:v", "libx264", "-vf", 'fps=25,format=yuv420p,scale=614x514', "-preset", "slow", "-crf", "22", "%s/video.mp4"%outdir ]

print("Calling ", callarr)
subprocess.run(callarr)

0 comments on commit bf43e53

Please sign in to comment.