video_filter: add formatcrop filter
This filter crops the input pictures by adjusting the format (offsets and size), without any copy (contrary to croppadd).
This is especially useful to receive pictures with arbitrary visible area (smaller than the full size), to debug vouts or filters.
Example usage:
./vlc --video-filter='formatcrop{left=50,right=100,top=200,bottom=80}' video.mp4
Edited by Romain Vimont
Merge request reports
Activity
Filter activity
changed milestone to %4.0
added Component::Video: filters label
added MRStatus::Reviewable label
- Resolved by Romain Vimont
- Resolved by Romain Vimont
- Resolved by Romain Vimont
added MRStatus::InReview label and removed MRStatus::Reviewable label
- Resolved by Romain Vimont
- Resolved by Romain Vimont
- Resolved by Romain Vimont
Historically, I am pretty sure that the trick of modifying the picture meta-data did not work, hence the
cropadd
. If it now works, you should probably removecropadd
.
added 10 commits
-
0c42d4ad...768bb549 - 6 commits from branch
videolan:master
- dfa109c3 - vout: fix update of display source crop
- 888a55c9 - opengl: fix matrix dimensions convention
- 342b390f - opengl: fix 2x3 matrix multiplication
- 935b3a5b - video_filter: add crop filter
Toggle commit list-
0c42d4ad...768bb549 - 6 commits from branch
- Resolved by Romain Vimont
Please register or sign in to reply