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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th September 2019, 09:44   #1681  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
Quote:
Originally Posted by Sharc View Post
Anyway, my post was not meant as a feature request. If you should however decide to add NVEnc I would be willing to try it with my Pascal GTX 1050Ti which is - unfortunatley - not the most advanced.
OK, I can admit that a fast encoding can be a good thing, even if the quality is a bit less good. But for me, it will be difficult to check the arguments without the possibility to actually launch the encoding. It's my main concern. But if tebasuna51 or you can help me to build and check a few command lines (corresponding roughly to the different encoding methods of x264), and then test them, I can probably add NVEnc in BD3D2MK3D.

Another method would be to just add the possibility to encode with NVEnc, with just the simpler arguments automatically added (such as the --chapter and --key-on-chapter arguments) and a large text field where the user will have to type the other arguments, related to the encoding mode and quality, under his own responsibility. I can add two buttons to save and load these arguments, so that you can easily define several presets. For me, that will be much easier, as I will have nothing to test, and the user will have to do the hard work without any help. And if some of your presets are really good, I can perhaps add them in the BD3D2MK3D code later, as hardcoded presets for the novice users.
Is it OK for you ?
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th September 2019, 09:46   #1682  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
Quote:
Originally Posted by tebasuna51 View Post
Work fine for me.

And yes DGMVCSource seems faster than FRIMSource, with the same sample than before:
Thanks for that confirmations.
Quote:
Originally Posted by tebasuna51 View Post
And AVSVersion32/64.exe are from Groucho2004, not from me.
I know that, but you have pointed me to the right direction.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th September 2019, 10:43   #1683  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
Quote:
Originally Posted by r0lZ View Post
...But if tebasuna51 or you can help me to build and check a few command lines (corresponding roughly to the different encoding methods of x264), and then test them, I can probably add NVEnc in BD3D2MK3D.
My cheap (and silent without fan's) GPU, GeForce GT 1030 can decode but not encode, check here the ability of GPU's to do so, but maybe I can do some test with the GTX 1060 of my son.

Make test and change parameters is very easy editing your __ENCODE_3D.cmd file befor launch __ENCODE_3D_LAUNCHER.cmd, it is not necesary add nothing to BD3D2MK3D.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 9th September 2019, 12:56   #1684  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,477
To do it "right" you would need to check for compatible hardware and its features. Features differ not only by hardware but also by codec. (Not that I suggest it must be done "right". Some basic integration with letting the user handle the rest is fine.)
https://github.com/rigaya/NVEnc/blob...--check-device
https://github.com/rigaya/NVEnc/blob...--check-hw-int
https://github.com/rigaya/NVEnc/blob...k-features-int

For me:
Code:
nvencc64 --check-device
DeviceId #0: GeForce GTX 1660 Ti

nvencc64 --check-hw
NVEncC (x64) 4.45 (r1169) by rigaya, Aug 19 2019 11:47:02 (VC 1916/Win/avx2)
  [NVENC API v9.0, CUDA 10.1]
 reader: raw, avi, avs, vpy, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1,
 MPEG1, MPEG4]
Loaded nvEncodeAPI64.dll.
InitCuda: device #0.

Checking Environment Info...
NVEncC (x64) 4.45 (r1169) by rigaya, Aug 19 2019 11:47:02 (VC 1916/Win/avx2)
OS Version     Windows 7 x64 (7601)
CPU            Intel Core i5-2500K @ 3.30GHz [TB: 3.70GHz] (4C/4T)
GPU            #0: GeForce GTX 1660 Ti (431.60)
NVENC / CUDA   NVENC API 9.0, CUDA 10.1, schedule mode: auto
cuInit: Success.
cuDeviceGetCount: Success.
cuDeviceGet: ID:0.
cuDeviceComputeCapability: Success: 7.5.
NVENC capabilities: OK.
using cuda schedule mode: auto.
cuCtxCreate: Success.
cuCtxPopCurrent: Success.
cuvidInit: Success.
cuvidCtxLockCreate: Success.
InitCuda: Success.
nvEncodeAPICreateInstance(APIVer=0x70020009): Success.
NvEncOpenEncodeSessionEx(device_type=NV_ENC_DEVICE_TYPE_CUDA): Success.
nvEncDestroyEncoder: success.
Closing perf monitor...
Avaliable Codec(s)
H.264/AVC
H.265/HEVC

nvencc64 --check-features
NVEncC (x64) 4.45 (r1169) by rigaya, Aug 19 2019 11:47:02 (VC 1916/Win/avx2)
  [NVENC API v9.0, CUDA 10.1]
 reader: raw, avi, avs, vpy, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1,
 MPEG1, MPEG4]

Environment Info
OS : Windows 7 x64 (7601)
CPU: Intel Core i5-2500K @ 3.30GHz [TB: 3.70GHz] (4C/4T)
RAM: Used 4099 MB, Total 16337 MB
GPU: #0: GeForce GTX 1660 Ti (1536 cores, 1875 MHz)[PCIe2x16][431.60]

List of available features.
Codec: H.264/AVC
Max Bframes               4
B Ref Mode                yes
RC Modes                  63
Field Encoding            no
MonoChrome                no
FMO                       no
Quater-Pel MV             yes
B Direct Mode             yes
CABAC                     yes
Adaptive Transform        yes
Max Temporal Layers       0
Hierarchial P Frames      no
Hierarchial B Frames      no
Max Level                 51
Min Level                 1
4:4:4                     yes
Max Width                 4096
Max Height                4096
Dynamic Resolution Change yes
Dynamic Bitrate Change    yes
Forced constant QP        yes
Dynamic RC Mode Change    no
Subframe Readback         yes
Constrained Encoding      yes
Intra Refresh             yes
Custom VBV Bufsize        yes
Dynamic Slice Mode        yes
Ref Pic Invalidiation     yes
PreProcess                no
Async Encoding            yes
Max MBs                   65536
Lossless                  yes
SAO                       no
Me Only Mode              yes
Lookahead                 yes
AQ (temporal)             yes
Weighted Prediction       yes
Max LTR Frames            8
10bit depth               no

Codec: H.265/HEVC
Max Bframes               5
B Ref Mode                yes
RC Modes                  63
Field Encoding            no
MonoChrome                no
Quater-Pel MV             yes
B Direct Mode             no
Max Temporal Layers       0
Hierarchial P Frames      no
Hierarchial B Frames      no
Max Level                 62
Min Level                 1
4:4:4                     yes
Max Width                 8192
Max Height                8192
Dynamic Resolution Change yes
Dynamic Bitrate Change    yes
Forced constant QP        yes
Dynamic RC Mode Change    no
Subframe Readback         yes
Constrained Encoding      no
Intra Refresh             yes
Custom VBV Bufsize        yes
Dynamic Slice Mode        yes
Ref Pic Invalidiation     yes
PreProcess                no
Async Encoding            yes
Max MBs                   262144
Lossless                  yes
SAO                       yes
Me Only Mode              yes
Lookahead                 yes
AQ (temporal)             yes
Weighted Prediction       yes
Max LTR Frames            7
10bit depth               yes
sneaker_ger is offline   Reply With Quote
Old 9th September 2019, 13:32   #1685  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,491
Quote:
Originally Posted by r0lZ View Post
OK, I can admit that a fast encoding can be a good thing, even if the quality is a bit less good. But for me, it will be difficult to check the arguments without the possibility to actually launch the encoding. It's my main concern. But if tebasuna51 or you can help me to build and check a few command lines (corresponding roughly to the different encoding methods of x264), and then test them, I can probably add NVEnc in BD3D2MK3D.

Another method would be to just add the possibility to encode with NVEnc, with just the simpler arguments automatically added (such as the --chapter and --key-on-chapter arguments) and a large text field where the user will have to type the other arguments, related to the encoding mode and quality, under his own responsibility. I can add two buttons to save and load these arguments, so that you can easily define several presets. For me, that will be much easier, as I will have nothing to test, and the user will have to do the hard work without any help. And if some of your presets are really good, I can perhaps add them in the BD3D2MK3D code later, as hardcoded presets for the novice users.
Is it OK for you ?
Thanks for your goodwill and proposals. It would be certainly OK for me, but unless there is a broader demand don't do anything just for me. I can get along with manual modifications as per tebasuna' hints. I am afraid that you would risk to be flooded with questions from potential users who experience some problems with their HW/GPU or are otherwise dissatisfied. You may not be able to help as you can't replicate the issues with your HW. You may just open a can of worms and you wouldn't do a favour to yourself and to your great software.
Maybe time will tell whether there is a real or broader demand for NVEnc. Thanks again.

Last edited by Sharc; 9th September 2019 at 13:36.
Sharc is offline   Reply With Quote
Old 9th September 2019, 16:06   #1686  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
Using my son PC:

Quote:
nvencC64 --check-features
NVEncC (x64) 4.47 (r1188) by rigaya, Sep 1 2019 06:07:40 (VC 1916/Win/avx2)
[NVENC API v9.0, CUDA 10.1]
reader: raw, avi, avs, vpy, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4]

Environment Info
OS : Windows 10 x64 (18362)
CPU: Intel Core i5-6400 @ 2.70GHz [TB: 3.09GHz] (4C/4T)
RAM: Used 2459 MB, Total 8119 MB
GPU: #0: GeForce GTX 1060 6GB (1280 cores, 1784 MHz)[PCIe3x16][436.15]

List of available features.
Codec: H.264/AVC
Max Bframes 4
B Ref Mode yes
RC Modes 63
...
10bit depth no

Codec: H.265/HEVC
Max Bframes 0
B Ref Mode no
...
10bit depth yes
Encoding the same sample:

Quote:
"NVEncC64.exe" --output-depth 8 --vbrhq 0 --vbr-quality 23 --preset quality --bframes 3 --ref 3 --bref-mode each --lookahead 32 --weightp --aq --direct spatial --sar 1:1 --colormatrix bt709 --chapter chapters_3D_delay.ogm.txt --key-on-chapter --fps 24000/1001 -i "__ENCODE_3D_MOVIE.avs" -o "00009_3D.264"
weighted prediction with B frames unsupported.
NVEncC (x64) 4.47 (r1188) by rigaya, Sep 1 2019 06:07:40 (VC 1916/Win/avx2)
OS Version Windows 10 x64 (18362)
CPU Intel Core i5-6400 @ 2.70GHz [TB: 3.29GHz] (4C/4T)
GPU #0: GeForce GTX 1060 6GB (1280 cores, 1784 MHz)[PCIe3x16][436.15]
NVENC / CUDA NVENC API 9.0, CUDA 10.1, schedule mode: auto
Input Buffers CUDA, 44 frames
Input Info Avisynth+ 2.60(yv12)->nv12 [AVX2], 1920x1080, 24000/1001 fps
Vpp Filters copyHtoD
Output Info H.264/AVC high @ Level auto
1920x1080p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control VBRHQ
Bitrate 0 kbps (Max: 24000 kbps)
Target Quality 23.00
Initial QP I:20 P:23 B:25
VBV buf size auto
Lookahead on, 32 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 3 frames [ref mode: each]
Ref frames 3 frames, LTR: off
AQ on(spatial, strength auto)
Others mv:auto cabac deblock adapt-transform:auto bdirect:spatial
encoded 158712 frames, 71.31 fps, 8429.56 kbps, 6651.93 MB
encode time 0:37:05, CPU: 60.5%, GPU: 5.9%, VE: 24.6%, GPUClock: 1674MHz, VEClock: 1505MHz
frame type IDR 671
frame type I 671, total size 110.00 MB
frame type P 42468, total size 3410.40 MB
frame type B 115573, total size 3131.54 MB

Encoding finished 09/09/2019 15:25:54,18 -> 37:08,76
Of course is fast but not to much with parameters like x264 defaults
(with x264 default weightp is mode 2 and lookahead 40).

But the bitrate obtained is near double, maybe the crf equivalence is not the same number.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 9th September 2019, 16:57   #1687  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,491
Quote:
Originally Posted by tebasuna51 View Post

Of course is fast but not to much with parameters like x264 defaults
(with x264 default weightp is mode 2 and lookahead 40).

But the bitrate obtained is near double, maybe the crf equivalence is not the same number.
Hmmm, I guess that the encoding speed is probably reduced (halved) by the resizing script (for 3D SBS arrangement).
I think the CRF equivalence is not the same. One has to experiment. How does your NVEncC encode look visually compared with CPU x264?
Sharc is offline   Reply With Quote
Old 11th September 2019, 08:39   #1688  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
OK, since v1.12beta2 seems to work fine, here is the official release of v1.12.

Nothing has changed, except the version number, the URL to AviSynth+, and a small change in the dialog about the avs2yuv version (to take Avisynth 64-bit into account).
Quote:
v1.12beta2 (September 5, 2019)
- Support for AviSynth+ 32 and 64-bit. It is strongly recommended to install AviSynth+ 64-bit !
- Added the 64-bit version of the AviSynth filters necessary for the conversion to 3D (in toolset\plugins64bit)
- Replaced the old VSFilter 32-bit avisynth plugin with the new and much faster version from the xy-VSFilter Project
- DGMVCSource is now the default MVC decoder again because its 64-bit version is faster than FRIMSource
- Replaced Avs2YUV 0.24 (32-bit) with Avs2YUV 0.24bm2, and added Avs2YUV 64-bit 0.24bm2 (necessary to use AviSynth+ 64-bit with x265 64-bit)
- The Avisynth version is now detected with AVSVersion32/64.exe (Thanks tebasuna51!) and the Help -> Avisynth Version menu has been redesigned.

v1.12 (September 11, 2019)
- Changed the URL to the AviSynth+ download location to https://github.com/pinterf/AviSynthPlus/releases
Download: BD3D2MK3D.7z
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 11th September 2019, 10:40   #1689  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
Thanks r0lZ for the new final version.

About NVEnc I think than advanced users with powerfull GPU's can make tests for fastest encodes, but this thread in not the place to compare encoders.
Also x264/x265 can be tunned with many parameters to obtain more quality or fast encodes at user taste.

@Sharc
I don't see better quality (maybe there are some) with the NVEncC encode at double bitrate, BD3D2MK3D need the avs like this and maybe is not the recommended to compare encoders.

In my test with GTX 1060 6GB (275 € now in Amazon) the GPU usage was 25% and CPU 75%, maybe can be improved. But can't encode to HEVC with B frames (the GTX 1660 Ti from sneaker_ger can do it). I think than we need know the GPU to make the specific command line.

Maybe with a GeForce RTX 2080 Ti FTW3 (1400 €) a user want a return on their investment and use it to encode.
With my GT 1030 (70 €) I need use x264/x265.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.

Last edited by tebasuna51; 11th September 2019 at 11:13. Reason: Add info
tebasuna51 is offline   Reply With Quote
Old 11th September 2019, 11:21   #1690  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
Quote:
Originally Posted by tebasuna51 View Post
Thanks r0lZ for the new final version.

About NVEnc I think than advanced users with powerfull GPU's can make tests for fastest encodes, but this thread in not the place to compare encoders.
Completely agree. I don't want to spend much time in testing various encoders. It's why I prefer to just add a way for the user to use any other encoder, without limitation. He will be alone for testing it, and I will have nothing to check or debug, except perhaps fix a bug in my code. And this thread will still be devoted to BD3D2MK3D only.

And thanks for the thanks. ;-)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 16th September 2019, 11:26   #1691  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
BD3D2MK3D v1.13

As promised, here is BD3D2MK3D with the possibility to use any encoder, by providing yourself the command line to use. This feature should be used only if you know what you are doing. Novice users should continue to encode with x264 (or x265).

Use this possibility at your own risk. BD3D2MK3D simply copies the command YOU have defined to the encoding script (after having substituted some variables). It is therefore not responsible if something goes wrong. I will NOT provide any help for your custom command lines. If necessary, contact the support of your encoder.

Also, do NOT use this thread to post your custom commands, working or not. If you want to exchange your commands with other peoples, open a new thread, and if necessary, post a link here. Thanks !

Of course, I will fix any bug related to the custom encoder, if it is dependent of my code, but don't expect more.
Quote:
v1.13 (September 16, 2019)
- Added the possibility to encode the 3D movie with any encoder by providing yourself the command line to use.
Download: BD3D2MK3D.7z
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 26th September 2019, 19:26   #1692  |  Link
bottom
Registered User
 
Join Date: Nov 2014
Posts: 7
Quote:
I would appreciate if someone can test this version before installing Avisynth+ , to check if I have not broken the support for the classic Avisynth 2.6.
Yep, seems to be broken:

Was using BD3D2MK3D from v0.7* till v1.11 without any issues;
after updating to latest v1.13 the 3D encoding script fails
because Avisynth was "not found" ...

=> I'm on Win10, 64bit, but have only installed Avisynth "classic" so far


ps
Does anyone know a Howto article
for the manual installation of Avisynth+?
(The executable installers tend to simply ignore and override any existing installations/settings)
bottom is offline   Reply With Quote
Old 27th September 2019, 00:06   #1693  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
@bottom

The message: Avisynth was "not found" ... was before install Avisynth+?

Please run AVSMeter avsinfo and put the output.

About manual installation of AviSynth read Universal Avisynth Installer
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 27th September 2019, 07:07   #1694  |  Link
bottom
Registered User
 
Join Date: Nov 2014
Posts: 7
@tebasuna51

just did what r0lZ asked for:
I've tried to use the new BD3D2MK3D version before installing Avisynth+

(The classic Avisynth is (still) properly installed
and BD3D2MK3D v1.11 working fine with it)
bottom is offline   Reply With Quote
Old 27th September 2019, 09:02   #1695  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
Indeed, the new version uses AVSVersion32.exe to check if avisynth 32-bit is installed. Previously, BD3D2MK3D did only a basic check to see if AviSynth.dll is present in the system32 or SysWOW64 directory. So, if the current check fails, it's probably due to a limitation or bug in AVSVersion32. It is used also by the About -> AviSynth Version menu to show the version number of the installed 32 and 64-bit AviSynth.

Can you open a Command Prompt window and launch AVSVersion32.exe, located in the BD3D2MK3D\toolset folder (you can simply drag and drop it from the BD3D2MK3D\toolset folder over the Command Prompt window and hit Enter). Then, copy and paste here the output of the command. Also, can you tell me if you have installed AviSynth classic with its installer, or manually ? In the second case, it is possible that it's the cause of the problem. Thanks!

In the meantime, I will uninstall AviSynth+ and re-install the classic version, to see if I can reproduce the problem.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 27th September 2019, 09:09   #1696  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
Quote:
Originally Posted by bottom View Post
ps
Does anyone know a Howto article
for the manual installation of Avisynth+?
(The executable installers tend to simply ignore and override any existing installations/settings)
IIRC, when you install it, the installer offers to select only one of the two versions (32 or 64-bit). I suppose that if you select only the 64-bit version, it will leave the classic version untouched.

It is not possible to install two different versions at the same time for the same CPU (32/64-bit), but if you want to be able to return easily to the clessic version AND you want to check also the 32-bit avisynth+, use the universal installer, as suggested by tebasuna51. (Honestly, I have not used it myself, so I can't guarantee that it works well.)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 27th September 2019, 10:10   #1697  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,308
OK, I did some tests.

There was a little bug in my code, but that bug should not have any impact, except on some warning messages. When the 32 or 64-bit version of AviSynth is not installed, the message in the About -> AviSynth Version dialog was wrong. Instead of "AviSynth **-bit is not installed", the message was "This version of AviSynth **-bit is not supported by BD3D2MK3D. Use it at your own risk." And I suppose (but I have not tested) that the first warning dialog appearing on startup when no AviSynth at all is found was not shown. But anyway, that bug is not related to the problem you have reported. In the worst case, it was possible to generate a project without knowing that it cannot be launched. Of course, I have fixed that bug, but I don't think I'll release a new version just for that little problem. (The dialogs below have been generated after the bug fix.)

That being said, here is a description of my tests.

I have first uninstalled AviSynth+. The uninstaller has correctly restored my old AviSynth classic, and it has been correctly recognized by BD3D2MK3D.

Then, I have uninstalled AviSynth classic. No problem, but of course, BD3D2MK3D cannot work. However, the dialog telling that AviSynth is required was not shown at startup, due to the bug explained above.

Finally, I have re-installed the classic version. There is now only a warning in the status bar and the log window explaining that AviSynth+ 64-bit is recommended on a 64-bit system. And the About -> AviSynth Version menu shows this:
Quote:
---------------------------
BD3D2MK3D
---------------------------
AviSynth 32 Bit: AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
This is the last stable version of the "classic" AviSynth, not developed any more.
There is nothing to update.

AviSynth 64 Bit: n/a
AviSynth 64-bit is not installed.

Please note that AviSynth+ 64-bit is much faster than the currently installed version of AviSynth 32-bit. It is strongly recommended to install at least the 64-bit version of AviSynth+.

Visit download pages for AviSynth classic and AviSynth+ ?
---------------------------
Yes No
---------------------------
So, it seems that AVSVersion32.exe does its job correctly, and if it doesn't recognise your installation, it's probably because it has been installed manually and that something is missing or wrong. I suggest to re-install AviSynth classic with its installer, and everything should be fine.

Finally, I have installed AviSynth+ 64-bit ONLY, and as I suspected, the classic installation has not been modified:
Quote:
---------------------------
BD3D2MK3D
---------------------------
AviSynth 32 Bit: AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
This is the last stable version of the "classic" AviSynth, not developed any more.
There is nothing to update.

AviSynth 64 Bit: AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)
AviSynth+ 64-bit is supported by BD3D2MK3D.

