-
Notifications
You must be signed in to change notification settings - Fork 275
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
save video has a bug. call(cmd) #14
Comments
The error indicates that the output directory does not exist. |
hi,thank you for you reply! out_video_fname = os.path.join(out_path, 'video.mp4') this is output: |
The error indicates that one of the files or directories in the subprocess call does not exist. |
''' You can only use this computer program if you have closed a license agreement with MPG or you get the right to use Any use of the computer program without a valid license is prohibited and liable to prosecution. Copyright 2019 Max-Planck-Gesellschaft zur Foerderung der Wissenschaften e.V. (MPG). acting on behalf of its More information about VOCA is available at http://voca.is.tue.mpg.de. import os parser = argparse.ArgumentParser(description='Sequence visualization') args = parser.parse_args() if not os.path.exists(args.out_path): img_path = os.path.join(out_path, 'img') mv = MeshViewer() sequence_fnames = sorted(glob.glob(os.path.join(sequence_path, '*.obj'))) for frame_idx, mesh_fname in enumerate(sequence_fnames): img_fname = os.path.join(img_path, '%05d.png' % frame_idx) Encode images to video cmd_audio = [] if os.path.exists(args.out_path): out_video_fname = os.path.join(out_path, 'video.mp4') #this is the original code. |
|
verg nice,it worked.!!!haha, how add audio ? |
i try to add audio.but have bug!!! ##The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it. |
Please try to run following in you terminal |
@ TimoBolkart : the same problem |
I played a bit with ffmpeg and was unable to reproduce this error. You could try to convert the audio to another file format before encoding the video, or try to use a different audio sequence. The problems seems related to ffmepg not to the VOCA part, hence it is difficult for me to help there |
thank you for you work ,could you help me save the problem?
Traceback (most recent call last):
File "visualize_sequence.py", line 66, in
call(cmd)
File "/usr/lib/python2.7/subprocess.py", line 523, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered: