[vlc-devel] [PATCH] --sout crop fix, padd feature
Udo Richter
udo_richter at gmx.de
Thu Feb 10 04:07:02 CET 2005
Hi list,
I wrote a patch that fixes cropping on stream transcode and also
introduces padding. The patch is currently just a working version for
me, but I could refine it further for including it into vlc trunk. Of
course this requires someone to do the reviewing, check whether this
matches code plans and finally submitting it.
Here's an overview:
-Based on libavcodec crop / padd filter
-Introduces crop / padd sub filter based on ffmpeg "video filter2"
-Shares code with "video filter2" but should be fully backwards
compatible
-Uses i_visible_width/height and i_x/y_offset fields of in/out format
description (seems to match the idea)
-Compensates video aspect for cropping/padding
todo:
-libavcodec version checks
-parameter checks (everything should be mod-2, range checks)
-workaround code for ffmpeg 0.4.8?
-port from 0.8.1 to trunk?
The current diff (against 0.8.1) is available here:
http://www.mathematik.uni-kassel.de/~urichter/temp/croppadd-1.diff
Cheers,
Udo
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list