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. |
|
|
Thread Tools | Search this Thread | Display Modes |
9th September 2019, 09:44 | #1681 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
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 |
|
9th September 2019, 09:46 | #1682 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
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 |
|
9th September 2019, 10:43 | #1683 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
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. |
|
9th September 2019, 12:56 | #1684 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
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 |
9th September 2019, 13:32 | #1685 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
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. |
|
9th September 2019, 16:06 | #1686 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Using my son PC:
Quote:
Quote:
(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. |
||
9th September 2019, 16:57 | #1687 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
I think the CRF equivalence is not the same. One has to experiment. How does your NVEncC encode look visually compared with CPU x264? |
|
11th September 2019, 08:39 | #1688 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
11th September 2019, 10:40 | #1689 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
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. Last edited by tebasuna51; 11th September 2019 at 11:13. Reason: Add info |
11th September 2019, 11:21 | #1690 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
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 |
|
16th September 2019, 11:26 | #1691 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
26th September 2019, 19:26 | #1692 | Link | |
Registered User
Join Date: Nov 2014
Posts: 7
|
Quote:
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) |
|
27th September 2019, 00:06 | #1693 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
@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. |
27th September 2019, 09:02 | #1695 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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 |
27th September 2019, 09:09 | #1696 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
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 |
|
27th September 2019, 10:10 | #1697 | Link | ||
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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:
Finally, I have installed AviSynth+ 64-bit ONLY, and as I suspected, the classic installation has not been modified: Quote:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
||
27th September 2019, 13:32 | #1698 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Quote:
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 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. Last edited by tebasuna51; 27th September 2019 at 13:35. |
||
27th September 2019, 17:13 | #1699 | Link |
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' 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() • 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) 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+ |
28th September 2019, 10:21 | #1700 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Quote:
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:
a __ENCODE_3D.cmd with directly x264_x64.exe
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 28th September 2019 at 10:29. |
|||
|
|