Skip to content
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

"video.mp4" only has speech but no images ? #107

Open
wsywsywsywsywsy979 opened this issue Nov 2, 2022 · 4 comments
Open

"video.mp4" only has speech but no images ? #107

wsywsywsywsywsy979 opened this issue Nov 2, 2022 · 4 comments

Comments

@wsywsywsywsywsy979
Copy link

hi , after I running run_voca.py( using the command"python run_voca.py --tf_model_fname './model/gstep_52280.model' --ds_fname './ds_graph/output_graph.pb' --audio_fname './audio/test_sentence.wav' --template_fname './template/FLAME_sample.ply' --condition_idx 3 --out_path './animation_output'" and "python run_voca.py --tf_model_fname './model/gstep_52280.model' --ds_fname './ds_graph/output_graph.pb' --audio_fname './audio/test_sentence.wav' --template_fname './template/FLAME_sample.ply' --condition_idx 3 --uv_template_fname './template/texture_mesh.obj' --texture_img_fname './template/texture_mesh.png' --out_path './animation_output_textured'"), both generates "video.mp4", but when I check this video, only speech have no image in it.

@mhxlearn
Copy link

mhxlearn commented Nov 9, 2022

Download the MP4 file and open it on Windows

@wsywsywsywsywsy979
Copy link
Author

Download the MP4 file and open it on Windows

Thanks for comments. But That is what I did , because I runned the codes with docker in server, which I can't play the video directly. So I must download it to windows to play.

@mhxlearn
Copy link

mhxlearn commented Nov 9, 2022

Download the MP4 file and open it on Windows

Thanks for comments. But That is what I did , because I runned the codes with docker in server, which I can't play the video directly. So I must download it to windows to play.

I had the same problem. It starts with sound and no picture on Windows as well. Could you try switching the video player?If not, I don't know why.

@wsywsywsywsywsy979
Copy link
Author

Download the MP4 file and open it on Windows

Thanks for comments. But That is what I did , because I runned the codes with docker in server, which I can't play the video directly. So I must download it to windows to play.

I had the same problem. It starts with sound and no picture on Windows as well. Could you try switching the video player?If not, I don't know why.

I maybe find the reason is that pyrender couldn't make an effect in docker, so the every frame in video is be setted with full black color, what I do now is setting the "visualize" to false and downloading the all obj files to windows, I find the obj files is correct , but I still can''t find a available render method to use this file generate a video.
I try to use bpy library, but Its installation is too diffcult to implement, So I'm still finding another method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants