Crop .avi file
20 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm have a video .avi file that i want to crop for these dimensions: 767 410 166 165. This is the code I have now but I keep getting a error. I've learned that I can't do it with VideoReader or vision.VideoReader. Any suggestions are welcomed.
vid=VideoReader('bubbles.mov','Tag', 'My object');
vid_croppped=vid('767 410 166 165')
0 件のコメント
回答 (1 件)
Image Analyst
2021 年 5 月 8 日
See attached example and make the obvious simple modifications.
Write back if you can't figure it out.
12 件のコメント
Image Analyst
2022 年 11 月 22 日
@David Gill you were supposed to modify the demo. You were supposed to realize that the resizing line in the demo is not what you want and to delete that line. If you do that there will be no change in resolution, only that the output video will be three lines shorter vertically.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!