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

Questions About Enhancing Video Quality #78

Open
schxnhxlz opened this issue Apr 30, 2024 · 7 comments
Open

Questions About Enhancing Video Quality #78

schxnhxlz opened this issue Apr 30, 2024 · 7 comments

Comments

@schxnhxlz
Copy link

First off, I want to say thanks for putting together such a cool project! I've really enjoyed playing around with it and have learned a ton.

I've got a couple of questions about improving the video output quality and was hoping you could help me out:

Higher Resolutions: Is it possible to generate videos at resolutions higher than 512x512 to improve the visual quality? If so, how can I adjust the settings to enable higher resolutions?

Bitrate Adjustment: The output video bitrate seems a bit low and might be impacting the quality. Could you point me to where in the code or config files I can tweak the bitrate settings for video encoding?

Thanks again for all your hard work!

Cheers!

@HenryKang1
Copy link

I am not the author however what I would like to recommend the Apply the SR algorithm for this. The input video is cropped face basically. After that blend with your original video. This can improve your video.

@schxnhxlz
Copy link
Author

I am not the author however what I would like to recommend the Apply the SR algorithm for this. The input video is cropped face basically. After that blend with your original video. This can improve your video.

hi @HenryKang1 thanks for your reply. what is the sr algorithm? I already have a ffmpeg command which puts the output video onto the raw video.

@Inferencer
Copy link

He's referring to a super resolution model such as codeformer or gfpgan which would upscale the face at some cost to skin fidelity although I don't see one implemented in this repo at first glance I could be wrong.

@HenryKang1
Copy link

He's referring to a super resolution model such as codeformer or gfpgan which would upscale the face at some cost to skin fidelity although I don't see one implemented in this repo at first glance I could be wrong.

It is correct. Super resolution and pyramid blending or other type of blending is common for computer vision and video processing. FFmpeg only help very low level but it is not gonna work for this problem.

@schxnhxlz
Copy link
Author

Thank you for your answer. I find that upscaling can quickly look fake. I would prefer to be able to adjust the quality during training.

@wning13
Copy link

wning13 commented May 10, 2024

You can try using Topaz Video AI to enhance video quality. However, if you want to directly improve the output quality of the model, you'll need to adjust the model's structure and require more computational resources.

@schxnhxlz
Copy link
Author

That one helped: #102 (comment)

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

4 participants