[FFmpeg-devel] Scale, Rotate, Translate Matrix Op.

Joshua Grauman jnfo-c at grauman.com
Mon Jun 13 02:26:15 CEST 2011


Unfortunately, I can't get the perspective filter to do a rotate. Does 
anyone know if it is capable of doing them? I calculated the 4 coordinates 
based on a rotated rectangle, so I thought it should work.

Also, on another note. The patch I found to do matrix transformations 
isn't a filter as far as I can tell from looking at the code. It looks 
like it's just a function to do the actual matrix transformation. How hard 
would it be to write a filter to make use of this code? Any stub filters I 
can look at? Anyone willing to give me a hand at doing it? Thanks!

Josh

> On Fri, Jun 10, 2011 at 01:06:56PM -0700, Joshua Grauman wrote:
>> I also found a diff/patch to add matrix transformations directly written
>> by Daniel G. Taylor with input from some others. I was able to compile it
>> fine (into ffmpeg? The patch adds the code to the Makefile and I think it
>> gets linked in), but once again I can't figure out how to call it. When I
>> run ffmpeg with -vf transform I get 'No such filter:transform'... Thanks
>> again!
>
> where is that patch, maybe we want to include it ?
>
> and -vf mp=perspective=...
>
>
> [...]
>


More information about the ffmpeg-devel mailing list