Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. vaild_fps = "'thumbnail=10,setpts=N/TB -r 1 -vframes 10'"
  2.  
  3. subprocess.call([settings.FFMPEG_PATH,
  4. '-i',
  5. input_file_path,
  6. '-vf',
  7. vaild_fps,
  8. thumbnail_output_file_path,
  9. ]
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement