Skip to content

Conversation

@djeada
Copy link
Owner

@djeada djeada commented Sep 3, 2025

…in make_short.sh

@djeada djeada requested a review from Copilot September 3, 2025 19:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a configurable left black safety margin feature to the YouTube video cropping functionality in make_short.sh. The feature allows users to specify a left black margin that will be overlaid on the final 1080x1920 output to prevent content from being cut off at the left edge.

  • Adds --safe-left command line parameter with default value of 30 pixels
  • Implements validation and normalization of the margin value with proper bounds checking
  • Overlays a black rectangle on the left side of the final output using FFmpeg's drawbox filter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@djeada djeada merged commit fe18988 into master Sep 3, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants