On 7/30/11 2:27 PM, Yu-Jie Lin wrote:
Example commands:

     ./ffmpeg -f x11grab -s cif -r 25 -i :0.0+10,20;showregion /tmp/out.mpg
     ./ffmpeg -f x11grab -s cif -r 25 -i ':0.0;followmouse;showregion'
/tmp/out.mpg

First one would draw a box around the grabbing region, second one, the
box will follow the mouse.

I use dashed lines because pure white or black lines sometimes are
hard to see, especially with webpages, which mostly with white
background.

Same comments as your previous patch:

- using just the AVOption is enough (though it should be documented)
- please keep the vars aligned properly in the context struct

The feature itself is really nice, thank you again.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to