Log in

View Full Version : BD3D2MK3D v1.36: Convert 3D BDs or MKV to 3D SBS, TAB or FS MKV - Support thread


Pages : 1 2 [3] 4 5 6

r0lZ
2nd October 2022, 11:03
Now BD3D2MK3D sometimes detects the "forced" subs correctly and marks them correctly in the stream selection, sometimes it does not. How come?AFAIK, there is no "forced" flag in a 3DBD. BD3D2MK3D has been made to process only 3DBD. The possibility to process also MakeMKV files has been added later, but without full support for all features present in MKV files. (BTW, retrieving the forced and default flags from the MKV to automatically tick the corresponding options in tab 2 is on my todo list, but I don't think I'll implement that soon. Sorry.)

MakeMKV doesn’t show (or save) any 3D-Plane info.
As von Suppé wrote, when the 3D-Plane info is missing, it's usually because there are no 3D-Planes in the badly authored 3DBD. It's very often the case with Asian or Russian BDs. There is nothing MakeMKV or BD3D2MK3D can do.

How can I easily determine on which plane they should go? And possibly store that info in my original MKV file for later conversions?
Again, von Suppé is right. If there are really correctly made 3D-Planes in the MVC stream and only the assignments of the subtitle streams to the correct 3D-Planes are missing, you can try to do the job manually.
How would I do that? Process the file using "plane 0" until just before it starts encoding? And then do what
Basically, yes. Just let BD3D2MK3D do its work. When it's finished, have a look at the 3D-Planes.log. You should see something similar to this:

[...]
Plane #00 :
Minimum depth : 5
Maximum depth : 5
Average depth : 5
First frame with a defined depth : 0
Last frame with a defined depth : 141767
Number of frames with undefined depth : 0
Identical planes : None
Warning: This plane has a fixed depth of 5

Plane #01 :
Minimum depth : 0
Maximum depth : 5
Average depth : 5
First frame with a defined depth : 0
Last frame with a defined depth : 87064
Number of frames with undefined depth : 54703
Identical planes : None

Empty 3D-Plane #02 removed
Empty 3D-Plane #03 removed
[...]

This is a good example of really bad 3D-Planes. As you can see, all values of plane 0 are identical. Therefore, it's a "flat 3D-Plane", with just a fixed depth that will detach all subtitles from the surface of the screen. Not very interesting, but better than absolutely nothing.

Plane 1 is not better, as obviously it has also a fixed depth of 5, but also a large number of undefined values (that, when they correspond to a specific subtitle, BD3D2KM3D will consider as being 0, "on the surface of the screen").

Obviously, with so bad 3D-Planes, you cannot expect a good 3D placement of your subtitles. Note also that many bad BDs have no 3D-Planes at all !

But you can also be more lucky, and have at least one 3D-Plane with meaningful values. In that case, it is usually correctly assigned to the subtitle stream, but not always (especially with many "remux" ISO found on the internet).

When there are several correct 3D-Planes, you can use Subtitle Tools -> Verify 3D-planes compatibility. It's a simple tool that will verify if there are depth values in the 3D-plane for all subtitles of the subtitle stream, and display some statistics. You can therefore try to determine what 3D-Plane is best suited for your stream. But it's not magic. The tool is unable to verify if a specific subtitle depth is OK to display it correctly in 3D. It just verifies if there IS a depth, not its quality !

Anyway, if you have found a theoretically good 3D-Plane for your stream, you can now convert the stream using that 3D-Plane with Subtitle Tools -> Convert Subtitles to 3D. Note that you can also specify an additional depth (added to the depth from the 3D-Plane) to fine-tune the result. I recommend to rename the original 3D PGS converted by BD3D2MK3D (with the extension .3D.sup) and save the new one under its original filename. That way, your new subtitle will be used instead of the original one. (But if you prefer, you can also edit the __MUX_3D_OPTIONS.json file to specify the new file name.) Then, launch the encoding normally.

Note also that if you don't want to hardcode the subtitle to the video, it is not necessary to re-encode the whole MKV to try another 3D-Plane.
You can simply re-generate the 3D subtitle stream with another 3D-Plane and/or additional depth, and remux the final MKV by double-clicking __MUX_3D.cmd. That way, you can quickly do several tests if you are not happy with the first try.

Anyway, don't expect miracles. When a BD is badly authored, it is usually difficult, if not impossible, to obtain a 3D MKV with perfect 3D subtitles.

Moonbase
2nd October 2022, 12:30
BTW, retrieving the forced and default flags from the MKV to automatically tick the corresponding options in tab 2 is on my todo list, but I don't think I'll implement that soon. Sorry.
Great news! I was somehow assuming you already did that, but maybe it was on an ISO rip I saw it, after all. Will wait patiently for this feature to arrive—it’d be a great timesaver if you’re going to convert all your 3D MVC MKV rips to HTAB for a "dumb" player like the FireTV 4K stick. Like I currently do.


[…]when the 3D-Plane info is missing, it's usually because there are no 3D-Planes in the badly authored 3DBD. It's very often the case with Asian or Russian BDs.[…]
Seems the Swiss aren’t much better, sometimes. The MKV MVC rip I used was made by myself, from the original "Cargo 3D" Blu-Ray I own: R2, by Atlantis Films/Elite Film AG, EAN 7613059301108 (just in case someone has it).

[…]All the rest[…]
Love the possibility of remuxing without reencoding the whole movie!

I’ll go and try your suggestions—thanks for taking the time and writing this detailed explanation! Much appreciated. And thanks @von Suppé, too.

Moonbase
2nd October 2022, 12:46
Turns out all 3D planes are empty. Can I still expect BD3D2MK3D to render the subtitles for HTAB correctly, be it even at depth 0 (screen surface)? (Better "plain" subtitles than none, I should think…)

Log file:

Extracting 3D-planes from MVC file with BD3D2MK3D v1.28 (c) r0lZ and OFSExtractor 1.1-beta2 32bit by TheGreatMcPain (aka Sixsupersonic on doom9)
Input MVC file: "MKV3D.track_1.mvc"
Output folder: "."
Command: "C:\BD3D2MK3D-v1.28\toolset\OFSExtractor32.exe" "MKV3D.track_1.mvc" "."

OFSExtractor 1.1-beta2 32bit by TheGreatMcPain (aka Sixsupersonic on doom9)
Last git commit was on .

Searching file for 3D-Planes.


Checking 3D-Planes for valid depth values.

3D-Plane #00 is empty.

3D-Plane #01 is empty.

3D-Plane #02 is empty.

3D-Plane #03 is empty.

3D-Plane #04 is empty.

3D-Plane #05 is empty.

3D-Plane #06 is empty.

3D-Plane #07 is empty.

3D-Plane #08 is empty.

3D-Plane #09 is empty.

3D-Plane #10 is empty.

3D-Plane #11 is empty.

3D-Plane #12 is empty.

3D-Plane #13 is empty.

3D-Plane #14 is empty.

3D-Plane #15 is empty.

3D-Plane #16 is empty.

3D-Plane #17 is empty.

3D-Plane #18 is empty.

3D-Plane #19 is empty.

3D-Plane #20 is empty.

3D-Plane #21 is empty.

3D-Plane #22 is empty.

3D-Plane #23 is empty.

3D-Plane #24 is empty.

3D-Plane #25 is empty.

3D-Plane #26 is empty.

3D-Plane #27 is empty.

3D-Plane #28 is empty.

3D-Plane #29 is empty.

