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

crop script for fixed height and width for encoder #6

Open
omricarmi opened this issue Mar 13, 2018 · 3 comments
Open

crop script for fixed height and width for encoder #6

omricarmi opened this issue Mar 13, 2018 · 3 comments
Assignees

Comments

@omricarmi
Copy link
Owner

use ffmpeg to create script that crop yuv encoder input to width and height that are complete division of the base size unit, example : 4x4.

@omricarmi
Copy link
Owner Author

@harelnh after you finish do it manually copy here please the bash lines you have used with ffmpeg

@harelnh
Copy link
Collaborator

harelnh commented Mar 13, 2018

@omricarmi here is the command i finally used :
ffmpeg - video_size 854x480 -r 30 -pixel_format yuv420p -i basketball_big_854x480_30.yuv -filter:v "crop=852:480:0:0" basketball_long_cropped_852x480_30.yuv

@omricarmi
Copy link
Owner Author

reminder for my self: make sure that after we crop the video change its cfg file in correspond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants