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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th November 2022, 14:35   #2181  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,185
Quote:
Originally Posted by TomArrow View Post
Any clues on the "Device unmatch: ConvertToRGB48[CPU] does not support [CUDA] frame" problem?

Way to reproduce:

1. Get newest AVISynth+ release.

2. Grab CoronaSequence plugin from http://avisynth.nl/index.php/ImageSequence

3. Load image sequence with CoronaSequence command.

4. Add ConvertToRGB64() at the end.
Being a 64 bit plugin from 2010, when no 64 bit Avisynth+ existed, it is pure luck if it works or not. Plus: maybe it is a 2.5-style plugin which can be an additional pain. If so, the plugin must be first recompiled with a 2.6 / Avisynth+ header.
pinterf is offline   Reply With Quote
Old 15th November 2022, 15:17   #2182  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,508
Quote:
Originally Posted by pinterf View Post
Being a 64 bit plugin from 2010, when no 64 bit Avisynth+ existed, it is pure luck if it works or not. Plus: maybe it is a 2.5-style plugin which can be an additional pain. If so, the plugin must be first recompiled with a 2.6 / Avisynth+ header.
It seems Tom is using the Avisynth+ header but with AvisynthPluginInit2: https://github.com/TomArrow/CoronaSe...uence.cpp#L446
Reel.Deel is offline   Reply With Quote
Old 15th November 2022, 15:17   #2183  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,473
Latest ver
https://github.com/TomArrow/CoronaSe...64mod/releases
kedautinh12 is offline   Reply With Quote
Old 15th November 2022, 17:42   #2184  |  Link
TomArrow
Registered User
 
Join Date: Dec 2017
Posts: 90
Quote:
Originally Posted by Reel.Deel View Post
It seems Tom is using the Avisynth+ header but with AvisynthPluginInit2: https://github.com/TomArrow/CoronaSe...uence.cpp#L446
Yeah I think I use the modern SDK.

Is this wrong? Either way I think this CUDA/whatever problem is not intended behavior so a fix would probably be nice to have.

I guess it's possible that the problem is in some of the plugin code elsewhere, like accidentally overwriting some property due to overflow or bad pointer handling, but I wouldn't even know where to start looking since I don't understand the feature. I'm also not the original author of the plugin, I just made changes.
TomArrow is offline   Reply With Quote
Old 15th November 2022, 17:47   #2185  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,508
Quote:
Originally Posted by TomArrow View Post
Yeah I think I use the modern SDK.

Is this wrong?
Probably best to use AvisynthPluginInit3 when using AviSynth 2.6/AviSynth+ headers.

See here: https://github.com/pinterf/TNLMeans/...1556f25441502a
Reel.Deel is offline   Reply With Quote
Old 23rd November 2022, 14:42   #2186  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,473
Quote:
Originally Posted by pinterf View Post
Avisynth 3.7.3 test 2
Avisynth+ 3.7.3 test 2 (20221114)

Code:
20221114 3.7.3 WIP
------------------
- Fix (#304): ColorYUV analyze=true was displaying wrong min-max values for YUY2
- Fix: C API undefined behavior when upstream throw runtime error
- Mute compilation warnings in avisynth.h
- CMakeLists.txt: fix clang-cl/intel with ninja generator
- Fix (#293): "Text" to throw proper error message if the specified font name (e.g. Arial) is not found among internal bitmap fonts.
- Fix (#293): "Subtitle" and "Text" filter to respect the explicitely given coorditanes for y=-1 or x=-1, 
  instead of applying vertical/horizontal center alignment.
- Fix: C interface crash when using avs_new_video_frame_p(_a)
- Fix (#283): broken runtime functions min/max/minmaxdifference when threshold is not 0 (returned -1). Regression in 3.7.2
- New: add a sixth array element to PlaneMinMaxStats: average. Defines variable "PlaneStats_average" as well if setting variables is required.
- Fix (#282): ConvertToRGB
  - do check for exact 8 or 16 bit input, because packed RGB formats exist only for 8 and 16 bits
  - keep alpha for RGBA planar - convert RGBAP8/16 to RGB32/64, while RGBP8/16 is still RGB24/48
Clang build
https://gitlab.com/uvz/AviSynthPlus-Builds
kedautinh12 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 06:53.


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