You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paths = [] # add paths to the image frames
chain = 0
imgio_kargs = {'fps': 1, 'quality': 10, 'macro_block_size': None,
'codec': 'h264',
'ffmpeg_params': ['-vf', 'crop=trunc(iw/2)*2:trunc(ih/2)*2']}
writer = imageio.get_writer('test.mp4', **imgio_kargs)
for path in paths:
img = imageio.v2.imread(path)
writer.append_data(img)
writer.close()
codecs that worked include vp9 and h264. I am just trying to understand why vp8 would not work when it's supported by ffmpeg normally: http://ffmpeg.org/ffmpeg-codecs.html (including in my own build version, which I can see by running: ffmpeg -codecs).
The text was updated successfully, but these errors were encountered:
I am trying to generate an mp4 video with vp8 codec, and I get the following error:
Here is a minimal working example:
codecs that worked include vp9 and h264. I am just trying to understand why vp8 would not work when it's supported by ffmpeg normally: http://ffmpeg.org/ffmpeg-codecs.html (including in my own build version, which I can see by running: ffmpeg -codecs).
The text was updated successfully, but these errors were encountered: