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. |
![]() |
#1 | Link |
Registered User
Join Date: Dec 2011
Posts: 192
|
AvsP macro - Encode with x264
This is an AvsP macro to encode the Avisynth script in the current tab with x264. It prompts for the encoding settings and pipes the video data to x264 using avs4x264. It started as a quick and dirty script, now it has become kind of a poor man's GUI.
Features:
In order to use it, you need to place the script in the "AvsPmod\macros" directory, and avs4x264mod and x264 in "AvsPmod\tools" or set a custom path. Be sure to open the script with your text editor to check the complete documentation. Changelog: Code:
- minor changes and some cleanup - fix "Additional parameters" field. It needed to start with a space - improved interface with recent updates in AvsPmod - default values can be set now from the prompt - add 2-pass ABR mode - add scan type option - add DAR to the prompt. It can also be read from the avs now, like "# DAR 16:9" or "# DAR 1.85" - add Blu-ray compatible and open-GOP switches to the prompt - x264 parameters can now be read from the avs, like "# x264 parameters --crf 17 --aq-strength 1.2" - zones can now be read from lines with Trims in the avs, like "Trim(0,100) # zones crf=20" - improve RGB / YCbCr flags alias feature - add option to archive the encoding log and a copy of the avs - add option to run the encoding without a window and notify at the end - add option to close the current tab and/or preview tabs on its right - fix Python 2.6 compatibility - add support for Dither_out (Dither v1.22.0+) Last edited by vdcrim; 11th March 2013 at 17:51. |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Nov 2008
Posts: 327
|
Thanks. My mistake, not using the correct version of AvsPmod. How do I set the interlaced tff/bff flags?
Oh, another error... Missing "Dither_convey_yuv4xxp16_on_yvxx()" or incorrect input color depth.. Last edited by Floatingshed; 23rd January 2012 at 15:41. |
![]() |
![]() |
![]() |
#7 | Link | |
Registered User
Join Date: Dec 2011
Posts: 192
|
Just use the "Additional parameters" field (--tff or --bff). I didn't include a specific field for these flags because I don't encode interlaced myself. I just fixed a minor bug with this field btw, see first post.
Quote:
So, if what you really wanted was to output 8 bit video, set that field to 8. If you want to output high bit depth video, but with other solution than the Dither package, set check_depth = False in the macro preferences (first lines of the script). Last edited by vdcrim; 23rd January 2012 at 16:38. |
|
![]() |
![]() |
![]() |
#9 | Link | |
Registered User
Join Date: Dec 2011
Posts: 192
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: May 2012
Posts: 7
|
I am trying out the Dither_out support you added to the git hub, but the macro doesn't seem to work for me. AvsPmod is throwing an error, Error in macro: invalid syntax (<string>, line 2). I would try to fix this myself, except: 1) I don't know the first thing about python and 2) Looking at the code it doesn't look like there was a single change to the code at line 2. The older v4 of the macro still works fine for me when I revert the changes. For now I'll just use the older way of passing a 16 bit stacked clip instead of using Dither_out.
|
![]() |
![]() |
![]() |
Tags |
avisynth, avs4x264, avsp, avspmod, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|