Visit download pages for AviSynth classic and AviSynth+ ?
---------------------------
Yes No
---------------------------
So, it seems that everything works fine. Please let me know if you find the origin of the problem. Perhaps your classic AviSynth.dll is not in Windows\SysWOW64 (where it should be installed on a 64-bit system) ?
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 27th September 2019, 13:32   #1698  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
Quote:
Originally Posted by r0lZ View Post
There was a little bug in my code, but that bug should not have any impact, except on some warning messages.
Confirmed but without operative problems.

Quote:
So, it seems that AVSVersion32.exe does its job correctly, and if it doesn't recognise your installation, it's probably because it has been installed manually and that something is missing or wrong.
Yes, for that I request AVSMeter avsinfo, than can detect installation problems.

Install AviSynth (on W 64 bits) manually have two passes:

1) Copy avisynth.dll (and devil.dll) in the appropiate system folder
- the 64 bit version in %WINDIR%\System32
- the 32 bit version in %WINDIR%\SysWow64

2) Add/modify some windows registry keys.
to see the detail please read setavs.bat from Universal Avisynth Installer

If you run setavs.bat the installed versions are show and eleven options are presented. Here are the options and the AvsInfo32/64 output after executed each option:

Code:
Installed Avisynth version(s):

32 Bit:  AviSynth+ 0.1 (r2772, MT, i386) (0.1.0.0)
64 Bit:  AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)

Select the Avisynth version you want to install (or uninstall):
setavs options                                           AVSVersion32/64 output
-------------------------------------------------------- ------------------------------------------------------------------------
1 = Avisynth     2.5.8 (official release)                32 Bit:  Avisynth 2.5.8.5
2 = Avisynth     2.6.0 (official release)                32 Bit:  AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
3 = Avisynth     2.6.0 (built with Intel C/C++ compiler) 32 Bit:  AviSynth 2.60 (ICL10) (2.6.0.6)
4 = Avisynth     2.6.1 (Alpha)                           32 Bit:  AviSynth 2.61, build:May 17 2016 [16:06:18] VC2008Exp (2.6.1.0)
5 = Avisynth     2.6.0 (SEt's multi-threaded build)      32 Bit:  AviSynth 2.60, build:Feb 20 2015 [03:16:45] (2.6.0.5)
6 = Avisynth+    0.1.0 (x86, r2772)                      32 Bit:  AviSynth+ 0.1 (r2772, MT, i386) (0.1.0.0)
7 = Avisynth+    0.1.0 (x64, r2772)                      64 Bit:  AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)
8 = Avisynth Neo 0.1.0 (x86, r2822)                      32 Bit:  AviSynth Neo 0.1 (r2822, Neo, i386) (0.1.0.0)
9 = Avisynth Neo 0.1.0 (x64, r2822)                      64 Bit:  AviSynth Neo 0.1 (r2822, Neo, x86_64) (0.1.0.0)

10 = Uninstall Avisynth x86                              32 Bit:  n/a
11 = Uninstall Avisynth x64                              64 Bit:  n/a
All versions must run with BD3D2MK3D.

Note: the setavs.bat from Universal Avisynth Installer must be configured to define the autoload plugin directory of each version, but is not important for BD3D2MK3D because all plugins are loaded explicitely.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.

Last edited by tebasuna51; 27th September 2019 at 13:35.
tebasuna51 is offline   Reply With Quote
Old 27th September 2019, 17:13   #1699  |  Link
bottom
Registered User
 
Join Date: Nov 2014
Posts: 7
Thanks for the elaborate replies and the tips for AvisynthPlus!!!

Really don't want to complain, just wanted to inform about my experience …

Thus here is (hopefully) all the info you have requested (and more):

• First of all sorry, the orginal error I got is:
Code:
(...)
      avs [error]: failed to load avisynth
      x264 [error]: could not open input file `__ENCODE_3D_MOVIE.avs'
• Here's the AVS-script created by BD3D2MK3D v1.13, which is mentioned in the error above, maybe it's helpful:
Code:
(...)
      #LoadPlugin("F:\Video\BD3D2MK3D\toolset\plugins64bit\FRIMSource.dll")
      LoadPlugin("F:\Video\BD3D2MK3D\toolset\plugins64bit\DGMVCDecode.dll")
      
      ##LoadPlugin(F:\Video\BD3D2MK3D\toolset\plugins64bit\VSFilter.dll")
      #LoadPlugin("F:\Video\BD3D2MK3D\toolset\plugins64bit\SupTitle.dll")
      
      # Load the two video streams (197643 frames per stream)
      #interleaved = FRIMSource("mvc", "00053.track_4113.264", "00053.track_4114.mvc", layout = "alt", num_frames = 197643, cache = 2, platform = "sw")
      interleaved = DGMVCSource("00053.track_4113.264", "00053.track_4114.mvc", view = 0, frames = 197643, mode = "sw")
      # Current base view: left eye.
      # The views are in the common order: AVC stream = left view, MVC stream = right view.
      left  = SelectEven(interleaved)
      right = SelectOdd(interleaved)
      
      # Build Side-by-Side stream
      StackHorizontal(HorizontalReduceBy2(Left), HorizontalReduceBy2(Right))
      AssumeFPS("ntsc_film")
      
      # Hardcode subtitles
      ##VobSub(".sub")
      #SupTitle(".sup")
      
      # Return the 3D clip.
      Return(last)#.Info()
• The Avisynth info dialog of BD3D2MK3D v1.13 showed up exactly as r0lZ has noted. The version shown is the same as displayed by AVSVersion32 ...

• Here's the output of „AVSVersion32“:
Code:
      C:\Windows\System32>F:\Video\BD3D2MK3D\toolset\AVSVersion32.exe
      32 Bit:  AviSynth 2.60, build:Sep 18 2013 [17:36:36] (2.6.0.4)
• My old Avisynth 2.6.0 was (I think) installed „manually“, which means:
Both a pre-build batch- and reg-file were executed
for which only the directory of the DLLs had to be entered manually …
(Maybe there was something wrong or missing with this process,
but didn't have any problems until v1.13.)


Give me a note if you want further details ...
... or otherwise just tell me to install Avisynth+

bottom is offline   Reply With Quote
Old 28th September 2019, 10:21   #1700  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,614
Quote:
Originally Posted by bottom View Post
Thanks for the elaborate replies and the tips for AvisynthPlus!!!
My replies and soft recommended are valid for all AviSynth versions, not only Avs+

Quote:
...
LoadPlugin("F:\Video\BD3D2MK3D\toolset\plugins64bit\DGMVCDecode.dll")
...
BD3D2MK3D think than you have a Avisynth 64 bits installed.

It's a bug, because BD3D2MK3D 1.13 make a .avs for 64 bits when Avs+64 is not installed.

I can reproduce the bug, with:
Quote:
32 Bit: AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
64 Bit: n/a
BD3D2MK3D 1.13 make a .avs loading plugins from plugins64bit folder and
a __ENCODE_3D.cmd with directly x264_x64.exe
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.

Last edited by tebasuna51; 28th September 2019 at 10:29.
tebasuna51 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 17:34.


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