问题是这样的:在ubuntu环境下,想在python程序中调用ffmpeg的一条命令:
ffmpeg -i yourVideo.mp4 -vf select='eq(pict_type\,I)' -vsync 2 -s 160x90-f image2 thumbnails-%02d.jpeg
在python程序中应该怎么写。哪位朋友能指导一下,十分感谢。
问题是这样的:在ubuntu环境下,想在python程序中调用ffmpeg的一条命令:
ffmpeg -i yourVideo.mp4 -vf select='eq(pict_type\,I)' -vsync 2 -s 160x90-f image2 thumbnails-%02d.jpeg
在python程序中应该怎么写。哪位朋友能指导一下,十分感谢。