3D-Plane #30 is empty.

3D-Plane #31 is empty.

Number of 3D-Planes in MVC stream: 32
Number of 3D-Planes written: 0
Number of frames: 160826
Framerate: 23.976


Extraction took 59 seconds (00:00:59)
Extracted 0 3D-planes with 160826 frames @ 23.976 fps.

Please note that the 3D depth values stored in the 3D-planes must be applied to the two views.
The total displacement between the two subtitles is therefore two times the depth value.
For that reason, BD3D2MK3D uses internally depths value multiplied by 2.
This allows the user to specify manually more precide odd values for the total displacement of the two subtitles.
The values stored in the <depth> tags of the temp 2D XML files are also multiplied by 2, for the same reason.

Source subtitle streams information:
- Eng PGS, 3D-plane: ? (3D-Plane manually assigned: 0)
- Fre PGS, 3D-plane: ? (3D-Plane manually assigned: 0)
- Spa PGS, 3D-plane: ? (3D-Plane manually assigned: 0)

von Suppé
2nd October 2022, 16:02
Yes, I think so. But as r0lZ said, you can adjust the depth when BD3D2MK3D creates the 3D subtitles. At the options tab, you can specify an "Additional 3D subtitle depth". By setting a positive or negative value you can chose to make them appear closer or further. For me, it was a bit of try & play around with some values to see which would give a goodlooking result.

I once had a bad 3D disc with empty planes that I didn't want to recode. Fortunately, this video had a large enough black bar at the bottom. So I created a SUP stream that was positioned in this bar. It wasn't ideal, but better than subtitles interfering with video objects.

r0lZ
3rd October 2022, 13:43
Yes, once again, von Suppé is right. If the option to create 3D subs is enabled in tab 2, you will get 3D subs, even if they are flat.

And yes, playing with the additional depth may be tricky, as it is very difficult to evaluate visually the best depth you should use.

BTW, when the 3D-subs are converted to XML/PNG, the depth (from 3D-plane + additional depth) is specified in the XML for each individual subtitle. You can if you wish edit the XML to change the depth of any individual subtitle, if it appear that some of them are too badly placed. You can then re-create the SUP file but be sure to use the edited XML as input. Finally, remux everything. That requires much work, but it's possible.
Love the possibility of remuxing without reencoding the whole movie!
It's why BD3D2MK3D doesn't delete the tmp project folder when the encoding is finished, and why I have tried to add as many comments in the temp files as possible. A power user can modify the project as he wants (for example to add filters to the avisynth script or mux additional 2D SRT or 3D ASS subtitles...) or restart the encoding or muxing in case of problems.
I once had a bad 3D disc with empty planes that I didn't want to recode. Fortunately, this video had a large enough black bar at the bottom. So I created a SUP stream that was positioned in this bar. It wasn't ideal, but better than subtitles interfering with video objects.
It's also why there is an option to "move Cinemascope image up in 16:9 frame" in the last tab. That way, you can freely enlarge the bottom black bar to place the flat subtitles in that location, far enough from the image to avoid too unpleasant 3D conflicts. I agree that it's not the best solution, but I also prefer that than having to decipher the subtitles far inside the popping out objects. A real torture for the brain !

von Suppé
4th October 2022, 13:01
...or mux additional 2D SRT or 3D ASS subtitles...

Never too late to learn. After years of being busy with 3D, I never heard about 3D ASS subtitles being possible.
Can you tell me how I can create these, r0lZ? And I assume they are for mkv?

r0lZ
5th October 2022, 18:43
You need a SRT and a (preferably good) 3D-Plane as input. Then use Subtitle Tools -> Convert SRT to ASS 3D. Really easy. :-)

And yes, they are for MKV, but I suppose they can be muxed in any container supporting the ASS format and suitable for a player that can display ASS and two subtitles at the same time at the specified location.

von Suppé
5th October 2022, 20:18
Doh. I feel terrible... :stupid: :rolleyes:

Thanks, gonna try out

Moonbase
8th October 2022, 20:21
Just a short feedback re the "Cargo" Blu-Ray: Succeeded by using "plane 0" for all subs. As expected, they all sit on the screen surface, but surely better than no subs!

von Suppé
9th October 2022, 08:12
Nice one.
Did you try the "extra depth" option? It can be a smoothier watch when the subtitles are just a tad "in front of" the screen.

Moonbase
20th October 2022, 13:00
I’ll give that a try, too. Thanks for the suggestion. Since KODI also allows that on playout, I might check the effect first ;-)

Moonbase
20th October 2022, 13:30
@r0lZ: Just to check the limits, I decided to do a "crash test" yesterday. Took out my "Ready Player One" (2018) Blu-Ray, ripped the main title to MKV, and used that file to push BD3D2MK3D v1.28 (and the Win11 VM on my poor little Linux laptop) to the limits. (Yes, I do like to keep all audio and subtitle tracks…)

Here are the results:

Blu-Ray: Ready Player One (2018)

MKV input file size: 48.2 GB
Playing time: 2h 19 min 58s
14 Audio tracks (DTS-HD MA and DTS 5.1 separated)
32 subtitle tracks (22 full + 10 forced)
32 MVC planes used
Intermediate data: nearly 66 GB

Encoding as HTAB, CRF 18, Preset slow, tuning none, BD compatible.
Only 3D subtitles.

Start: 2022-10-19T12:44:14
Subtitles done: 2022-10-19T21:21:11
Encoding & muxing done: 2022-10-20T11:12:45

Result size: 22.2 GB


Kudos on a work well done—this monster went through without a glitch and produced a perfect result!

Some remarks and maybe suggestions:


I tend to add a little more data to the MKV before I put it through BD3D2MK3D, like more descriptive track names ("English for the visual impaired, DD 5.1", "English for the hearing impaired") and do set the appropriate "Forced", "Visual impaired" and "Hearing impaired" track flags in the MKV.
BD3D2MK3D doesn't take over the track names into the resulting MKV, but provides its own names. Would be nice to have a setting that allowed taking over already existent tracks names (thus avoiding extra header editing afterwards).
BD3D2MK3D seems to read the "Forced" flags (shows them in the first tab) but I still had to mark "All tracks are forced" in the track selection tab. These are then put into the resulting MKV.
BD3D2MK3D does not seem to take over the "Visual Impaired" and "Hearing Impaired" track flags into the result. Would be nice if it did. Thinking of it, maybe "Text description", "Original language" and "Commentary" too. Please.
I usually set a video track's language to the language the movie’s title, signs, newspapers, etc. have (Disney is most notable for having parts in different languages in the BD playlists). BD3D2MK3D resets these to "und" (undetermined) in the result. Would be nice if it kept the video track(s) language(s), like it does for audio and subtitles.


Anyway, thanks for making a toolset that really works very well!

r0lZ
21st October 2022, 10:46
Kudos on a work well done—this monster went through without a glitch and produced a perfect result!
Thanks !

