How to crop (x1/y1/x2/y2) with plug-in ? Possible?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
WpgCameraMan
New Cone
New Cone
Posts: 4
Joined: 24 Dec 2006 20:24

How to crop (x1/y1/x2/y2) with plug-in ? Possible?

Postby WpgCameraMan » 24 Dec 2006 20:39

Ignore this, VLC can't do what I need :-(

Allclone
New Cone
New Cone
Posts: 9
Joined: 13 Nov 2005 22:59
Location: Kazoo
Contact:

Postby Allclone » 30 Dec 2006 08:09

Yes it can be done in the plugin, its kinda complicated but it works I just tried with 0.8.6 plugin. for the command

vlc.playlist.add(targetURL, null, options);

So for options I placed ":crop=320x240+0+80", this cropped the video and placed it in the somewhere in the middle of the video.

vlc.playlist.add(<file>/<URL>, null, ":crop=320x240+0+80");

basic option:
:crop=<width>x<height>+<left offset>+<top offset>

Hope this helps


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests