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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th February 2020, 14:00   #1  |  Link
JackBrody
Registered User
 
Join Date: Feb 2020
Posts: 11
Is there a 64bit version of SubtitleEx?

I have installed Avisynth+ 3.4 along with ffms2.dll (for FFmpegSource2 - I work with AVC MP4 files), VirtualDub and MPC-HC, everything in 64bit on my Windows 7 SP1 x64. All this works smooth.

I'd like to use external filter SubtitleEx but I can only find 32bit library.

Is there a 64bit version available somewhere?

Or am I supposed to get back to 32bit Avisynth and everything?



PS: the same with KenBurnsEffect, only 32bit library available as well...
JackBrody is offline   Reply With Quote
Old 10th February 2020, 16:28   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Most known x64 plugs here on wiki:- http://avisynth.nl/index.php/AviSynth%2B_x64_plugins
Zoom (req for KenBurns thingy) is last in list.

There are a few more x64 archives just below zoom at end of page.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 10th February 2020, 19:32   #3  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
AVISynth 64-bit can't run 32-bit plugins? I never bothered to change to 64-bit (I hesitate to even call it an "upgrade") because I saw zero likelihood of any improvement. However, I'm not in any way berating the OP's decision to do so, and am only wondering if it is really true that when you go to the 64-bit version that you are totally cut off from using any 32-bit plugins.

I assume you can still use Groucho's AVISynth switcher to go back and forth (from 32- to 64-bit) if you can't get 32-bit plugins to work any other way.
johnmeyer is offline   Reply With Quote
Old 10th February 2020, 19:52   #4  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by johnmeyer View Post
AVISynth 64-bit can't run 32-bit plugins?
No, it can't.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 10th February 2020, 20:18   #5  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by Groucho2004 View Post
No, it can't.
Thanks for that clarification.
johnmeyer is offline   Reply With Quote
Old 11th February 2020, 01:32   #6  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by johnmeyer View Post
I assume you can still use Groucho's AVISynth switcher to go back and forth (from 32- to 64-bit) if you can't get 32-bit plugins to work any other way.
32-bit and 64-bit DLLs are installed at the same time (32-bit in SysWow64, 64-bit in System32), there's no need for any switching. Load up the regular 32-bit VirtualDub.exe, it sees the 32-bit version. Load VirtualDub64.exe, it sees the 64-bit.

It's not just a limitation of 64-bit AviSynth+ that it can't load 32-bit stuff.
qyot27 is offline   Reply With Quote
Old 10th February 2020, 19:50   #7  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by JackBrody View Post
I'd like to use external filter SubtitleEx but I can only find 32bit library.

Is there a 64bit version available somewhere?
My search returned nothing. Also, even with the wayback machine, no source to be found (even though the author made it available back in the day).
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 11th February 2020, 00:13   #8  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Quote:
Originally Posted by Groucho2004 View Post
My search returned nothing. Also, even with the wayback machine, no source to be found (even though the author made it available back in the day).
I was also looking for a 64-bit version of this plugin some months ago. The source code for the original SubtitleEX is missing, however, there is source code for the updated SubtitleEx: http://hosiken.jp/dev/win/subtitleex.html

I hope someone can compile a 64-bit version

**Edit**
The author of SubtitleEx (kai) also had similar issues with the source code:
"Based on "SubTitleEx" created by Basilik Tournadski, which was released on a currently closed site called "mVideo Utilities", Japanese characters are garbled. In addition, a function to set the presence / absence of line breaks and line spacing has been added.

The source code of "SubTitleEx" has been released in the past, but it is not available now, and for some reason it is not left in the Internet Archive. Therefore, we created a plug-in with the same function as SubTitleEx based on DVTimeStampEx, a plug-in created by the same author that had the source code left in the Internet Archive, which happened to have the SubTitleEx character display engine."

Last edited by Reel.Deel; 11th February 2020 at 00:21.
Reel.Deel is offline   Reply With Quote
Old 11th February 2020, 01:00   #9  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Reel.Deel View Post
I was also looking for a 64-bit version of this plugin some months ago. The source code for the original SubtitleEX is missing, however, there is source code for the updated SubtitleEx: http://hosiken.jp/dev/win/subtitleex.html

I hope someone can compile a 64-bit version
Good find. Here's a 64 bit test version. It seems to work fine but maybe someone else can give it a whirl.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 12th February 2020, 11:36   #10  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Groucho2004 View Post
Here's a 64 bit test version. It seems to work fine but maybe someone else can give it a whirl.
No feedback from the OP so I guess it's working?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 13th February 2020, 10:17   #11  |  Link
JackBrody
Registered User
 
Join Date: Feb 2020
Posts: 11
Quote:
Originally Posted by Groucho2004 View Post
No feedback from the OP so I guess it's working?
Sorry for not responding, I am finally here.

I gave it a try now. I only see troubles with negative values of x or y (positions on screen). According to the documentation they are supposed to align right, resp. to the bottom.

Try:
Code:
BlankClip().SubtitleEx("First line|Second line|Third line", x = -100, y = -100)
Half of the third line is under the bottom margin of the screen.

JackBrody is offline   Reply With Quote
Old 12th February 2020, 20:19   #12  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Quote:
Originally Posted by Groucho2004 View Post
Good find. Here's a 64 bit test version. It seems to work fine but maybe someone else can give it a whirl.
Thanks, I'll give it a try in the coming days.
Reel.Deel is offline   Reply With Quote
Old 11th February 2020, 01:25   #13  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Presumably someone could, in theory, write some kind of inter-process-communicating gizmo that could feed clips between 64-bit and 32-bit instances of Avisynth? Doesn't something similar already exist for feeding 64-bit applications from 32-bit Avisynth?
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 12th February 2020, 18:49   #14  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by wonkey_monkey View Post
Presumably someone could, in theory, write some kind of inter-process-communicating gizmo that could feed clips between 64-bit and 32-bit instances of Avisynth? Doesn't something similar already exist for feeding 64-bit applications from 32-bit Avisynth?
It already exists. MP_Pipeline: https://forum.doom9.org/showthread.php?t=163281
Stereodude is offline   Reply With Quote
Old 12th February 2020, 19:21   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Stereodude View Post
It already exists. MP_Pipeline: https://forum.doom9.org/showthread.php?t=163281
Yep, thanx, thats what I mean below

Quote:
Also, cant remember what its called, but I think you can run eg 32 bit script from x64 Avs+ using AvsPipeMod [or named something like that, I've never tried it].
EDIT: The binary in MP_Pipeline link is dead, click source link and then Releases for Binary.

Binary link message
Quote:
Fatal Error: ezSQL_mysql requires mySQL Lib to be compiled and or linked in to the PHP engine
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 12th February 2020 at 19:25.
StainlessS is offline   Reply With Quote
Old 11th February 2020, 16:35   #16  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
As Qyot27 said.
Is no prob to have side by side x86 / x64 Avs+, just call the required version of eg VDub2.
PS-Pad [EDIT: A text/script editor], is 32 bit, but can have set up to start 32 bit MPC-HC, or eg 64 bit PotPlayer, it only starts the process with supplied avs filename
and so works with either 32 or 64 bit players.

I had also found SubtitleEx mod with source yesterday but had to go out, I was gonna have a go at compile, but groucho beat me, thanx Grouchy.

Also, cant remember what its called, but I think you can run eg 32 bit script from x64 Avs+ using AvsPipeMod [or named something like that, I've never tried it].
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 11th February 2020 at 16:44.
StainlessS is offline   Reply With Quote
Old 11th February 2020, 18:36   #17  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
I had also found SubtitleEx mod with source yesterday but had to go out, I was gonna have a go at compile
There was some inline ASM in the source which I had to modify for x64. This works fine if you have a Intel C/C++ compiler but MSVC does not support inline ASM in x64. So, without the Intel compiler one would have to re-write that code to plain C/C++ or Intrinsics.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 11th February 2020 at 18:44.
Groucho2004 is offline   Reply With Quote
Old 11th February 2020, 18:40   #18  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Ok, glad I did not have to attempt it, thanx.
TWriteAVI v2.0 has some assembler which I cannot convert to ASM/Intrinsics, I bet you could though [EDIT: Not that much really, think is in about 3 places, one place only a half dozen instructions]

EDIT: Not sure, I think Dogway recently wanted WAV output from Avs [think wanted from avs+ x64, x64 ver$ of TWriteAVI/TWriteWAV would have been able to do this].
SoundOut can output audio from Avs, but WAV file not available till some time later, TWriteWAV can be set to return on completion, so WAV available and usable on function return.

EDIT: TWriteAVI v2.0, https://forum.doom9.org/showthread.p...ight=TWriteAVI

EDIT: The problem ASSY stuff here:- https://forum.doom9.org/showthread.p...47#post1847647
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 11th February 2020 at 19:03.
StainlessS is offline   Reply With Quote
Old 11th February 2020, 21:03   #19  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
TWriteAVI v2.0 has some assembler which I cannot convert to ASM/Intrinsics, I bet you could though
I'll have a look when I have a bit more time.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 11th February 2020, 21:05   #20  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Mucho grouchyass
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Reply


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 09:27.


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