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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th October 2025, 19:02   #1801  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
Quote:
Originally Posted by LigH View Post
"Special" colour spaces, I see ...

So, in your opinion, would adding the native AviSynth+ API to the A/A-id be "close to impossible"?
What is "A/A-id", "C-id"?
rgr is offline   Reply With Quote
Old 6th October 2025, 19:36   #1802  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
What do we talk about for days now?

"A/A-id" = "AVIFile/Avisynth input driver"
"C-id" = "Caching input driver"
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th October 2025, 13:19   #1803  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
Quote:
Originally Posted by LigH View Post
Still, I wonder if there is any reason to use the C-id for AVS, at least a theoretical advantage of additional information useful in any workflow inside VD2
??? This is the MAIN advantage.
rgr is offline   Reply With Quote
Old 7th October 2025, 13:37   #1804  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
Well, rgr, right now the problem is that I need to decide between two problems:

a) I open the AVS file with the "AVIFile/Avisynth input driver": Then I can edit the script in the internal script editor, save the changes, reload it and see the changes in the main video window of VirtualDub2; but it doesn't work with "advanced" colour spaces only supported by FFmpeg, but not by AVIFile functions.

b) I open the AVS file with the "Caching input driver": Then I may be able to see the video in the "advanced" colour spaces; but I can't save changes I made in the internal script editor. I would have to close the video in VirtualDub2, edit the script in an external text editor, and then open the edited script in VirtualDub2 again. Is that convenient in your opinion?

I guess an optimal solution would be if the "AVIFile/Avisynth input driver" would not rely on AVIFile functions only but add AviSynth+ native functions in case an AVS file is opened; but that requires a developer with both remarkable competence and enough spare time.


It might even be useful to add VapourSynth to support VPY files, along with Python based syntax highlighting in the internal script editor. But I fear no hobby developer would take such a Sisyphus burden...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th October 2025, 19:27   #1805  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
No, that's not convenient. Interestingly, ffmpeg.exe itself doesn't block editing of such an AVS file -- you can modify it and, for example, start a different conversion.
rgr is offline   Reply With Quote
Old 7th October 2025, 23:16   #1806  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
Quote:
Originally Posted by LigH View Post
b) I open the AVS file with the "Caching input driver": Then I may be able to see the video in the "advanced" colour spaces; but I can't save changes I made in the internal script editor. I would have to close the video in VirtualDub2, edit the script in an external text editor, and then open the edited script in VirtualDub2 again. Is that convenient in your opinion?
You didn't check well. You can make changes in an external editor and then refresh VDub with F2 (Reload). But I noticed a downside to using "Caching..." - in the event of an error in the script, VDub only returns "FFMpeg - unable to load."
rgr is offline   Reply With Quote
Old 8th October 2025, 04:58   #1807  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,397
Thanks for the tip. It was a scripted.vdplugin issue; it couldn't write to files that another application had open for reading. Fixed.
v0lt is offline   Reply With Quote
Old 8th October 2025, 09:18   #1808  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
Just what I hoped that might help: Windows file sharing flags. Glad we shared our ideas.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th October 2025, 09:36   #1809  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
Another inconvenience that's always been there comes to mind.
If the program (plugin) crashes, the output file is still held and can't be deleted. I found that it's held by the "dllhost.exe" library, which remains in memory. After killing it, the file can be deleted.
Is there a way to make this library also be killed in the event of a crash? I'm guessing it's something related to the plugin or encoder?
rgr is offline   Reply With Quote
Old 8th October 2025, 09:56   #1810  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
That can be tricky, there may be multiple instances used by different applications... and once a process crashed, it may not have much control anymore (except for the crash reporter).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th October 2025, 17:06   #1811  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,397
Test build VirtualDub2 v2.4.2.935
Updated scripted_vdplugin 0.2.3.106
- Settings are now saved in HKEY_CURRENT_USER\SOFTWARE\VirtualDub2\Script Editor.
- Implemented the ability to save scripts opened in other programs with read access.
v0lt is offline   Reply With Quote
Old 8th October 2025, 17:21   #1812  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
Works for me.





__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th October 2025, 17:48   #1813  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 299
Quote:
Originally Posted by v0lt View Post
- Implemented the ability to save scripts opened in other programs with read access.
Great! Is the error message in the script still so laconic?
rgr is offline   Reply With Quote
Old 8th October 2025, 22:04   #1814  |  Link
coolgit
Registered User
 
Join Date: Apr 2019
Posts: 272
2.4.2.934/5

caching input driver not working... greyed out.
coolgit is offline   Reply With Quote
Old 8th October 2025, 22:31   #1815  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
Strange. Do you possibly have ancient hardware not supporting CPU instructions required by ffmpeg 8.0 or something similar?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 9th October 2025, 16:36   #1816  |  Link
coolgit
Registered User
 
Join Date: Apr 2019
Posts: 272
Windows 7 yes. However windows 7 worked if user use kusaanko ffmpeg.

Last known working version is VirtualDub2_v2.4.0.891, anything above that doesn't work.

So what changed?
coolgit is offline   Reply With Quote
Old 9th October 2025, 17:46   #1817  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
One possible reason: The libav version changed between r917 and r918.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 9th October 2025, 18:15   #1818  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,397
On Windows 7, you can use the win32 version.
You must install the Microsoft Visual C++ Redistributable packages for Visual Studio 2015-2022 or the Update for Universal C Runtime in Windows.

FFmpeg 8.0 x64 for Windows 7 doesn't seem to exist. However, you can try alternative methods.

Last edited by v0lt; 9th October 2025 at 18:21.
v0lt is offline   Reply With Quote
Old 9th October 2025, 18:25   #1819  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,397
Test build VirtualDub2 v2.4.2.936
Updated avlib_vdplugin 1.0.2.407.
- Added display of FFmpeg error text when attempting to open a file fails.
Updated scripted_vdplugin 0.3.0.112
- Fixed the display of error text when opening an AviSynth script file fails.
v0lt is offline   Reply With Quote
Old 9th October 2025, 18:35   #1820  |  Link
coolgit
Registered User
 
Join Date: Apr 2019
Posts: 272
Where is v2.4.0.894 file?
coolgit 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 05:40.


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