Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29th January 2022, 08:46   #1  |  Link
Registered User
Join Date: Mar 2011
Posts: 4,832
Avisynth and VapourSynth cropping preview functions

The cropping preview function now comes in both Avisynth and VapourSynth flavours.
The examples below use Avisynth syntax, but the VapourSynth version works in much the same manner (see the help file for exact details).
The name of the script has been changed to CPreview for both versions.

CPreview 2023-10-02 (Cropping Preview).zip

This function is based on the previews from the CropResize script.
I thought I'd upload it for anyone who's interested. Sometimes it's easier to look at what you're cropping before actually cropping it.

It's very simple to use, although there is a help file. When using the Crop() function, you can use pCrop() for a cropping preview (naturally when you adjust the cropping you need to refresh the preview), and when you're happy, remove the "p" from the beginning of the function name to crop.

There's three cropping previews, and the other two are enabled by adding more "p"s.
Obviously this image doesn't really need cropping, but to demonstrate...

pCrop shows the cropping preview as yellow lines.

ppCrop shows the cropping preview as yellow transparent borders.

And pppCrop shows the cropping preview as the inverse of the picture, much like AvsPmod's preview.

Naturally when you're happy, you just remove the "p"s to crop.

The help file has details, but displaying the frame number or time works by appending letters to the other side of the function name, and can be used with or without a cropping preview enabled.


Last edited by hello_hello; 1st October 2023 at 18:08.
hello_hello is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 04:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.