I tend to add a little more data to the MKV before I put it through BD3D2MK3D, like more descriptive track names ("English for the visual impaired, DD 5.1", "English for the hearing impaired") and do set the appropriate "Forced", "Visual impaired" and "Hearing impaired" track flags in the MKV.
Normally, the track name is not necessary, as the language and flags are sufficient to describe exactly the track. However, I agree that BD3D2MK3D doesn't take into account that stuff from the source MKV. It's because, originally, BD3D2MK3D has been written to process only a 3DBD or an ISO, not an AVC/MVC MKV. I've added that possibility because it's a popular way to decrypt the original BD, but I have not implemented the MakeMKV specific tags, unless they have an equivalent in the MPLS of the BD.
BD3D2MK3D doesn't take over the track names into the resulting MKV, but provides its own names. Would be nice to have a setting that allowed taking over already existent tracks names (thus avoiding extra header editing afterwards).I will examine if it's easily feasible. But I have a couple of bugs to fix first.
BD3D2MK3D seems to read the "Forced" flags (shows them in the first tab) but I still had to mark "All tracks are forced" in the track selection tab. These are then put into the resulting MKV.Again, it's due to a limitation of the MPLS information. Unfortunately, the forced flag is not present in the BD (and, most of the times, in the source MKV), so BD3D2MK3D tries to guess if there are entirely forced subtitle streams (different from the normal streams with some individual subtitles tagged as forced). It's not easy, at least before the demux operation, and BD3D2MK3D may be wrong. It's why there is an option to change the detected mode. Again, that may be easier for source MKV, already tagged correctly by the user of MakeMKV. Again, I will try to do it (without guarantee).
BD3D2MK3D does not seem to take over the "Visual Impaired" and "Hearing Impaired" track flags into the result. Would be nice if it did. Thinking of it, maybe "Text description", "Original language" and "Commentary" too. Please.Again, it's specific to input MKV. That tags do not exist in a MPLS.
I usually set a video track's language to the language the movie’s title, signs, newspapers, etc. have (Disney is most notable for having parts in different languages in the BD playlists). BD3D2MK3D resets these to "und" (undetermined) in the result. Would be nice if it kept the video track(s) language(s), like it does for audio and subtitles.Again, the video tracks do not have an associated language code in the original BD, hence the UND tag. But if you use the option to hardcode a subtitle stream on the video, then the video stream inherits the language of the subtitle track. That's all I can do with a source BD or an untagged source MKV.

In summary, your suggestions are applicable only to the source MKV, if the user has already correctly tagged all streams within MakeMKV. And honestly, I think that only a few users do that. Why do you need to correctly tag a MKV that will only be used once, as input for BD3D2MK3D ? However, I agree that modifying manually the __MUX_3D_OPTIONS.xml file, although possible, is not necessarily easy. But the correct way to improve BD3D2MK3D would be to let the user tag the streams WITHIN BD3D2MK3D, rather than in MakeMKV. And modifying completely the GUI to allow that is not simple, and will require a larger window. Perhaps I could add a little dialog, popping when the user double clicks a track in tab 2, to input the additional info (perhaps pre-filled with the info already present in the source MKV) ?

Anyway, thanks for the suggestions. I'll try to implement some/all of them it if I have some free time, but currently, BD3D2MK3D is not my priority.

Moonbase
31st October 2022, 13:02
Sure, that of course depends on one’s personal workflow.

I, for example, completely discard the step making of intermediate ISOs and rip my Blu-Rays directly to MKV using MakeMKV. Using the AVC/MVC MKV as an "archive base", I possibly include additional video/audio/subtitle tracks and try to flag them all correctly, i.e. default, forced, hearing impaired, visual impaired, commentary etc., plus a descriptive name like "English audio commentary by Alfred E. Newman (director)", even for, say, audio tracks—to better distinguish versions on dumb players, like "English TrueHD Atmos 9.1", "German DTS-HD MA 7.1" or "French DD+ Stereo". Most players seem to be able to at least show the track name, they might not show all flags and channel configuration. (Would make no sense playing TrueHD Atmos on a 5.1 set, or DTS-HD Master Audio 7.1 on a simple stereo set.)

Thus, I’m grateful that you already support MKV as input. Everything else mentioned is just a bonus that would make things a little easier (i.e., not having to copy over track names from the original "archive" MKV).

I also love the little extras like the "left-eye-first"-approach or the "default-tracks-first" rearranging. Dumb 3D TVs (like my Samsung) don’t care much about the stereoscopy flag in MKV, they’ll use whatever flags the stream has set, or simply "left-eye-first". Also, players like KODI cannot in all cases flip the eyes correctly, or even play AVC/MVC MKVs in 3D. This is the main reason I use BD3D2MK3D—I keep the ".3d.mvc.mkv" for archiving (and the Vero 4K+) and generate ".3d.htab.mkv" for my FireTV 4K/Samsung TV combo.

r0lZ
1st November 2022, 09:47
I understand, but most users simply keep their original BD in a safe place as the "backup" and store the SBS or TAB on hard disc for the reasons you describe, or simply, like me, to have all 3D movies at their disposal in one easy place. Therefore, almost nobody (except you) take the (very long) time to convert two times their movies to MKV (once with MakeMKV to decrypt it, and once with Mkvtoolnix just to tag it). I may add a way to tag the streams directly with the BD3D2MK3D GUI, but honestly, I don't think I will take the time to add the code to retrieve the tags from the source MKV, since normally that tags do not exist. Now, of course, if the authors of MakeMKV add a way to correctly tag the streams in their program, I will probably be tempted to retrieve them automatically, because many users may be concerned, but I don't think that MakeMKV will still evolve greatly. Therefore, doing it just for you is too much work for me.

Anyway, currently, I need much time for other projects, so don't expect new features in BD3D2MK3D soon. Sorry.

Moonbase
19th November 2022, 10:47
r0lZ, please don't get the impression that I want to force you to do "special programming" for me. In the contrary, I’m really happy that you brought together the tools-of-the-trade in such an easy-to-use and usable package! I’ll be happy to wait for whatever might come—or not, and do some lightweight tagging manually.

It’s actually mainly laziness (and missing storage space in the living room) that brought me to this workflow. Hard disk space is cheap, and being able to browse one’s collection through KODI from the couch is just so much more convenient than having to go to the shelves, taking a few out, deciding which to watch, and put them into a physical player. So my many old DVDs and newer "sacred" original Blu-Rays tend to mutate into "the backup" nowadays. Probably the same with most of us here.

As for 3D—and I just love 3D—BD3D2MK3D is a great and convenient tool to convert movies (to HTAB, mainly, in my case) for dumb players (most KODI players, unfortunately) that can’t handle AVC+MVC video.

So thanks again for your work (and that of all involved)!

r0lZ
20th November 2022, 11:44
r0lZ, please don't get the impression that I want to force you to do "special programming" for me.
Sorry, that was not my intention. I just pointed out that doing a (relatively) hard work for the usage of only a few persons is currently not possible for me. I live now in the mountains, under the sun, and I don't want any more to spend much time in front of my computer. It's why BD3D2MK3D will probably not evolve much more, although I still develop it somewhat, mainly to fix bugs.

Anyway, thanks for the clarification.

Moonbase
26th November 2022, 11:29
I live now in the mountains, under the sun, and I don't want any more to spend much time in front of my computer.

Sometimes we forget how wonderful the real life can be—enjoy!

r0lZ
28th November 2022, 11:32
As promised, here is (finally) v1.29 final.
It fixes several relatively important bugs, and should therefore be installed.
Thanks to every peoples who helped me to locate and fix the bugs.

