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 bitrate #70

Open
zhouzhenneng opened this issue Jul 24, 2024 · 4 comments
Open

video bitrate #70

zhouzhenneng opened this issue Jul 24, 2024 · 4 comments

Comments

@zhouzhenneng
Copy link

When I used the transparent-background tool to process a green screen video, the source video had the following properties:

•	Duration: 00:00:14.85
•	Start: 0.000000
•	Bitrate: 8768 kb/s

However, the resulting output video had these properties:

•	Duration: 00:00:14.85
•	Start: 0.000000
•	Bitrate: 3353 kb/s

As you can see, the bitrate of the output video has been significantly reduced, leading to a decrease in video quality. How can I set a higher bitrate or maintain the original bitrate during processing?

@plemeri
Copy link
Owner

plemeri commented Jul 30, 2024

Hi @zhouzhenneng, I'll check if I can do for the bitrate problem in the next release. Sadly, I have no room for the update right now.

@zhouzhenneng
Copy link
Author

zhouzhenneng commented Jul 31, 2024 via email

@zhouzhenneng
Copy link
Author

zhouzhenneng commented Jul 31, 2024 via email

@plemeri
Copy link
Owner

plemeri commented Oct 14, 2024

Hi, @zhouzhenneng, I changed the bitrate option in opencv videowriter, but this will not guarantee 100% identical bitrate as the input. If you still need the bitrate to be preserved, please save video as images and process each frame, then merge them into video format.

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