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

VideoWriter write a codec of ‘H264’ video,video is not clarity. #314

Closed
ykwang opened this issue Jan 6, 2025 · 1 comment · Fixed by #315
Closed

VideoWriter write a codec of ‘H264’ video,video is not clarity. #314

ykwang opened this issue Jan 6, 2025 · 1 comment · Fixed by #315
Labels
question Further information is requested

Comments

@ykwang
Copy link

ykwang commented Jan 6, 2025

Question

When I use the below code to write a video, the output video is not clarity
cv.VideoWriter writer = cv.VideoWriter.empty();
writer.open(“video.mp4”, "H264", 30, (1920, 1080));

Do you have the interface about writer.set(cv::VIDEOWRITER_PROP_BITRATE, 4000000);

@ykwang ykwang added the question Further information is requested label Jan 6, 2025
@rainyl
Copy link
Owner

rainyl commented Jan 6, 2025

@ykwang Currently it's not implemented, I will add this in the future.

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

Successfully merging a pull request may close this issue.

2 participants