v1.29 (November 28, 2022)
- It is now possible to convert a MKV created with MakeMKV (https://www.videohelp.com/software/MakeMKV) containing a 3D movie in the non-standard 720p resolution.
- bug fix: The frame rate of any input MKV (in MakeMKV mode) was always 23.976fps.
- bug fix: In MakeMKV mode, the TrueHD tracks were always demuxed (with eac3to (https://www.videohelp.com/software/eac3to)) even if they were not selected by the user.
- bug fix: The 2 streams for hardcoded subtitles in Full-SBS/TAB mode were not generated.
- workaround: Wrong tracks order for AVC+MVC 3D MKV created or remuxed with another tool than MakeMKV
- workaround: Demux crash when an audio or subtitle stream doesn't have a language code in the MPLS
- Added BDSup2Sub (https://www.videohelp.com/software/BDSup2Sub)++ v1.0.4 64-bit beta, as it has less bugs than BDSup2Sub++ v1.0.3 (that will still be used on 32-bit systems)
- Updated x264 to the latest version (v0.164.3101)
- Updated x265 to the latest version (v3.5+68)
- Updated mkvtoolnix (https://www.videohelp.com/software/MKVToolNix) to the latest version (v72.0.0 'Minuano (Six-eight)')

As usual, download the latest version here: BD3D2MK3D.7z (https://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)

von Suppé
28th November 2022, 12:30
Thanks for your continuous work, r0lZ.

Moonbase
12th December 2022, 18:41
Windows 11: Couldnt be downloaded - Virus detected (Trojan:Script/Wacatac.B!ml). Hmm.

r0lZ
13th December 2022, 12:14
I have received the same warning from a Win11 user who uses Windows Defender, a few days ago. I did some investigation, and here are my two replies to his mail.

Hi.

Thanks for the information. Much appreciated.

However, I have scanned my whole development directory (containing the distributed 7Z archive) with Kaspersky, DrWeb, Emsisoft and Windows Defender, and none of them detected a virus. I must conclude that your Win Defender did a false positive (perhaps because it has used an outdated virus signature database) or that the file has been infected on your computer (and that may mean that there is a virus elsewhere). Anyway, you are alone with that problem, and I'm sure other users would have reported the problem if it was really present. I recommend therefore to scan your entire system with an up to date Win Defender or another antivirus. You may also want to download the 7Z archive again.

However, 6 antivirus programs flag the 7Z archive as infected, as you can see at VirusTotal (https://www.virustotal.com/gui/file/aa7f080890f05f33056a4093fdfe2fe9519ea748d648c54e3990342b157f2bb2/detection/f-aa7f080890f05f33056a4093fdfe2fe9519ea748d648c54e3990342b157f2bb2-1669634533). It's very strange, as they do not find any virus when the content of the archive is extracted and scanned. And BD3D2MK3D.exe itself is virus free. I will investigate that problem further, because maybe an external tool is infected, but IMO, the detections are just false positives. I'll keep you informed.

Thanks again !


OK, I think I understand.

At VirusTotal, the RELATIONS tab (https://www.virustotal.com/gui/file/aa7f080890f05f33056a4093fdfe2fe9519ea748d648c54e3990342b157f2bb2/relations) is interesting. It contains the details of what has triggered what. 4 files trigger only one detection and can be considered safe. But there are two files that trigger more detections: HideWindow.exe (7 detections) (https://www.virustotal.com/gui/file/272aea53f0cbae371a4df385a0ee478f9a678cadc1abfb7043d3d396e1fbe08a) and ShutdownGUI.exe (5 detections) (https://www.virustotal.com/gui/file/3ddb06caaad1be93b80fe4c08c2be0a7d11c891598d4235ecab87ca80c9ed220). I am the author of these two tools, and they have been written with autohotkey, a powerful scripting language that I use often to write small tools to do simple system related actions (such as, here, respectively, hide a window or shut the system down). Unfortunately, due to the possibility to use autohotkey to create malicious exes, several antivirus programs consider ANY program based on that language as potentially dangerous. But I can guarantee that it's not the case here.

I wrote HideWindows relatively recently, because BDSup2Sub++.exe (used to convert the subtitles to 3D) opens a DOS window during its long processing. That windows is ugly and may interfere with the work of the user, therefore I have created this little tool to hide it as soon as it is opened. (You may still see a DOS window during a fraction of a second when a subtitle is converted to 3D).

ShutdownGUI, as its name implies, is used only after the end of the creation of the 3D MKV to shut the computer down (if you have enabled that option in the last tab). I would have preferred to use a Windows exe to do it, but unfortunately, Windows has never released a good Shutdown tool, and the method to do it from a program differs with all versions of the operating system. Autohotkey was the perfect solution, as it can do it for any version of Windows. Note also that ShutdownGUI has, well, a GUI ! It can be stopped if you don't want to shut the system down at the end of the process. It has no hidden action.

Obviously, considering a tool that can hide a window or shut the system down without the consent of the user as a virus or, at least, as a potentially dangerous program, is not totally absurd. But they are not viruses, and are never used for malicious reasons. Remember that the source code of BD3D2MK3D is included in the 7Z archive, and everybody can verify that there is no malicious code.

Unfortunately, I cannot easily get rig of these false positive virus detections, without impacting the ease of use of BD3D2MK3D. But I am already happy that Windows Defender does not trigger any warning any more. (VirusTotal is probably still using an older version. Is it the same thing with you ?)

So, there is no need to worry.

Thanks again for your warning,
r0lZ

Notice that HideWindow.exe has been written in 2018, and ShutdownGUI.exe in 2013, and they have been included with the BD3D2MK3D distribution since then. They have NEVER triggered any virus detection warning. Why Windows Defender detects them suddenly as viruses is a total mystery, that proves only one thing: Microsoft has never been able to write a correct antivirus program, and despite a few progress since Windows 10, Defender is still one of the worst antivirus programs. And, obviously, its false positive detections has been fixed since then, as currently, it doesn't trigger any warning.

Mote also that Windows Defender did NEVER complain here (under my Win10 OS) and is not listed among the antivirus programs having detected a virus at VirusTotal. Why ? BTW, the least we can say is that the antiviruses that have tested positive at VT are not the most reputable ones.

May I know what AV you are using ?

Moonbase
13th December 2022, 13:15
Thanks for the long explanation. Actually I also suspect false positives here.

My VirusTotal results (https://www.virustotal.com/gui/file/aa7f080890f05f33056a4093fdfe2fe9519ea748d648c54e3990342b157f2bb2/relations) are almost the same as yours above.

May I know what AV you are using ?
Since I use a Win11 VM specially dedicated to running BD3D2MK3D (pretty much standard install, 22H2), it should be Windows 11 Defender.

Apart from Win11 preventing me from downloading the 7z, and checking with VirusTotal, I also ran a quick clamscan on my Linux host system:


$ clamscan BD3D2MK3D.7z
/home/matthias/Downloads/BD3D2MK3D.7z: OK

----------- SCAN SUMMARY -----------
Known viruses: 8645684
Engine version: 0.103.6
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 60.77 MB (ratio 0.00:1)
Time: 28.108 sec (0 m 28 s)
Start Date: 2022:12:13 13:02:01
End Date: 2022:12:13 13:02:29

This didn’t show any positives.

Here’s a more in-depth scan of the unpacked archive:

$ clamscan BD3D2MK3D/***
/home/matthias/Downloads/BD3D2MK3D/BD3D2MK3D.exe: OK
/home/matthias/Downloads/BD3D2MK3D/history.txt: OK
/home/matthias/Downloads/BD3D2MK3D/src.7z: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/avs2yuv.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/vcomp100.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/x265_x86.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libSsrc.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BDSup2Sub++x64.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/eac3to.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvinfo.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/VSFilter.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BDSup2Sub++.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BlockSleep.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/x264_x86.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BDSup2Sub3D.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/convert.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BDSup2Sub.jar: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvmerge.html: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/msvcr110.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/tsMuxeR update for 3D blu-ray - Doom9's Forum.URL: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/HideWindow.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/x265_x64.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/SRTtoASS3D.tcl: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libMatrix.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/msvcp100.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/tee.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libAften.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/msvcr100.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/HookSurcode.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/Test_Avisynth_Installation_subtitles.srt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libdcadec.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvextract.html: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvextract.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvinfo.html: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/ShutdownGUI.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/tsMuxeR release_notes.txt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/SupTitle info.txt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvmerge.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/tsMuxeR.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/MVCPlanes2OFS.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/avcodec-54.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/Test_Avisynth_Installation.avs: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvtoolnix-doc.css: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/AVSVersion32.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libFLAC.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/FRIMSource_readme.pdf: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/x264_x64.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/FRIM_release_notes.txt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/hdcd.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/avutil-52.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/Convert subtitles to 3D - Doom9's Forum.URL: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/MPLSParser.tcl: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/neroAacEnc.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/AVSVersion64.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvpropedit.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/neroAac_readme.txt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/FRIMSource.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/MKVToolNix.url: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/neroAac_license.txt: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/BDSup2Sub.ico: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/README.mkvmerge_and_mkvpropedit.md: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/magic.xml: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/SupTitle.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/mkvpropedit.html: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/tsMuxerGUI.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/OFSExtractor32.exe: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/colors.xml: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/SupCore.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/libmfxsw32.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/r8b.dll: OK
/home/matthias/Downloads/BD3D2MK3D/toolset/avs2yuv64.exe: OK

----------- SCAN SUMMARY -----------
Known viruses: 8645684
Engine version: 0.103.6
Scanned directories: 1
Scanned files: 71
Infected files: 0
Data scanned: 218.96 MB
Data read: 183.22 MB (ratio 1.20:1)
Time: 217.392 sec (3 m 37 s)
Start Date: 2022:12:13 13:23:33
End Date: 2022:12:13 13:27:11


Since Autohotkey scripts have often been the cause of false positives in the past, I’d very much follow your argumentation that these are false positives. Will now try installing & running BD3D2MK3D again in my Win11 VM.

EDIT: Unpacked the archive on my Linux host, copied all files into my Windows 11 VM (into C:\BD3D2MK3D-v1.29) and manually checked using the same Win11 Defender that prevented the download before—all good!

r0lZ
14th December 2022, 12:44
EDIT: Unpacked the archive on my Linux host, copied all files into my Windows 11 VM (into C:\BD3D2MK3D-v1.29) and manually checked using the same Win11 Defender that prevented the download before—all good!
Why Defender did find a virus in the 7Z archive but not when the archive is unpacked (and not on my own Win10 system, within or outside the archive) ? Yet another mystery. And an evidence that Defender is definitely not a good antivirus.

r0lZ
29th December 2022, 12:00
BD3D2MK3D v1.30 released. It fixes just one bug occurring only in MakeMKV input mode, when the path of the input MKV file contains curly brackets. It seems that the { } are used by Plex for cataloguing purposes, so this bug may affect many users.


v1.30 (December 28, 2022)
- bug fix: Crash in MakeMKV mode when launching the conversion if the input MKV contains curly brackets { } in its path.

As usual, download it here: BD3D2MK3D.7z (https://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)

frank
30th December 2022, 19:48
Tested the new v1.30 and the generated subtitle.3d.sup has stretched characters and cut text. Not usable.
But the png pictures and temp.3D.xml are ok.

*** Converting subtitle "temp.3D.xml" to "forced.3D.sup"...
WARNING: Converting subtitles from XML/PNG format with BDSup2Sub++ (because Java is not installed): Some subtitles can be misplaced!
I replaced the BD3D2MK3D.exe with v1.23 (that I used before) and it works again.
So the culprit is BDSup2Sub++ v1.0.4 64-bit beta

I use W10 Pro 64bit on a DELL notebook.
How can I use the old 32bit v1.0.3 32bit? Is there a workaround?

r0lZ
31st December 2022, 11:25
Thanks for the bug report. Damned ! It is difficult to have a working BDSup2Sub !

I guess you can simply remove (or, better, rename) BDSup2Sub++x64.exe, and copy BDSup2Sub++.exe as BDSup2Sub++x64.exe. BD3D2MK3D doesn't test if it's really the 64-bit version that is used.

I will try to find a better way to solve that new problem, but it's without guarantee.

Happy new year anyway !

frank
4th January 2023, 21:48
I renamed BDSup2Sub++x64.exe and copied BDSup2Sub++.exe as BDSup2Sub++x64.exe.

My forced.3D.sup works again on Win10 64 bit.
Thanks!

r0lZ
8th January 2023, 12:23
I have (finally!) verified the problem of the conversion of the XML/PNG subs to 3D, and I agree that there is a big bug, but it's not what you have described. With my test, the position and stretching of the subtitles are correct, but the image is very bad, pixelized and with strange orange and green colors. Anyway, BDSup2Sub++ is used to convert from XML/PNG to SUP only when Java is not installed, because the ++ x32 version has a placement bug (perhaps only when converting to HSBS or SBS) and, now, it appears that ++ x64 has another bug ! Therefore, IMO, the best way to avoid the bug is to install Java. However, I agree that installing Java is not at all something recommended, as Java is known to be extremely difficult to install and or uninstall, at least under Windows.

Currently, I have fixed the problem with this method: ++ x64 is used preferably to convert from SUP to XML/PNG. Of course, on an x32 system, ++ x32 is used instead. When converting back from XML/PNG to SUP, the Java version is used if Java (32 or 64-bit) is correctly installed, and ++ x32 is used elsewhere. The java version is never used for that conversion, as it has yet another bug ! The current method should be sufficient to solve most problems.

Note that I have also modified slightly the method used to determine if Java is installed, due to another problem that has just been reported here (https://forum.videohelp.com/threads/395498-BD3D2MK3D-Convert-3D-BDs-or-MKV-to-3D-SBS-TAB-or-FS-MKV-Support-thread/page12#post2677443). Previously, BD3D2MK3D considered that Java was correctly installed if the path to java.exe was defined, and if the exe file was present. Now, it tries to retrieve the version number and it assumes that the exe is correctly installed only if it succeeds.

I will release a new version in a couple of hours, with that two fixes...

r0lZ
8th January 2023, 13:29
OK, here is v1.31 with the fixes for the two bugs reported here and at VideoHelp. Thanks to frank and rotaxt for the bug reports!

v1.31 (January 8, 2023)
- Bug fix introduced with v1.30: Bad 3D subtitle conversion with BDSup2Sub++x64 when Java is not installed.
- Bug fix: Error during the conversion of the subtitles to 3D with BDSup2Sub.jar. The correct execution of java.exe is now checked, BDSub2Sub++ is used if it doesn't work well.

As usual, download it here: BD3D2MK3D.7z (https://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)

frank
9th January 2023, 20:34
Thank you very much!

ecou2508
23rd February 2023, 11:33
Hello r0,

Great thanks for still updating this great software :-)

Since the latest version (1.31) i get the error below (with the 1.29, i never encounterd that one)

Can you please help ?
Thanks
Eddy, Belgium.

L:\BD3D2MK3D\Blade runner 2049 3D\00334>"C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\mkvmerge.exe" @__MUX_3D_OPTIONS.json | "C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\tee.exe" "00334_3D.mkvmerge.log"
mkvmerge v72.0.0 ('Minuano (Six-eight)') 32-bit
Error: The file '00334_3D.265' could not be opened for reading: open file error.

ecou2508
23rd February 2023, 11:42
Looks like it wants to write the .265 somewhere it hasn't permissions ?

r0lZ
23rd February 2023, 14:19
Hum, mkvmerge doesn't need to write to the .265 file, only to read it. And if BD3D2MK3D has been able to create and write it, mkvmerge should be able to read it. Honestly, I don't understand what's happening.

Have you verified if the .265 file is present in the project folder, and not empty ? Can you also try to open it with the mkvtoolnix GUI ?

Try to update the mkvtoolnix exes from the toolset folder with the latest version, although I don't think it is the culprit.

Verify also if the whole part of your project folder contains foreign or accented characters. That might also be the problem.

If nothing works, post the __MUX_3D_OPTIONS.json file here (or send it by email), and please tell me if it's the first time you experience this error, or if it happens always with the latest version. Thanks.

Remember that you can easily relaunch the mux operation simply by double-clicking __MUX_3D.cmd.

ecou2508
23rd February 2023, 15:08
Oops, sorry, yes...error while trying to read the .265

Ok, but the encoding to x265 did not occur so no .265 file

I have the folder with all the components but it did not start encodding and then switches to muxing and thus didn't find the 265 file.

Any idea ?

And no foreign caracters in the path

ecou2508
23rd February 2023, 15:14
something happens with __ENCODE_3D_MOVIE.avs that makes the encode process to exit

One of the plugin maybe ?

ecou2508
23rd February 2023, 15:16
# to convert "F:\BDMV\PLAYLIST\00334.mpls"
# (referencing the M2TS/SSIF files 00360, 00354)
# to 3D Side-by-Side.
# Hardcoded subtitles from files "00334.track_4612.Fra_forced.3D_left.sup" and "00334.track_4612.Fra_forced.3D_right.sup".
# Movie title: Blade runner 2049 3D
#
# Source MPLS information: Blu-ray 3D.
# MPLS file: 00334.mpls
# Video : Und AVC, 1080p, 23.976 fps, left-eye
# Video : Und MVC, 1080p, 23.976 fps, right-eye (32 3D-Planes)
# Audio : Eng AC3, Multi-channel, 48 Khz
# Audio : Fra AC3, Multi-channel, 48 Khz
# Subtitle: Eng PGS, 3D-plane: 1
# Subtitle: Ara PGS, 3D-plane: 2
# Subtitle: Nld PGS, 3D-plane: 3
# Subtitle: Fra PGS, 3D-plane: 4
# Subtitle: Ita PGS, 3D-plane: 5
# Subtitle: Por PGS, 3D-plane: 6

# AVC/MVC video decoder
LoadPlugin("C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\plugins64bit\FRIMSource.dll")

# Plugin to hardcode the subtitles on the video
#LoadPlugin("C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\plugins64bit\VSFilter.dll")
LoadPlugin("C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\plugins64bit\SupTitle.dll")

# Load the two video streams (235152 frames per stream)
interleaved = FRIMSource("mvc", "00334.track_4113.264", "00334.track_4114.mvc", layout = "alt", num_frames = 235152, cache = 2, platform = "")
# 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)

# Hardcode subtitles
#left = VobSub(left, "00334.track_4612.Fra_forced.3D_left.sub")
#right = VobSub(right, "00334.track_4612.Fra_forced.3D_right.sub")
left = SupTitle(left, "00334.track_4612.Fra_forced.3D_left.sup")
right = SupTitle(right, "00334.track_4612.Fra_forced.3D_right.sup")

# Build Side-by-Side stream
StackHorizontal(Left, Right)
AssumeFPS("ntsc_film")

# Return the 3D clip.
Return(last)#.Info()

r0lZ
23rd February 2023, 15:42
Post the BD3D2MK3D.log file.

ecou2508
23rd February 2023, 15:45
Log file generated by BD3D2MK3D v1.31
Conversion of "F:\BDMV\PLAYLIST\00334.mpls" to Side-by-Side.
Movie title: Blade runner 2049 3D
Generating project "Blade runner 2049 3D\00334"...

*******************************************************************************

Main job started Thu Feb 23 10:41:46 CET 2023.

Saving file "00334.demux.meta"...
Saving file "chapters_2D_no_delay.ogm.txt"...
Saving file "chapters_2D_no_delay.qpfile"...
Saving file "chapters_3D_delay.ogm.txt"...
Saving file "chapters_3D.qpfile"...

-------------------------------------------------------------------------------

*** Demuxing the streams...
tsMuxeR version git-eecf6b0. github.com/justdan96/tsMuxer
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
H.264 muxing fps is not set. Get fps from stream. Value: 23.976
Decoding H264 stream (track 2): H.264/MVC Views: 2 Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
MVC muxing fps is not set. Get fps from stream. Value: 23.976
Decoding AC3 stream (track 3): Bitrate: 640Kbps Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 4): Resolution: 1920:1080 Frame rate: 23.976
Processed 235152 video frames
Processed 235152 video frames
Flushing write buffer
Demux complete.
Demuxing time: 45 min 15 sec

Streams demuxed by tsMuxeR:
00334.track_4353.ac3 784627200 bytes
00334.track_4612.sup 19398935 bytes
Error: Can't rename "00360+___+00354.track_4113.264" to "00334.track_4113.264": error renaming "00360+___+00354.track_4113.264": no such file or directory
Error: Can't rename "00360+___+00354.track_4114.mvc" to "00334.track_4114.mvc": error renaming "00360+___+00354.track_4114.mvc": no such file or directory

-------------------------------------------------------------------------------

*** Retrieving audio delays from playlist 00334.mpls...
Stream 4352: -27 ms
Stream 4353: -7 ms

-------------------------------------------------------------------------------

*** Extracting 3D-planes from MVC stream...
Extracting 3D-planes from MVC file with BD3D2MK3D v1.31 (c) r0lZ and OFSExtractor 1.1-beta2 32bit by TheGreatMcPain (aka Sixsupersonic on doom9)
Input MVC file: "00334.track_4114.mvc"
Output folder: "."
Command: "C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\OFSExtractor32.exe" "00334.track_4114.mvc" "."

OFSExtractor 1.1-beta2 32bit by TheGreatMcPain (aka Sixsupersonic on doom9)
Last git commit was on .

Failed to open '00334.track_4114.mvc'

*** fopen(): No such file or directory
Extraction took 0 seconds (00:00:00)
Extracted 0 3D-planes with 0 frames @ 0 fps.
1 warnings!

-------------------------------------------------------------------------------

*** Converting "00334.track_4612.Fra.sup" to 2D. Please wait!
*** Converting subtitle "00334.track_4612.Fra.sup" to "00334.track_4612.Fra.2D.sup"...
> "C:\\Users\\eco\\Desktop\\CD-DVD\\BD3D2MK3D\\toolset\\BDSup2Sub++.exe" --palette-mode keep --alpha-crop 0 --minimum-time 0 --language fr --fps-source 24p --fps-target 24p -o "00334.track_4612.Fra.2D.sup" "00334.track_4612.Fra.sup"
BDSup2Sub++ 1.0.3
OPTION: Set language to French (fr)
OPTION: synchronize target framerate to 24p
OPTION: Converting framerate from 23.976fps to 23.976fps
OPTION: Set minimum display time to 0
OPTION: Set palette mode to keep
OPTION: Set alpha cropping threshold to 0
Converting SUP(BD)
Loading L:/BD3D2MK3D/Blade runner 2049 3D/00334/00334.track_4612.Fra.sup
Detected 29 forced captions.
Writing L:/BD3D2MK3D/Blade runner 2049 3D/00334\00334.track_4612.Fra.2D.sup
Conversion of 1 file(s) finished
*** Found 1092 captions, including 29 forced captions.

-------------------------------------------------------------------------------

*** Converting "00334.track_4612.Fra.sup" (forced captions only) to 3D BD SUP. Please wait!

* Warning: Subtitle track "00334.track_4612.Fra_forced.2D.sup" is associated with the 3D-plane file 3D-Plane-04.ofs, but the 3D-Plane #4 doesn't exist or is empty.
There are no other 3D-planes to use. Using constant depth of 0 (+ additional depth of 0)!
The subtitles will appear on the surface of the screen (unless you have specified a non-zero additional depth).
*** Converting subtitle file "00334.track_4612.Fra.sup" to 3D Full using 3D-plane "" + additional depth 0 (forced subtitlesd only)...
Subtitle language: fra (French)
*** Converting subtitle "00334.track_4612.Fra.sup" to "temp_2D.xml" (forced subtitles only)...
> "C:\\Users\\eco\\Desktop\\CD-DVD\\BD3D2MK3D\\toolset\\BDSup2Sub++.exe" --palette-mode keep --alpha-crop 0 --minimum-time 0 --language fr --forced-only --fps-source 24p --fps-target 24p -o "00334.track_4612.Fra_forced.3D_2D/temp_2D.xml" "00334.track_4612.Fra.sup"
BDSup2Sub++ 1.0.3
OPTION: Set language to French (fr)
OPTION: Exporting only forced subtitles.
OPTION: synchronize target framerate to 24p
OPTION: Converting framerate from 23.976fps to 23.976fps
OPTION: Set minimum display time to 0
OPTION: Set palette mode to keep
OPTION: Set alpha cropping threshold to 0
Converting XML/PNG
Loading L:/BD3D2MK3D/Blade runner 2049 3D/00334/00334.track_4612.Fra.sup
Detected 29 forced captions.
Writing L:/BD3D2MK3D/Blade runner 2049 3D/00334/00334.track_4612.Fra_forced.3D_2D\temp_2D.xml
Writing L:/BD3D2MK3D/Blade runner 2049 3D/00334/00334.track_4612.Fra_forced.3D_2D\temp_2D.xml
Conversion of 1 file(s) finished
*** Found 1092 captions, including 29 forced captions.
*** Converting "temp_2D.xml" to 3D...
Input file: temp_2D.xml
Stereoscopy mode: Full-3D (as 2 independent files)
Additional or fixed depth: 0
Number of subtitles processed: 29

*** Converted 29 forced subtitles to Full-3D. No errors. :-)
*** Trying to determine the best DVD palette for BDSup2Sub VobSub conversions from the single PNG image #9 in directory "00334.track_4612.Fra_forced.3D_2D"...
> Found colour #1/#3 in image "temp_2D_0402_0.png" (subtitle #9):
Primary (lighter) colour: 128,128,128
Secondary (darker) colour: 102,102,102
*** Modified 2 colour pairs in the default DVD palette for VobSub conversions.
Saving file "00334.track_4612.Fra.palette.ini"...
Saving file "00334.track_4612.Fra.palette++.ini"...
*** Converting subtitle "temp.3D_left.xml" to "00334.track_4612.Fra_forced.3D_left.sup"...
> "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" -Xmx256m -jar "C:\\Users\\eco\\Desktop\\CD-DVD\\BD3D2MK3D\\toolset\\BDSup2Sub.jar" "00334.track_4612.Fra_forced.3D_2D/temp.3D_left.xml" -o "00334.track_4612.Fra_forced.3D_left.sup" --palette-mode keep --alpha-crop 0 --minimum-time 1 --language fr --convert-fps 24p,24p
Loading L:\BD3D2MK3D\Blade runner 2049 3D\00334\00334.track_4612.Fra_forced.3D_2D\temp.3D_left.xml
Writing L:\BD3D2MK3D\Blade runner 2049 3D\00334\00334.track_4612.Fra_forced.3D_left.sup
Conversion finished.
*** Converted 29 captions.
*** Converting subtitle "temp.3D_right.xml" to "00334.track_4612.Fra_forced.3D_right.sup"...
> "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" -Xmx256m -jar "C:\\Users\\eco\\Desktop\\CD-DVD\\BD3D2MK3D\\toolset\\BDSup2Sub.jar" "00334.track_4612.Fra_forced.3D_2D/temp.3D_right.xml" -o "00334.track_4612.Fra_forced.3D_right.sup" --palette-mode keep --alpha-crop 0 --minimum-time 1 --language fr --convert-fps 24p,24p
Loading L:\BD3D2MK3D\Blade runner 2049 3D\00334\00334.track_4612.Fra_forced.3D_2D\temp.3D_right.xml
Writing L:\BD3D2MK3D\Blade runner 2049 3D\00334\00334.track_4612.Fra_forced.3D_right.sup
Conversion finished.
*** Converted 29 captions.
*** Done. Converted 29 forced subtitles to Full-3D. No errors. :-)
Full conversion took 10 seconds (00:00:10)

-------------------------------------------------------------------------------

*** Converting "00334.track_4612.Fra.sup" (forced captions only) to 2D. Please wait!
*** Converting subtitle "00334.track_4612.Fra.sup" to "00334.track_4612.Fra_forced.2D.sup" (forced subtitles only)...
> "C:\\Users\\eco\\Desktop\\CD-DVD\\BD3D2MK3D\\toolset\\BDSup2Sub++.exe" --palette-mode keep --alpha-crop 0 --minimum-time 0 --language fr --forced-only --fps-source 24p --fps-target 24p -o "00334.track_4612.Fra_forced.2D.sup" "00334.track_4612.Fra.sup"
BDSup2Sub++ 1.0.3
OPTION: Set language to French (fr)
OPTION: Exporting only forced subtitles.
OPTION: synchronize target framerate to 24p
OPTION: Converting framerate from 23.976fps to 23.976fps
OPTION: Set minimum display time to 0
OPTION: Set palette mode to keep
OPTION: Set alpha cropping threshold to 0
Converting SUP(BD)
Loading L:/BD3D2MK3D/Blade runner 2049 3D/00334/00334.track_4612.Fra.sup
Detected 29 forced captions.
Writing L:/BD3D2MK3D/Blade runner 2049 3D/00334\00334.track_4612.Fra_forced.2D.sup
Conversion of 1 file(s) finished
*** Found 1092 captions, including 29 forced captions.

-------------------------------------------------------------------------------

*** Generating the AviSynth script...

*** Saving "__ENCODE_3D_MOVIE.avs"...
Saving file "__ENCODE_3D_MOVIE.avs"...
*** Generating the batch files...

*** Saving "__ENCODE_3D.cmd"
x265 command:
"C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\avs2yuv64.exe" ^
"__ENCODE_3D_MOVIE.avs" -frames 235152 -o - ^
| "C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\x265_x64.exe" --output-depth 8 ^
--crf 22 --preset slow ^
--sar 1:1 --range limited --colorprim bt709 --qpfile chapters_3D.qpfile --frames 235152 --fps 24000/1001 ^
--output "00334_3D.265" --y4m -
Saving file "__ENCODE_3D.cmd"...
Saving file "__ENCODE_3D_LAUNCHER.cmd"...
*** Generating the batch files...

*** Saving "_ENCODE_2D.cmd"
x264 command:
"C:\Users\eco\Desktop\CD-DVD\BD3D2MK3D\toolset\x264_x64.exe" --output-depth 8 ^
--crf 23 --preset medium ^
--qpfile chapters_2D_no_delay.qpfile --frames 235152 --fps 24000/1001 --sar 1:1 ^
--output "00334_2D.264" "00334.track_4113.264"

*** Saving "__TAGS_3D.xml"

> x265_x64.exe --version
x265 HEVC encoder version 3.5+68-40e37bce9
build info [Windows][GCC 12.2.0][64 bit] 8bit+10bit+12bit
using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2


*** Saving "__MUX_3D.cmd"
Saving file "__MUX_3D.cmd"...

*** Saving "__MUX_3D_OPTIONS.json"
*** Adding attachments...
Saving file "__MUX_3D_OPTIONS.json"...

*** Saving "_TAGS_2D.xml"

> x264_x64.exe --version
x264 0.164.3101 b093bbe
(libswscale 5.9.100)
(libavformat 58.76.100)
(lsmash 2.16.1)
built on Oct 6 2022, gcc: 10-win32 20210110
x264 configuration: --chroma-format=all
libx264 configuration: --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat license: GPL version 2 or later


*** Saving "_MUX_2D_REENCODED.cmd"

*** Saving "_MUX_2D_REENCODED_OPTIONS.json"

*** Saving "_MUX_2D_LOSSLESS.cmd" and "_MUX_2D_LOSSLESS_OPTIONS.json"

*** Saving "__POSTPROCESS_3D.cmd" and "_POSTPROCESS_2D.cmd"
Saving file "__POSTPROCESS_3D.cmd"...
Saving file "_CUSTOM_POSTPROCESS_3D.cmd"...
Saving file "_POSTPROCESS_2D.cmd"...
*** Done. AviSynth script and batch files generated.

-------------------------------------------------------------------------------


Job finished Thu Feb 23 11:27:45 CET 2023
Whole job took 45 minutes and 59 seconds.

Done with warnings!

* Warning: Subtitle track "00334.track_4612.Fra_forced.2D.sup" is associated with the 3D-plane file 3D-Plane-04.ofs, but the 3D-Plane #4 doesn't exist or is empty.
There are no other 3D-planes to use. Using constant depth of 0 (+ additional depth of 0)!
The subtitles will appear on the surface of the screen (unless you have specified a non-zero additional depth).

ecou2508
23rd February 2023, 17:27
Also, i just tried to install on a windows server 2012 and get this message (see attachement)
Is it ok to install the 32bit toolnix as for win7 ?

Thanks
[Edit] i installed the 32b version that is proposed and overwrite those in 1.31 package. Job is running on the 2012 serveur..

The job that failed is on my desktop PC (i5-6400, w10 21H2)

ecou2508
23rd February 2023, 18:49
There is a warning in the log, i 've possibly selected the wrong pls on the 4 pls... probably the one in 2D :-)

i retry with another one....and keep posting ;-)
Eddy

ecou2508
23rd February 2023, 20:52
redone the job but with mpls 335 and get these errors in BD3D log:

Streams demuxed by tsMuxeR:
00335.track_4353.ac3 784627200 bytes
00335.track_4612.sup 19398935 bytes
Error: Can't rename "00360+___+00354.track_4113.264" to "00335.track_4113.264": error renaming "00360+___+00354.track_4113.264": no such file or directory
Error: Can't rename "00360+___+00354.track_4114.mvc" to "00335.track_4114.mvc": error renaming "00360+___+00354.track_4114.mvc": no such file or directory

ecou2508
23rd February 2023, 21:10
i just renamed these 2 files manually and restart encoding (__ENCODE_3D_LAUNCHER.cmd): ok, encoding is now running.

Job finished: Final mkv seems ok, have to test it when back to home (no 3D monitor here..)

ecou2508
24th February 2023, 11:34
Hi r0,
i just launched the same job again on another PC: same error and that same Bluray... Tried with another Bluray 3D : No problem !

Looks like this problem is specific to this Bluray...

ecou2508
24th February 2023, 11:42
Here are the details from the log of the error on that other PC:
Error: Can't rename "00362+___+00354.track_4113.264" to "00334.track_4113.264": error renaming "00362+___+00354.track_4113.264": no such file or directory
Error: Can't rename "00362+___+00354.track_4114.mvc" to "00334.track_4114.mvc": error renaming "00362+___+00354.track_4114.mvc": no such file or directory

And in attachement, the 2 files related to the problem

r0lZ
24th February 2023, 12:24
Yes, I have just seen the error messages. The problem is related to the filenames tsMuxeR uses for the demuxed streams when they are made of many M2TS. Previously, it tried to save files with filenames containing all numbers of the M2TS files, and that failed when there were too many M2TS, because the filename was too long for Windows. I have reported that bug, and the naming scheme has been changed. At that time, I have modified the code of BD3D2MK3D to use the new filenames (the ones shown in the error messages), and that worked well. But obviously, the naming scheme of tsMuxeR has changed again, and BD3D2MK3D is now unable to find the demuxed files. I will have to fix that problem, but I will need a BD with a MPLS made of enough M2TS files to cause the problem. I will try to find one in my collection, but that can take some time...

In the meantime, can you post here the names of the 264 and MVC files as they were in the project folder (before your manual rename) ?

ecou2508
24th February 2023, 13:26
Oops, attachement with capture jpg is pending.. :-(
before i manually renamed them:
00362+00354.track_4113.264
00362+00354.track_4114.mvc

and related error messages:
Error: Can't rename "00362+___+00354.track_4113.264" to "00334.track_4113.264": error renaming "00362+___+00354.track_4113.264": no such file or directory
Error: Can't rename "00362+___+00354.track_4114.mvc" to "00334.track_4114.mvc": error renaming "00362+___+00354.track_4114.mvc": no such file or directory

ecou2508
24th February 2023, 13:30
In the first post i made, there is jpeg with all the files in the dir before i tried renaming them manually. (the 360 that should be rename 335) starting the job with 335 mpls

With the playlist 334 (my last attempt on another PC), 362 should be renamed to 334

r0lZ
25th February 2023, 11:13
OK. I still need another info. What is the list of SSIF (M2TS) parts in the MPLS you have processed ? You can easily copy it with the menu "Tools -> Dependent-view (MVC) file list". When the dialog is shown (and active), just press Control-C to copy its content and post it here.

r0lZ
27th February 2023, 13:46
The bug with the filenames happens only when the converted M2TS contains exactly two parts (two M2TS per eye-view), because the filename generated by tsMuxeR is not what it is when there is only one part, or when there are more than 2 parts. The bug is fixed in this version.

v1.32 (February 27, 2023)
- Fix: Wrong filenames when a multi-angle/multi-story MPLS is made of only 2 parts (for example Blade Runner 2049 French version)
- Added the menu Help -> MkvToolnix for Windows 7 to download easily a MkvToolnix version compatible with Windows 7 (Thanks Ennio!)
- Added a link to the mini-guide on how to convert an external SRT or SUB to 3D in the Subtitle Tools menu.
- Added a link to the Bernard's Wiki page about BD3D2MK3D in the Help menu. (Thanks Bernard!)

Download it here: BD3D2MK3D.7z (https://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)