RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

How to resize frame's from video ?

Open alexdo83 opened this issue 3 years ago • 1 comments

-I have a video (1920x1080/16:9) that I want to convert to short video (9:16), its command is:

console = Console() W, H = 1080, 1920 background_clip = ( VideoFileClip(f"assets/temp/{id}/background.mp4") .without_audio() .resize(height=H) .crop(x1=1166.6, y1=0, x2=2246.6, y2=1920) ) -The question here is: if my input video is 1280x720 what will be the crop(x1=?, y1=?, x2=?, y2=?) parameter? I want to reduce the video resolution for faster processing speed.

alexdo83 avatar Oct 12 '22 07:10 alexdo83

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] avatar Oct 19 '22 00:10 github-actions[bot]

Issue closed due to being stale. Please reopen if issue persists in latest version.

github-actions[bot] avatar Nov 01 '22 00:11 github-actions[bot]