-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'FFmpegWriter' object has no attribute '_proc' #49
Comments
Hi, this seems to be a problem with ffmpeg or the skvideo library. I have found a similar issue reported here: kekeblom/StrayVisualizer#5 can you check if ffmpeg is installed on your system by running |
Sure, I installed. -------------------------------------------------------------- log --------------------------------------------------------------- |
Hi, the ffmpeg version looks good. From a closer look at the error message the problem might be something else. It looks like you are trying to render a video with 0 frames, which might explain the error from skvideo. Can you share the python script that is producing the error? |
I faced below error when I use aitviewer.
I set smplx_models but I could not find out the solutions...
C.update_conf({"smplx_models": "./data/SMPLX/"})
-------------------------------------------------------------- error log ---------------------------------------------------------------
/home/datasynthesizer/miniconda3/envs/ROMP/lib/python3.9/site-packages/aitviewer/viewer.py:1889: RuntimeWarning: divide by zero encountered in double_scalars
az_delta = np.radians(rotation_degrees) / frames
Rendering frames: 0it [00:00, ?it/s]
Traceback (most recent call last):
File "/home/datasynthesizer/Documents/IA_data/InstantAvatar/scripts/visualize-SMPL.py", line 141, in
viewer.save_video(video_dir=f"{args.path}/output.mp4", output_fps=args.fps)
File "/home/datasynthesizer/miniconda3/envs/ROMP/lib/python3.9/site-packages/aitviewer/headless.py", line 38, in save_video
self.export_video(
File "/home/datasynthesizer/miniconda3/envs/ROMP/lib/python3.9/site-packages/aitviewer/viewer.py", line 1957, in export_video
writer.close()
File "/home/datasynthesizer/miniconda3/envs/ROMP/lib/python3.9/site-packages/skvideo/io/ffmpeg.py", line 432, in close
if self._proc is None: # pragma: no cover
AttributeError: 'FFmpegWriter' object has no attribute '_proc'
The text was updated successfully, but these errors were encountered: