We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func VideoAddWatermark(videoFileName, watermarkFileName, outFileName string) error { // show watermark with size 128:-1 in the bottom right corner after seconds 1 overlay := ffmpeg.Input(watermarkFileName). Filter("scale", ffmpeg.Args{"128:-1"}) err := ffmpeg.Filter( []*ffmpeg.Stream{ ffmpeg.Input(videoFileName), overlay, }, "overlay", ffmpeg.Args{"W-w-10:H-h-10"}, ffmpeg.KwArgs{"enable": "gte(t,1)"}). Output(outFileName, ffmpeg.KwArgs{"c:a": "copy"}). GlobalArgs("-loglevel", "error"). OverWriteOutput().ErrorToStdOut().Run() return err }
After adding image watermark to the video, there is no sound left, Could you please help me check where the problem is? Thank you very much
The text was updated successfully, but these errors were encountered:
No branches or pull requests
func VideoAddWatermark(videoFileName, watermarkFileName, outFileName string) error { // show watermark with size 128:-1 in the bottom right corner after seconds 1 overlay := ffmpeg.Input(watermarkFileName). Filter("scale", ffmpeg.Args{"128:-1"}) err := ffmpeg.Filter( []*ffmpeg.Stream{ ffmpeg.Input(videoFileName), overlay, }, "overlay", ffmpeg.Args{"W-w-10:H-h-10"}, ffmpeg.KwArgs{"enable": "gte(t,1)"}). Output(outFileName, ffmpeg.KwArgs{"c:a": "copy"}). GlobalArgs("-loglevel", "error"). OverWriteOutput().ErrorToStdOut().Run() return err }
After adding image watermark to the video, there is no sound left,
Could you please help me check where the problem is? Thank you very much
The text was updated successfully, but these errors were encountered: