those are actually pngs
This commit is contained in:
parent
97ee9f5184
commit
8f4c9f8eed
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def frame(video, target, position):
|
|||
return r == 0
|
||||
'''
|
||||
#ffmpeg
|
||||
cmd = ['ffmpeg', '-y', '-ss', str(position), '-i', video, '-f', 'mjpeg', '-an', '-vframes', '1', target]
|
||||
cmd = ['ffmpeg', '-y', '-ss', str(position), '-i', video, '-an', '-vframes', '1', target]
|
||||
r = run_command(cmd)
|
||||
return r == 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue