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

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd September 2023, 10:42   #1501  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 918
Have created a AvsPmod macro for the preview of Topaz AI.
The Topaz preview is a disaster, for me it always takes 1 second when changing the tab, so you can not compare any settings.

The macro imports each newly created Topaz preview into a new AvsPmod tab with the group 1, this will also open each new file with the current frame number.
Code:
# Name: GetLastTopazPreview.py, v1.9.2, forked from GetLastFileFromDir.py
# Purpose: Finds the last created file (video) with the specified extensions. Search is dir recursive, so searches also subfolders.
#          Change the sourceFilter according to your needs. But 'SourceFile' must be set as path in the source filter.
#          If a file type based template exists and useTemplate is True, the template will be used else the sourceFilter.
#          If you press the CTRL key when starting this macro or the last path does not exist, a settings dialog is displayed.
#          For Topaz:
#               Select the folder where Topaz saves the preview files (for me): ..Temp\AppData\Local\Temp
#               A group (group 1) is added and each new file is added to this group. This will also open each new file with the current frame number.
#               If you press Ctrl and Shift at the same time, all the found files (otherwise always the last one) will be added to a new tab.
#               If addBookmarks = True, the bookmarks from the current script will be added.
#               Add filters:
#                 Everything found after #addFilter in the current script will be added to the new script.
#                 For example, a color and/or a sharpness filter can be applied to all new previews.
GetLastTopazPreview.py

GetLastFileFromDir.py has been updated, multiple file extensions are now possible.
__________________
Live and let live

Last edited by gispos; 9th September 2023 at 14:39. Reason: Update 1.9.2
gispos is offline   Reply With Quote
Old 6th September 2023, 18:45   #1502  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 918
Updated the macro GetLastTopazPreview.py. The group assignment was incorrect.

Last update v1.9.2
Code:
1.8: added filename as Subtitle and improved the read of the current frame number
1.9 add filters:
  Everything found after #addFilter in the current script will be added to the new script.
  For example, a color and/or a sharpness filter can be applied to all new previews.
1.9.2: If addBookmarks = True, the bookmarks from the current script will be added.
__________________
Live and let live

Last edited by gispos; 9th September 2023 at 14:37. Reason: Update to 1.8
gispos is offline   Reply With Quote
Reply

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 02:07.


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