You should try setting a higher quality if you want to retain the visual impression: ffmpeg -i input.mp4 -c:v libx264 -crf 21 \ Naturally, this will re-encode the video, with a little quality loss. So, if the cropdetect filter prints out crop=1280:720:0:0, you just use that below: ffmpeg -i input.mp4 -filter:v crop=1280:720:0:0 -c:a copy output.mp4 Look at where it says crop= and use these parameters for the crop filter. This call will print out a line for every frame, but you can stop the process with Ctrl C at any time. With FFmpeg, you can run the cropdetect filter to automatically detect the necessary area for cropping: ffmpeg -i input.mp4 -filter:v cropdetect -f null. Then drag the video onto the sequence, and make sure you don't change the sequence settings:įinally, in the clip's Motion settings, you can adjust it to move and scale it until the black bars disappear: Make sure you use the same frame rate and pixel aspect ratio as the input sequence. Then, create a new sequence from File » New » Sequence, and set this dimension. I'm not aware of any easy way to do that with Premiere Pro, but you should first find out what the target dimension is for the video.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |