AVS Script Parameters

Source: Internet
Author: User

Directshowsource ("XXXX", convertfps = true) is the statement for loading the film source. You only need to add the complete path name of the film source to the quotation marks.

Converttoyv12 () to change the color environment filter, conversion PMP-AVC used, because x264 encoder does not support some rmvb color environment, the original color environment needs to be converted to normal Suppression

Crop (720,480,) is a cut statement for the video source. This statement can be used for some movies with black borders to remove the Black edge. The first number is the prime number of the Cut-Off image on the left (enter 0 if you don't want to cut the edge), and the second number is the prime number of the Cut-Off image, the third digit is the prime number of the image to be retained after the left and right sides are cut, and the fourth digit is the prime number of the image to be retained after the upper and lower sides are cut. Someone may ask why the Prime Number of the image to be removed is not input on the right and bottom, because the pixels to be cut and the ones to be retained have been input, and the pixels on the other side have naturally been determined. Note that the number must be an even number.

Lanczosresize (480,272) This is the key to zoom in and out filter, because the maximum PSP-AVC supports 480*272 pixels, so the width of the pressed video should not exceed 480 pixels, the height should not exceed 272 pixels, it must be a multiple of 16. This resolution is determined by the film source. The commonly used resolutions are 368*272, 480*272, and 480*208. If the resolution is incorrect, the proportion of the listed characters may be out of proportion. Because the latest player can support proportional adjustment, even if the resolution is changed, you can also adjust the normal proportion within the player.

Addborders (0, 0, 0) adds a Black edge filter. The four digits are the prime number of the image with the Black edge on the left, top, right, and bottom. Generally not used. However, when the title source is 2.35: 1 and the title is a plug-in subtitle, If you directly load the title when the title source resolution is adjusted to 480*208, the title will be displayed on the screen. If a 32-pixel Black edge is added before the subtitle model is loaded, the actual resolution of the video is 480*272. If the subtitle is loaded, the subtitle is displayed on the Black edge without covering the screen.

Textsub ("XXXX") loads filters for text Subtitles such as SRT, SSA, and ass, and adds the absolute path of the subtitle file (including the file name and extension) to the quotation marks ). The advantage of AVS subtitle loading is that it is completely restored, and the effect of the external subtitle plug-in during playback is the same as that of the converted subtitle. Windmencoder and winmenc do not support subtitles in the ass and SSA formats, and subtitles cannot be loaded normally.

Vobsub ("XXXX") loads the idx + sub image subtitle filter, and adds the absolute path of the subtitle file to the quotation marks. The extension can be left blank or idx or sub is added.

Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Resampleaudio (44100) suppression AAC audio version pmpavc needs to add this statement in AVS at the very end

Trim (0, 0) tablet time
(0,100) indicates starting from 100th Frames
(100th, 0) indicates from frames to the end

Levels (0, 1.5, 255,) brightness adjustment filter the second parameter is used to adjust the brightness, the value is generally between 1 and 2, because the PSP screen is small, to see more details, we usually add some brightness.

Other parameters involve the black and white color channels of the input and output, as well as advanced usage such as threshold, brightness, and color. We do not recommend that you change the value. You can use the default value.

Tweak (,) comprehensive screen adjustment filter can adjust the color, saturation, brightness, contrast, side effects are caused by color distortion, color spots, excessive exposure, etc.

Color:-180.0 ~ 180.0. The default effect is 0.0. Positive numbers tend to red, and negative numbers tend to green. Change the overall color of a video
Saturation: 0.0 ~ 10.0. The default effect is 1.0. 0.0 is black and white. Generally, the video color cannot exceed 1.5.
Brightness:-255.0 ~ 255.0. The default effect is 0.0. Generally, 10-20 is used.
Contrast: 0.0 ~ 10.0. The default effect is 1.0. Generally, it cannot exceed 1.4

The sharpen (0.2) sharpening filter value is generally between 0.1 and 0.5, making the screen more sharp. The side effect is that it will bring a flaw.

The undot () filter does not have any parameters, but it can be used only by load. The effect of the filter is minimal, but it is usually added when DVDRip is created.

Note: The Source definition cannot be improved no matter what filter is used. In fact, each time we use an effect filter, the definition is reduced to a certain extent, and the larger the parameter, the more obvious. However, our operations such as saturation, contrast, and sharpening make the overall video view more in line with our requirements and make up for the lack of clarity. In a sense, the use of the effect filter deceives the eyes of the viewer.

Our suggestion is: if the color brightness of the source is good, the effect filter is generally not used, even if the parameter is used, it should be lowered as much as possible to avoid affecting the definition; generally, you can use the levels and sharpen filters to increase the brightness and sharpness of a video source. For dvdscr films and some animated films with less colorful colors, you need to use tweak for comprehensive adjustment. However, no matter how you adjust it, the effect of the film cannot be qualitatively improved. Therefore, you should not pin your hopes on filter tuning. It is the most fundamental thing to choose a better and clearer source.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.