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 |
2nd July 2014, 10:15 | #1 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
BD3D2MK3D v1.17: Convert 3D BDs or MKV to 3D SBS, T&B or Frame-sequential MKV
BD3D2MK3D is a GUI to convert movies from 3D BDs to 3D MKV video files in Full or Half Side by Side, Top & Bottom or Frame sequential format, encoded in h264 with x264, or in h265 with x265, or with any command-line encoder. Since v0.87, BD3D2MK3D can also accept lossless 3D AVC+MVC files created with MakeMKV as input.
I have written it mainly because it was difficult to do all operations necessary to do the conversion manually, and because the documentation about the method to use was poor and spread over a lot of posts in this long and technical thread: Guide to convert BD 3D to 3D Left+Right Stereoscopic and Anaglyph. My first attempt resulted in BD3D2AVS, and was based on eac3to, ldecod and ssifsource. Ldecod was used to decode the dependent view of the stereoscopic input streams. It works well, but it is terribly slow, and is was therefore not a good solution. Luckily, the external tools have evolved, and I wrote a second version of the GUI, called BD3D2MK3D. The original BD3D2MK3D was mainly based on ssifSource and DirectShowMVCSource, but is now also obsolete. Starting with v0.30, BD3D2MK3D is based on new tools, much more efficient, like the tsMuxeR update for 3D blu-ray and the Intel MVC decoder to decode the dependent view, with the help of the avisynth plugin DGMVCSource by Donald Graft or FRIMSource by videofan3d. The GUI uses also a lot of other tools. See the Help menu for a list of the most important tools. As you can see in the original thread, the development of the method and the tools necessary to do the conversion was a collective effort. I wish to thank all contributors. Currently, BD3D2MK3D is mature enough to have its own thread, and it's why I have created this thread. Please post all questions and bug reports related to BD3D2MK3D here, and all questions about the external tools that my GUI uses in their respective threads or in the original guide thread. Thanks! Features of BD3D2MK3D:
Installation:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 23rd October 2019 at 09:06. Reason: Updated version number |
2nd July 2014, 10:22 | #2 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
BD3D2MK3D version history
V0.40 is the first version released in this thread.
For infos about the older versions, please see the original 3D conversion guide thread. Version history (starting from v0.30, the first version based on DGMVCSource or FRIMSource) The BD3D2MK3D history can be viewed or downloaded here: history.txt Download latest version: BD3D2MK3D.7z
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 24th April 2018 at 09:33. Reason: Download link highlighted in blue |
13th July 2014, 10:02 | #4 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
OK, I'll have a look. Thanks.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
18th July 2014, 10:53 | #5 | Link |
Registered User
Join Date: Oct 2007
Posts: 385
|
When choosing subtitles format as .sup, I get 2d sup, 3d sup and 2d vobsubs.
Is it possible to get also 3d vobsubs with that option or maybe a 3rd option that will create both? I'd like to mux both it (I prefer .sup but I'd like to share some vids with a friend who can't use them). An aesthetic/consistency/ocd remark regarding files tagging - on this case I got the next files: 00001.track_4501.Eng.2D.idx 00001.track_4501.Eng.2D.sup 00001.track_4501.Eng.sup (maybe that should get tagged 2D too) 00001.track_4501.Eng.3D.sup Last edited by mini-moose; 18th July 2014 at 12:46. |
18th July 2014, 14:43 | #6 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
I'll have a look, but I can't promise. The subs conversions is already very complicated, because I have to take into account the hardcoded subs as well (that must be 3D SUP anyway, regardless of the user's options).
If I do it, I'll implement probably the option to mux both VobSub and BD SUP. Do you have a preference for the order? I suppose I'll set the VobSub format first, for compatibility reasons. That means also that the VobSub stream will have the "Default" flag (when applicable). In the meantime, I suggest to leave the SUP option ticked, and to convert manually to SUB/IDX. You can then modify the _MUX_3D_OPTIONS.txt file to add the VobSub streams. (Just copy the VobSub definition, and modify the file name and the title. Also, take in mind that only a single subtitle stream can have the "Default" flag set. The 00001.track_4501.Eng.sup file is the original stream, extracted from the BD. It is not tagged with "2D" because the 2D or 3D tag is added only when a conversion to 3D or to VobSub is made.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
18th July 2014, 15:10 | #7 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
I really just want to have a 3d vobsub and 3d Sup created the same time. I remembered you said choosing sup generates vobsub too, and I thought it meant 3d, and choosing vobsub only creates a regular 2D sup (maybe it does 3D too in current version? I didn't try). Maybe a third option is not something of much demand to worthy adding such an option. I don't have a preference as to which would be first. Personally I use sup so for me that would be better to be first, someone else might prefer vobsub first, so there's really no way to way to make it one size fits all...unless you add a 4th option ! Ah, that makes sense. Thanks for clarifying. Last edited by mini-moose; 18th July 2014 at 15:14. |
|
19th July 2014, 19:02 | #8 | Link |
Banned
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
|
Full 3D sup
3D subtitle processing is excellent! AFAIK BD3D2MK3D is the only tool that 3D subs correctly handles. And very flexible.
In some cases (sources max 100 min, not too big for high bitrate) I prefer encoding in the MVC 3D format because of more 2D compatibility with traditional players such as VLC or Android. The source analysis and scripts generated by BD3D2MK3D are also very useful to pipe to FRIM or ROVI TotalCode. Therefore I have to hardcode subs. To do that we need the full 3D subs separately for the left and right view. BD3D2MK3D only can produce half SBS. Full SBS doesn't work at all. Can you implement an option to the tools menu generating the separated FHD (1920x1080) subs? Or is there an easy manual modification of the tools to generate the the streams for SupTitle() input? |
19th July 2014, 19:23 | #9 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
You want two independent subtitle streams, with the left and right subtitles with no resize? That should be possible, but I need some time. And no it will not be easy to modify the code to do it yourself. The conversion to 2D is made by the program itself, except the extraction of the 3D planes, made with an external exe (by Nico), but it doesn't need to be modified.
Also, I will implement it as a new tool, or an option in the current tool to convrt the subtitles to 3D. I will not integrate that in the main process, since it produces half-SBS or half-T&B anyway.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
21st July 2014, 15:48 | #10 | Link |
Banned
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
|
I see, it's not so easy.
tsMuxeR cannot handle 3D planes if you rebuild a MVC blu-ray with reendcoded streams. The information remains in the orginal MVC stream. Therfore hardcoding subs is the best way out. For MVC 3D we only need full-sized subtitle streams. They can be easy integrated with Avisynth script. I need to use Avisynth to slightly resize pictures, because I have a 3D (line) polarized Monitor. The more image height the better the picture.(recommended 2.35 ->2.07...) |
22nd July 2014, 09:41 | #11 | Link | ||
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
Quote:
(Note that it is enabled only during the long demux process. When the demuxing is finisged and the subtitle files are converted to 3D or when the audio strerams are converted to AC3, it is not possible to abort. Anyway IMO, if you have waited during the whole demux process, it's not to abort when the job is almost done.) Could it be that your antivirus or something in your system prevents BD3D2MK3D to kill the tsMuxeR process? (I have to kill it abruptly because afaik there is no way to tell it to abort gracefully. Some antivirus may block the possibility to kill a process from another process running at the user level, because they consider that as potentially undesirable.) Anyway, before the process gets killed, you should see this dialogue: Quote:
Someone else has that problem? [EDIT] Got it! I understand why it doesn't work. To use the kill command, I need a package (called Tclx), and that package is installed by default with the Tcl/Tk programming environment, but is not included with the standalone executable files such as BD3D2MK3D.exe. When I run the exe on my system, it finds the package in my Tcl/Tk installation directory, and everything works fine. But it cannot find it on machine where Tcl/Tk is not installed. As a consequence, when you click the Abort button, the dialog quoted above is not displayed, and you can only hear a bell. I will include the Tclx package in the Toolset directory and everything will work fine. Thanks again for the bug report!
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 22nd July 2014 at 11:45. |
||
22nd July 2014, 19:26 | #12 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
BD3D2MK3D v0.41 released!
This version should do everything requested in this thread so far.
Quote:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
23rd July 2014, 07:42 | #13 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
BD3D2MK3D v0.42
Sorry, I have introduced a bug in v0.41: The conversion of the subtitles to 3D Half-T&B (with 3D planes), from the Tools menu or the normal conversion of a Title, was broken. The subtitles were converted to Half-SBS. Please download the new version.
Thanks to Frank for having reported that bug by PM! Quote:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
7th August 2014, 14:29 | #15 | Link |
Banned
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
|
BD3D2MK3D uses tsMuxeR v2.6.9. (2013)
Latest version is 2.6.12. Is there any reason to use the older version? EDIT: Ok, I read the PM, there is a subtitle timcode bug. Is it with SubTitle() too? Last edited by frank; 7th August 2014 at 15:40. |
7th August 2014, 15:54 | #16 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
Well, I had the intention to describe that bug with all details in the tsMuxeR 3D thread, but in short, v2.6.11 and v2.6.12 have totally wrong subtitle time codes when demuxing some BDs (2D and 3D). The bug happens only (but not always) when there are several parts (M2TS/SSIF files) in the MPLS, and only for the subtitles starting after the end of the first part. With the affected BDs, the time codes of the subsequent subtitles have one hour too much. For example, a subtitle that must appear at 0:10:10.000 has a time code of 1:10:10.000. The versions up to 2.6.9 are not affected by that bug, but the time codes are often slightly wrong (compared to the time codes reported by eac3to). For the example above, the time code could be, for instance, 0:10:10.400. The milliseconds part of the time codes is correct in the two latest versions, but it seems that Roman has introduced a new big bug when he has fixed the ms bug. It is a pity that he doesn't work on tsMuxeR any more. :-(
That bug has been discovered by Nico8583, and he has tested with several 2D and 3D BDs, with similar results. However, many multi-parts BDs (like the Disney BDs) are not affected. I have tested myself with Dragon Gate 3D, and indeed the two latests versions are unusable. Since I can't use eac3to to demux the BD (due to other problems with the subtitles of 3D BDs), and v2.6.11 and v2.6.12 are unusable, I have decided to stick with v2.6.9. AFAIK, the latest versions are not better for the demuxing process. However, if you use tsMuxeR to mux to TS or M2TS, it might be a good idea to use the last version. BTW, I don't have v2.6.10, and therefore I haven't tested it. Someone has that version? Yes, since the demuxed SUP stream is wrong.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 7th August 2014 at 16:03. |
7th August 2014, 20:00 | #17 | Link |
Banned
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
|
Start message window
Ok, thanks.
The Haali start messages says: This message is shown only once. Wrong, it will display at every program start. But when does BD3D2MK3D using it? AFAIK directshow is not used. - Demuxing with tsMuxeR or eac3to - No After demuxing it works with elementay streams. - Streaming, piping - No - MVC decoder DGMVCsource() - No - Encoding with x264 - No - Muxing with MKVtoolnix - No. ?? So in every case I can see the progress percentage. I personally use Haali for years no longer. LAV splitter is the better one (and shark007's DS filter set). BD3DTOMK3D works on my system (Windows 7 x64) without any splitter very well. |
7th August 2014, 22:20 | #18 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
You're right. Haali is not needed any more. I don't know why I haven't removed it. It was used previously in a function that retrieves the number of frames from a specific M2TS. To compute the number of frames, the function created a little avisynth script with DirectShowSource("file.m2ts"). Without the filter, DirectShowSource was unable to return the number of frames. That function was still present in my code, but not used any more. I have just removed it, as well as all references to Haali, and the warning message when it is not installed.
And indeed there was a bug in the warning, that was displayed at every start. Since I have removed that code, I have removed the bug too! ;-) Thanks!
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
9th August 2014, 09:51 | #19 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,483
|
BD3D2MK3D v0.43 released
The main change is the possibility to encode in Full-SBS or Full-T&B. Please note that it is not possible to convert the subtitles to 3D for these Full stereoscopic formats. However, it is possible to hardcode the subtitles in 3D over the video (with the real 3D depth extracted from the 3D-Planes).
Quote:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
15th August 2014, 01:33 | #20 | Link |
RPC-1 to people
Join Date: Sep 2003
Location: from Mars to Earth
Posts: 39
|
I'm getting this error:
Code:
child process exited abnormally child process exited abnormally while executing "close $fh" (procedure "Extract3DPlanesMain" line 59) invoked from within "Extract3DPlanesMain "[file rootname $mpls].track_4114.mvc" ." (procedure "GenerateAvs" line 664) invoked from within "GenerateAvs" invoked from within ".nbf5.gf.gen invoke " invoked from within ".nbf5.gf.gen instate {pressed !disabled} { .nbf5.gf.gen state !pressed; .nbf5.gf.gen invoke } " (command bound to event)
__________________
Gradius Living in Mars is nice! |
Thread Tools | Search this Thread |
Display Modes | |
|
|