Skip to content

problems with videocapture #5

@tfha

Description

@tfha

I have solved the path-problem for linux but I have now got this error-messages with videocapture. I didn't find the error. It seems like there could be something with the cv2 import. In addition to the error message below, I get some the error from the attached image :

File "/home/tfha/projects/Reinforcement_Learning_for_Geotechnics/00_main.py", line 231, in
pltr.render_episode(Path('02_plots/tmp'), fps=2, x_pix=1680, y_pix=480,
File "/home/tfha/projects/Reinforcement_Learning_for_Geotechnics/E_plotter.py", line 294, in render_episode
out = cv2.VideoWriter(savepath, fourcc, fps, (x_pix, y_pix))
TypeError: VideoWriter() missing required argument 'frameSize' (pos 5)

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions