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

NVEnc Watermark to Video #444

Closed
ysnist opened this issue Dec 26, 2022 · 9 comments
Closed

NVEnc Watermark to Video #444

ysnist opened this issue Dec 26, 2022 · 9 comments

Comments

@ysnist
Copy link

ysnist commented Dec 26, 2022

Is there any way to add a picture to the video I convertion like in ffmpeg?

@rigaya
Copy link
Owner

rigaya commented Dec 28, 2022

Unfortunately there is no way to add watermarks in NVEnc.

@ysnist
Copy link
Author

ysnist commented Dec 28, 2022

Actually, it would be great if this happens. We can get rid of FFMPeg dependency completely. I ask you to please add it in new updates
You're a great developer, I think you can do it.

@rigaya
Copy link
Owner

rigaya commented Dec 31, 2022

I'm not actually used to add watermarks by ffmpeg, am I correct that overlay filter is used?

Would you please share the example of command line to add watermarks you use in ffmpeg to clarify?

@ysnist
Copy link
Author

ysnist commented Jan 4, 2023

I apologize for the late response due to the Christmas holidays. In the meantime I wish you a good new year.

It is possible to add an image to a video as in the following line of code, this or a similar feature would be really cool and I could use it without the need for third party software

ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -codec:a copy output.mp4

@rigaya
Copy link
Owner

rigaya commented Jan 5, 2023

Happy new year to you, too!

Thank you for sharing the usage of overlay filter. I was able to get a picture of what we need.

I think I'll add a similar simple filter which can have similar result, as ffmpeg overlay has very flexible functionality, but as it'll be complicated to implement, I'll rather start from a simple one, and add features later if needed.

@ysnist
Copy link
Author

ysnist commented Jan 5, 2023

I'm incredibly glad to hear that. Yes, it can be a simple image add feature. I'm looking forward to the new version

@rigaya
Copy link
Owner

rigaya commented Jan 16, 2023

NVEnc 7.09 adds --vpp-overlay which will overlay image on top ob base video.

Example

--vpp-overlay file="target.png",pos=1620x780,size=300x300

@rigaya
Copy link
Owner

rigaya commented Jan 30, 2023

I'll close this issue now, as the requested feature has be added and improved in recent updates.

@rigaya rigaya closed this as completed Jan 30, 2023
@VisionHDR
Copy link

VisionHDR commented Jun 27, 2023

I need please to add a timing option like ffmpeg does. I can't use an image for the whole video length. I need an option to make it for the first seconds of the video, for example. Is this possible to add? thanks in advance.

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

3 participants