-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Unneccessary Re-Encode If Video Is Already H264 (#234)
* Do not re-encode h264 videos - if video_filepath ext is mp4 and ffmpeg probe finds video stream with h264 codec add codec:copy to StreamCopy the video instead of re-encoding as h264. * black format * ruff * Inline args * Consider output_format in should_copy_video * Add logging
- Loading branch information
Showing
2 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters