-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 color is strange when use FFmpegFrameFilter to add watermark #232
Comments
Looks like you're going to need to convert that to BGR if you want to use the result with OpenCV. |
I wonder why the video color is strange when I use FFmpegFrameFilter ? |
The messages displayed on the console might tell us more about what might be happening... |
I had same problem. Getting error |
Try following filter:- It works fine. Took one day to figureout. new FFmpegFrameFilter("movie=image.png [logo];[in][logo]overlay=0:0:1:format=rgb [out]",WIDTH, HEIGHT); |
@Iqra786 |
new FFmpegFrameFilter("movie=image.png [logo];[in][logo]overlay=0:0:1:format=rgb [out]",WIDTH, HEIGHT); |
@fpv999 This has been fixed with commit 35dd7f8. Please give it a try with JavaCV 1.4.2-SNAPSHOT: http://bytedeco.org/builds/ |
Hello,Samuel. Thanks for your powerful project.
I try to use
FFmpegFrameFilter
to add watermark.But the video color is strange. Can you give me some advice?
I think I can convert Frame to IplImage or Mat by import OpenCV to add watermark. But I would like to just use FFmpegFrameFilter.
The text was updated successfully, but these errors were encountered: