Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [AVHWDeviceContext @ 0x1c91320] No VA display found for device: /dev/dri/renderD128.
- Device creation failed: -22.
- Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument
- Error parsing global options: Invalid argument
- import imageio
- import numpy as np
- # All images must be of the same size
- image1 = np.stack([imageio.imread('imageio:camera.png')] * 3, 2)
- image2 = imageio.imread('imageio:astronaut.png')
- image3 = imageio.imread('imageio:immunohistochemistry.png')
- w = imageio.get_writer('my_video.mp4', format='FFMPEG', mode='I', fps=1,
- codec='h264_vaapi',
- output_params=['-vaapi_device',
- '/dev/dri/renderD128',
- '-vf',
- 'format=gray|nv12,hwupload'],
- pixelformat='vaapi_vld')
- w.append_data(image1)
- w.append_data(image2)
- w.append_data(image3)
- w.close()
- ...
- The top is the error. The source is listed and it is from imageio docs. online.
- From what I can tell, the source is telling me, via the error, that ffmpeg does not encode for vaapi_device. Is this right?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement