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

Ask for help with video watermarking #835

Open
IT-IvDragon opened this issue Apr 16, 2024 · 0 comments
Open

Ask for help with video watermarking #835

IT-IvDragon opened this issue Apr 16, 2024 · 0 comments

Comments

@IT-IvDragon
Copy link

cmd = (f'{self.ffmpeg_cmd} -i "{input_files}" -i "{watermark_file}" '
               f'-filter_complex "[1:v]scale=720:1280:force_original_aspect_ratio=decrease,'
               f'pad=720:1280:-1:-1:color=black[wm];[0:v][wm]overlay=format=auto,format=yuv420p" '
               f'-codec:a copy "{output_file}"')

How to convert to ffmpeg-python code。

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

1 participant