those are actually pngs

This commit is contained in:
j 2011-08-26 17:37:56 +02:00
parent 97ee9f5184
commit 8f4c9f8eed

View file

@ -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