View Full Version : BD3D2MK3D v1.17: Convert 3D BDs or MKV to 3D SBS, T&B or Frame-sequential MKV
r0lZ
27th October 2015, 21:47
It should work without problem. The bug related to the "missing" SSIF files has been introduced relatively recently (with a change in the way the free disc space is checked), but before BD3D2MK3D did not require the SSIF files, and should still not require them.
The only difference with a "real ISO" (with the SSIF) is that BD3D2MK3D skips now the test for sufficient disc space. You must therefore ensure yourself that you have enough free space before launching the creation of the project and before launching the encoding itself. The rest should be OK.
sfatula
27th October 2015, 21:58
The first part ran, and I am now running the 3D encode script to create the file(s). So, it appears you are correct! Thanks.
sfatula
28th October 2015, 07:31
Ok, I am assuming I did something wrong. The 3D movie does play, looks pretty good. But I lost the trueHD sound, it's DD 5.1. Since your very first page strongly implies I can keep the TrueHD audio, where did I miss that setting, or, option? What do I click or not click on which screen to keep it? I did select the TrueHD audio stream, but, it came out 5.1.
r0lZ
28th October 2015, 09:23
Be sure to untick the two options below the area with the streams in tab 2, and especially the first one: "Use the 5.1 core of DTS-HD and E-AC3 audio streams". The second option converts the "heavy" audio tracks to AC3 or AAC (max 5.1), so you should untick it too.
Take care however. TrueHD has NO AC3 core! It's ONLY in the blu-ray discs that an AC3 stream is associated with the THD strream. So, if you untick the first option, you will end up with a MKV that will have no audio if you try to play it with a player without a THD decoder. Ideally, you should include the THD AND the AC3 streams in the final MKV, but currently it's something not handled by BD3D2MK3D. You can however do it manually if you edit the __MUX_3D_OPTIONS.txt file. Let me know if you need both streams.
Note that you don't need to start everything over, especially if the thd track is already in the target folder. In that case, you can simply edit __MUX_3D_OPTIONS.txt and change the filename (and optionally the title) of the current audio stream to use the thd track instead. Then launch __MUX_3D.cmd to recreate the MKV, this time with the thd track.
And if the thd track has not been demuxed, you can either demux it yourself with tsMuxeR or eac3to, then again edit __MUX_3D_OPTIONS.txt and launch __MUX_3D.cmd. Or if you prefer a long but simple operation, you can move the XXXXX_3D.264 file in another directory, restart the generation of the project with the correct options in tab 2 (it will replace the whole content of the target directory), and finally move back the .264 file in the project dir and launch __MUX_3D.cmd.
Sidenote: I have decided to split the 3 operations (encoding, muxing and optional computer shutdown) in 3 different CMD files for reasons like this. In fact, __ENCODE_3D.cmd calls __MUX_3D.cmd and __POSTPROCESS_3D.cmd, but you can launch __MUX_3D.cmd yourself (if the 264 file generated by __ENCODE_3D.cmd is already present in the directory) to just redo the muxing phase, without having to compute the h264 file again. It's specially handy if you want to add an external stream (such as subtitles downloaded from the internet). You can modify the MUX file when the encoding is in progress, and if you need to modify the final MKV (for example because the subtitles are not correctly synchronised), you can do it without having to restart the whole process. Similarly, you can edit (or delete) the POSTPROCESS file if you change your mind and you don't want to shut the computer down any more. (The new Batch Mode, introduced with the latest version modifies also the POSTPROSESS file to chain the encodings together.) In your case, it is also sufficient to modify the MUX file because you already have the 264 file. Just be sure to not overwrite it accidentally.
sfatula
28th October 2015, 15:05
Well, "Use the 5.1 core" was my first guess so unticked that and reran over night along with other changes since first run was just a test anyway, still running with the encode since the machine isn't super fast, and, I am using slow. Looks like 11 hours totals will be the result, 64 bit x264. I know it can't be played on non TrueHD systems. Only play in the dedicated theater room though with TrueHD. I don't use subtitles, though, I should probably rethink that.
Question about 64 bit x264, is this referring to the app that does the encode, or what? Is the idea it may run a little faster?
BTW - this is an excellent tool you have created, as opposed to manually running all the various pieces. It makes experimenting super easy as you check or uncheck a few boxes. Good work!
r0lZ
28th October 2015, 15:31
You can already verify if the THD track has been demuxed. It should have the .thd or .ac3+thd extension. And it should be referenced in __MUX_3D_options.txt.
Yes, using 64-bit x264 is a bit faster (especially with slow presets). Note that avisynth is a 32-bit program, and therefore it cannot communicate directly with x264 64-bit. It's why its output is read by avs2yuv.exe (32-bit), and then piped to x264 (64-bit). There is a very little overhead due to avs2yuv, but anyway the speed gain is still interesting. Don't expect a major gain, though.
Thanks for your appreciation of BD3D2MK3D! :-)
sfatula
30th October 2015, 06:20
Anyone know, since this uses java 32 bit, if it can be installed in addition to existing java 64 bit, which I need for other purposes?
It's too bad there is no good player for mkv mvc yet except steroscopic player. Maybe some day.
r0lZ
30th October 2015, 10:36
Yes, you can install the 64 and 32-bit versions alongside. Not sure what version will be used by default by your java programs, but they are compatible. Be sure to update both versions when an update is available. For whatever reason, I am notified only for a single version.
Also, with some luck, the 64-bit version will work with BD3D2MK3D. Try this: Verify if the java version is selected in Settings -> BDSup2Sub, and launch Tools -> Open Subtitle in BDSup2Sub and select any subtitle stream. If the BDSup2Sub window opens, that means that the 64-bit version should work without problem, including when a project is created.
I have written that the 32-bit version is necessary after a lot of problems I've had with java, and the only way I've found to have it working was to uninstall all versions, clean the registry manually, and re-install properly the 32-bit version. But the problems were probably due to the absurd way java is installed under Windows, and perhaps not to a 64-bit incompatibility. Anyway, try to use the 64-bit version before installing the 32-bit. It may work fine. In the meantime, I'll do some tests here...
frank
30th October 2015, 12:08
Version v0.76 has not updated the number, shows old v0.75.
r0lZ
30th October 2015, 12:23
Oops, yes, sorry. Too late anyway. I have already added new things, and v0.77 is on the way. I'll try to release it as soon as possible...
sfatula
30th October 2015, 18:08
No, in settings, it shows BDSup2Sub as the ++ version only. It doesn't run with open either, I guess it really must have the 32 bit version. Somehow, it is restricted to that. I don't see where it says, on their "site", that it requires 32 bit though. Perhaps the restriction is built into your program?
r0lZ
30th October 2015, 19:59
Yes, maybe. I have to check my code. IIRC, I have added a function to check if Java is available, but since BD3D2MK3D is a 32-bit program, it "sees" only the 32-bit programs, and doesn't find java 64-bit. It's probably why you can't select BDSup2Sub.jar in the Settings menu.
I will verify that tomorrow, and if it's possible, I'll release a fix. In the meantime, you can probably use BDSup2Sub++. It has several bugs, but it works fine most of the times.
frank
31st October 2015, 11:30
Oh, it's not a good idea to write the encode-3d.log continuousely.
I had to comment out the line, or is there a switch?
1. On SSD I get a lot unwanted write cycles that shorten the life!
The CMD-window is entirely sufficient.
2. I've got buffer underflows, never had before. I'm working with my notebook, the encoder is running in background.
frank
31st October 2015, 11:40
Windows power management doesn't much care about operations in the cmd window. So my notebook will go to sleep/off after time. The enoding process will be interrupted.
To avoid that I have to manually set the power management to max. power for encoding.
Is there a better solution for BD3D2MK3D to maintain the cmd window running?
r0lZ
31st October 2015, 11:48
I agree that there is a lot of useless info in the x264 log. I have added it at the request of wiggaz (http://forum.doom9.org/showthread.php?p=1741871#post1741871). And the log may be useful if you encode during the night and you have enabled the option to shut the PC down. In that case, you cannot see the log in the command prompt window.
There is currently no option to disable it, but I can add it in the next version. In the meantime, just delete the end of the command in __ENCODE_3D.cmd (in red below):
"D:\Tcl\work\BD3D2MK3D\toolset\avs2yuv.exe" ^
"__ENCODE_3D_MOVIE.avs" -frames 139243 -o - ^
| "D:\Tcl\work\BD3D2MK3D\toolset\x264_x64.exe" ^
--crf 21 --preset slower --level 4.1 --vbv-bufsize 78125 --vbv-maxrate 62500 ^
--threads 4 ^
--sar 1:1 ^
--frame-packing 3 --qpfile chapters_3D.qpfile --frames 139243 --fps 24000/1001 ^
--output "00801_3D.264" --demuxer y4m --stdin y4m - ^
2>&1 | "D:\Tcl\work\BD3D2MK3D\toolset\tee.exe" ENCODE_3D.log
Don't forget to delete also the tailing ^ of the previous line!
r0lZ
31st October 2015, 11:53
Windows power management doesn't much care about operations in the cmd window. So my notebook will go to sleep/off after time. The enoding process will be interrupted.
To avoid that I have to manually set the power management to max. power for encoding.
Is there a better solution for BD3D2MK3D to maintain the cmd window running?
Hum, I have never encountered that problem, and honestly I don't think I can do something to avoid it.
There are stupid programs available on the net to simulate a mouse move of key press regularly while a certain window is open, or a certain program is running. Perhaps you can use that kind of trick, but I don't think it's something that should be hardcoded in BD3D2MK3D. After all, it's a Windows bug!
Perhaps there is also a power management option to NOT go into sleep mode when the notebook is connected to the AC power?
r0lZ
1st November 2015, 10:18
Here it is. There are several fixes and improvements, including for the bugs and requests reported here. I have also added a new "Chapterizer" tool that allows you to simply add evenly spaced chapters to an existing MKV file. It may be handy to add chapters to MKV files originally created without chapters, or to replace bad chapters with more useful ones.
And, this time, the version number is correct! ;-)
v0.77 (November 1, 2015)
- Added Tools -> Chapterizer (to add chapters to an existing MKV file)
- Added MkvInfo.exe (from the MkvToolnix package) in the toolset directory (necessary for the new Chapterizer).
- Added Settings -> AVC/HEVC Encoder -> Save (huge!) log of the encoder on disc (disabled by default)
- Workaround for a bug in the DcaDec DTS decoder. When it fails due to a (wrong?) synchronisation error, the conversion to AC3 or AAC is restarted with the Libav decoder.
- Fix: The wrong folder was opened in Explorer at the end of the Batch Encode procedure.
- Fix: Removed the requirement to have the 32-bit version of Java installed, since it appears that BDSup2Sub works well with the 64-bit version.
Download: BD3D2MK3D.7z (http://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)
frank
1st November 2015, 10:20
Yeah, I managed it with selecting 3 hours in balanced mode when the notebook is connected to AC.
It will be sufficient for an encoding.
Thanks. :)
________
Dell XPS 15, Windows 7 prof
r0lZ
1st November 2015, 10:57
Thanks for the confirmation. BTW, I've just found Shut It! (https://www.raymond.cc/blog/prevent-cancel-and-abort-a-windows-system-shutdown-or-restart-when-application-is-running/2/) that may be the tool you need to prevent the PC from shutting down or going into sleep mode, while still permitting it (or even forcing it) when the encoding and muxing processes are finished. I haven't tried it, and I'm not sure it will work, but you may want to have a look.
[EDIT] Sorry, but it seems that it is no longer possible to download it. If you find a copy somewhere, please let me know...
odyssey
2nd November 2015, 23:45
r0lz: I have a question. I have previously got the impression that 3D blurays had to be mounted as an image, because they contain "something" which is needed for 3D processing. Can't remember if it was a previous version of BD3D2MK3D, eac3to or whatever, or maybe I just misunderstood something.
Reason I'm asking, is that I tried to process a blu-ray that had been extracted to a folder, and it seemed to process with no problems. It would really ease my workflow, if I could just extract all my images, instead of running them through daemon-tools or similar.
sfatula
3rd November 2015, 00:11
Images per se are not necessary, depends what you are trying to do though. For my processing, I used MakeMKV to unprotect and backup my own BluRay disc to a folder. I then used BD3D2MK3D for it's own purposes against my backup (it would not have worked against the BluRay due to protection), worked just fine. I am storing my collection on disc instead of having to find the BluRay. I play the resulting 3d via Kodi. It all just works. Heck, I actually edited the TrueHD track for my own purposes as well.
Now, there are certainly formats that you may need a special player for, etc. But, no need for the original BluRay, just depends what specifically you are trying to do. MakeMKV can also create a 3D MVC mkv file for example, however, as far as I know, only one player will play it. Stereoscopic player, and it's not cheap.
So, doubtful you need to use daemontools or other such programs.
r0lZ
3rd November 2015, 00:57
Previous versions of BD3D2MK3D (and BD3D2AVS as it was called at the beginning) used eac3to to demux the tracks, and for technical reasons it was necessary to use the SSIF files, except in very special cases, where the M2TS files were used. It was therefore necessary to copy on HDD a lot of files, including the M2TS (in BDMV/STREAM) and the SSIF files (in BDMV/STREAM/SSIF). Since the SSIF files are some kind of clones (or hard links) of the M2TS files but without physical data on BD, when they were copied, the result was that the content of the 3D movies was copied twice. It was therefore totally inefficient to copy a 3DBD as files on HDD, and much more rapid and economical to create an ISO. For that reason, it was recommended to use a mounted ISO, or the original BD decrypted on the fly by AnyDVD HD. And if you used a decrypter program that copies only the M2TS, BD3D2MK3D was unable to create the project due to the missing SSIFs.
In more recent versions, BD3D2MK3D uses tsMuxeR to demux the streams and tsMuxeR uses only the M2TS files. So, after a few modifications in my code, the necessity to have the SSIF files has been removed. The M2TS files are sufficient. It's why the copies released by MakeMKV work fine. Of course, a copy with any other decrypter should work equally well, even if the program ignores the 3D content and/or the SSIF files. However, I have recently fixed a bug causing BD3D2MK3D to fail when there was no SSIF on disc, and currently, due to that fix, BD3D2MK3D doesn't check any more if the free disc space is sufficient if it cannot find the SSIF files.
Conclusion: Yes, it is now possible to use a copy of the files on disc (with or without the SSIF files), but if the SSIF files are missing, be sure to verify yourself if there is sufficient disc space on the target drive, before launching the creation of the project and before launching the encoding.
blublub
5th November 2015, 21:09
Hi
That tool is awesome. I did encoding normal 1080p for years now but never had the time to try a 3D encode because it involved a lot more steps and therefore time.
This tool finally made me do it..and yeah it cool :-)
Since I have a fully capable 4k setup I wonder if it is possible to make a 4K 3D SBS from a 1080p 3D bluray to achieve a higher quality?
r0lZ
5th November 2015, 21:25
Thanks!
You can resize the video up to 4K manually (by editing the AVS script or the x264 command), but you won't get a higher quality. And don't forget that 3D requires twice the frame rate than 2D. Are you sure your hardware supports 4K 3D?
IMO, as long as the resolution of the 3DBDs is "standard" hi-res (1080p), the best thing to do to preserve the video quality is to encode in Full-SBS, with a low CRF value, to be as close as possible to the original video stream. Upscaling the video will not improve it and will require much more disc space.
blublub
5th November 2015, 21:44
Thanks!
You can resize the video up to 4K manually (by editing the AVS script or the x264 command), but you won't get a higher quality. And don't forget that 3D requires twice the frame rate than 2D. Are you sure your hardware supports 4K 3D?
IMO, as long as the resolution of the 3DBDs is "standard" hi-res (1080p), the best thing to do to preserve the video quality is to encode in Full-SBS, with a low CRF value, to be as close as possible to the original video stream. Upscaling the video will not improve it and will require much more disc space.
ahh ok.
Which setting do I need for full SBS? I just selected SBS, crf 17, preset slow, ang profile high with preset film - so encodimg should be os good quality
sfatula
5th November 2015, 21:51
Uncheck the box on the "Options and GO" tab labelled "Half", right next to "Side by Side" This presumes you can actually play full side by side. crf 17 should turn out very nice.
blublub
5th November 2015, 22:08
Uncheck the box on the "Options and GO" tab labelled "Half", right next to "Side by Side" This presumes you can actually play full side by side. crf 17 should turn out very nice.
ok will try. I hope I an convince Kodi to play it :-)
sfatula
5th November 2015, 22:41
It might, be, you would need to be able to define a screen resolution of 3840x1080, which my system does not allow. I also use Kodi. I think it's more of a graphics issue. Even if my computer system supported it, don't think it would work anyway as the projector does not.
r0lZ
6th November 2015, 00:41
If Full-SBS or 4K video is rejected by many hardware players, it's due to the relatively low capacity of their graphics buffers and/or the speed of the rendering engine. Every hardware has its limits, and currently most 3D TVs or projectors support only Half-SBS (or Half-T&B) in 1080p (but some can support Full-SBS/T&B in 720p).
Also, for totally different reasons, it is currently not possible to convert the subtitles to 3D in Full-SBS or Full-T&B format, because the graphics format (BD SUP and DVD VobSub) are made for "standard" resolutions like PAL, NTSC, 720p or 1080p, but not for left+right combined views such as Full-SBS (3840x1080). It is however still possible to hardcode the subtitles on the video.
So, be sure to know what you are doing. If you untick the Half option in the last tab, the compatibility of the MKV with most hardware players will be very low, and you won't have the possibility to include 3D subtitles. But if your hardware supports it, the video quality will be very good, especially with a low CRF like 17.
blublub
6th November 2015, 08:33
Hi
I will give it a try.
In Kodi I can set 4K resolution that works and I tested it already.
It upscales 1080p content with spline36 just fine with no hiccups so I hope it will play a native 4K stream.
Hardware is:
AMD A10 6700
AVR Denon x6200
Samsung HU7590 UHD LED TV
sfatula
6th November 2015, 09:03
I'd love to hear back once you have tried it.
blublub
6th November 2015, 23:40
OK just watched a whole movie and it works like a charm. Had two little stutters but I am not sure if it was HTPC or the Samsung TV - I will check decoding stats next time but it is neglectable.
However Samsung IR 3D emitter is a pain and the glasses dropped frequently out if 3d mode.
Could be because I have an IR bud on the TV for my home automation system. I have to find out where that IR emitter is located.....
r0lZ
7th November 2015, 00:32
Recent Samsung TVs use bluetooth to transmit the signal to the glasses, and I have never missed a single frame. The glasses continue to work even when I'm outside the room!
The stutters can be caused by the TV itself, or the hard disc, the connectivity or a glitch during the decoding. Usually, when I see that kind of problem, I go a few seconds back to replay the part that has caused the problem, and there is no glitch any more. I suspect the TV connecting to the internet to verify the updates for the Smart Hub, or things like that.
blublub
7th November 2015, 03:07
The glasses lost connection every 5-10 minutes or so. Very annoyingly and u are correct it's BT what makes it even more arrange just 3m in front if the TV.
Batteries were new.. Mhhhh
blublub
7th November 2015, 18:58
OT:
I used the wrong batteries cr2016 where as it should have been cr2025 :-)
blublub
7th November 2015, 19:00
Whenever I try to use a DTS HD or HD MA track I get errors and conversion stops.
Why us a DTS HD / MA stream copy such a problem?
r0lZ
7th November 2015, 20:43
I have reported that problem to the authors of eac3to and DcaDec (here (http://forum.doom9.org/showthread.php?p=1745158#post1745158) and here (https://github.com/foo86/dcadec/issues/38)) but currently there is no good solution. As you can see, the error happens only when the DcaDec is configured with the "strict decoding" option turned on. Unfortunately, the author of DcaDec doesn't want to fix the problem, and the author of eac3to doesn't want to remove the "strict flag", so currently we're stuck. I have requested an option to turn the strict flag off with the command line of eac3to, but it will be implemented only in the next version of eac3to.
I have therefore implemented a workaround in the latest version of BD3D2MK3D (v0.77): When the DcaDec DTS decoder fails with the synchronisation error, the conversion is restarted with the Libav decoder. Libav works but it is less good (because it decodes only the lossy DTS core), so I've kept DcaDec by default. I have also been able to verify that a lot of DTS HD or MA tracks can be decoded correctly by DcaDec with the strict flag (but I agree that the problems are frequent too). AFAIK, the Libav workaround works when it should, but I've implemented it ONLY when the error reported by DcaDec is the synchronisation error. If you encounter often another error and the conversion is not restarted automatically, please post here the part of the log with the error message. I may have to trap other errors as well.
Note that the workaround is not automatic when you convert manually the DTSHD/MA track with Convert Audio from the Tools menu. In that case, if the error happens, you have to manually select the Libav option and restart the conversion.
blublub
7th November 2015, 23:08
Uhh I see, a more complicated matter. Thx for filling me in
mini-moose
13th November 2015, 15:09
Is there any importance to the Attachments on the mux process?
--attachment-mime-type
text/plain
--attachment-name
__ENCODE_3D_MOVIE.avs
--attach-file
__ENCODE_3D_MOVIE.avs
--attachment-mime-type
text/x-msdos-batch
--attachment-name
__ENCODE_3D.cmd
--attach-file
__ENCODE_3D.cmd
--attachment-mime-type
application/zip
--attachment-name
3D-Planes.zip
--attach-file
3D-Planes.zip
and another question: the program pack comes with TSMuxer 2.6.9, which is slightly older than the last version availble (2.6.12). Any specific reason for it (like a bug in the latest one)?
r0lZ
13th November 2015, 18:17
The 3 attachments listed above are not really necessary. They are added just to document the process, and keep track of the encoding parameters. You can remove them if you wish. (Note that if you define some cover art images in tab 4, they are also added as attachments. And, if you have requested to convert at least one subtitle track to 3D, a zipped archive with the 3D-planes is also attached, so that it will be easy to convert a new subtitle stream to 3D if necessary.) Anyway, all these files are very light, so IMO it is worth keeping them.
And yes, the development of tsMuxeR has stopped (again) and I have included the latest version that works correctly. If you go to Help -> tsMuxeR Version, you'll see this:
---------------------------
BD3D2MK3D
---------------------------
Network Optix tsMuxeR. Version 2.6.9. www.networkoptix.com
WARNING: Do NOT use v2.6.11 or v2.6.12 as they have a big bug with the time codes of the subtitle streams of some BDs. The last known good version is v2.6.9.
Visit home page?
---------------------------
Yes No
---------------------------
I don't think that v2.6.10 has been released officially, so you should stick with v2.6.9. Anyway, the improvements in the two last versions are related to the muxing process only. Nothing has changed for the demux, except the new subtitles timecodes bug.
Nico8583
13th November 2015, 21:07
Just because I'm curious : what do you use to read Full SBS or Full OU ? A software player ? A hardware player ? A 1080p Full HD ? A 4K TV ?
Thank you !
r0lZ
13th November 2015, 22:31
I encode always in Half-SBS, because my Samsung TV doesn't support Full-SBS, and I'm not rich enough to buy a new 4K TV. When I need to do tests in Full-SBS, I use PotPlayer on my PC, but I don't like to watch full movies with my PC.
I'm tired of hardware multimedia players. They are always too limited, and obsolete very rapidly. The last one I bought doesn't play 3D well.
I suppose that a good solution would be to buy a mini PC and install Linux + XBMC/Kodi. Maybe it's something I'll do soon, but I'm still not sure they are powerful enough...
Anyone has a good experience of a cheap but good solution to play Full 3D?
mini-moose
13th November 2015, 23:13
The 3 attachments listed above are not really necessary.
And yes, the development of tsMuxeR has stopped (again) and I have included the latest version that works correctly.
As always, thanks for the info, r0lZ!
Was just curious if attachments have any relevance for the playback or not. Assumed not but can't hurt making sure :)
r0lZ
15th November 2015, 11:53
Whenever I try to use a DTS HD or HD MA track I get errors and conversion stops.
Why us a DTS HD / MA stream copy such a problem?
The problem should be fixed in the new version (v0.78).
r0lZ
15th November 2015, 12:23
v0.78 (November 15, 2015)
- Due to problems with the DcaDec DTS decoder, the support for the ArcSoft DTS decoder has been added back. (It has been removed in v0.70.)
- Added the Settings -> Preferred DTS Decoder menu to select the ArcSoft, DcaDec or LibAv DTS decoder.
- Small cosmetic changes
- Fix: The message displayed by the [?] button next to the Convert to AC3 or AAC option in tab 2 was truncated.
- Updated eac3to to the latest version (v3.31) - The DTS decoding problems with DcaDec should be fixed.
- Updated MkvMerge, MkvPropEdit and MkvInfo to the latest version (v8.5.2)
- Due to problems in the latest versions of the Intel MVC decoder, libmfxsw32.dll has NOT been and should not be updated, and is still v6.14.11.28 (28-11-2014).
I have tried to implement a workaround for the problems of the DTS-HD and DTS-HD-MA decoding with eac3to and the new DcaDec DTS decoder (explained in this post (http://forum.doom9.org/showthread.php?p=1745660#post1745660)). The workaround is simply to implement a new option (available via the Settings -> Preferred DTS Decoder menu) to allow the user to select his preferred DTS decoder, instead of forcing DcaDec by default. It is now possible to select the commercial ArcSoft DTS decoder (but only if it is properly installed on your system), the free DcaDec that caused the problems, or the simple but relatively inefficient LibAv decoder. (See the Help item in the Settings menu for more info about the advantages and disadvantage of these decoders.)
But soon after I did that modifications in the code, a new version of eac3to has been released. It includes the latest version of the DcaDec decoder, and that version can now distinguish between a fatal error or a simple warning. Therefore, the small discrepancies in the DTS-HD or DTS-HD-MA streams that caused the previous version of eac3to to fail often are now simply logged in red in the BD3D2MK3D console, but the conversion continues without problem. It should therefore be safe to use the DcaDec DTS decoder by default now. However, I have decided to leave the option to select the preferred DTS decoder, because DcaDec is still a very young decoder, and it may have other bugs. You may also prefer the ArcSoft decoder, if you have it. However, if you don't have the ArcSoft decoder, I recommend to use the DcaDec decoder, at least to decode DTS-HD and DTS-HD-MA audio tracks. (The LibAv decoder should give good results with the standard 5.1 DTS tracks.)
For your information, I have also tried to update the Intel MVC decoder (libmfxsw32.dll) to the latest version (v6.15.6.2), but unfortunately it has a big bug. Some movies cannot be decoded at all, and the decoder outputs only pure black frames! (It's the case, notably, with the US BD3D of Creature from the Black Lagoon.) Therefore, I have tried to replace the DLL with the penultimate version (v6.15.3.12) and that one doesn't output black frames, but it produces strange stuttering in some scenes. I'm not totally sure it's a bug, but the latest version distributed with BD3D2MK3D (v6.14.11.28) works without problem. Therefore, I don't recommend to update yourself the Intel library, unless you want to check yourself if it works for you. (That may be useful if you need to update the drivers for your Intel processor and v6.14.11.28 is not compatible with your hardware.) If someone has good results with the latest versions in hardware mode, please let me know. (If you need a sample, you can download this short extract from Creature from the Black Lagoon (http://download.videohelp.com/r0lZ/tmp/DGMVCSource%20bug%20with%20libmfxsw32%20v6.15.6.2.7z).)
The MkvToolnix exes have also been updated. AFAIK, they do not cause problems! ;-)
As usual, you can download the update here: BD3D2MK3D.7z (http://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)
tebasuna51
15th November 2015, 12:42
...It should therefore be safe to use the DcaDec DTS decoder by default now. However, I have decided to leave the option to select the preferred DTS decoder, because DcaDec is still a very young decoder, and it may have other bugs...
Thanks r0lZ!
I hope than this new version solve the problems detected.
BTW, I encourage the users to use DcaDec to help developers, providing samples, if a new problem is detected.
tomilein
3rd December 2015, 10:10
Hello,
i have a big Problem with Hardcoded Subtitle in my 3d Movies.
I have the Subtitle only in the Left Side but not in the Right Side.(SBS).
Would like to have correct on Right and Left.
My Movie Encode:
http://fs5.directupload.net/images/151201/temp/3vq9un8s.jpg (http://www.directupload.net/file/d/4189/3vq9un8s_jpg.htm)
Another Movie Encode [not from me]:
http://fs5.directupload.net/images/151201/temp/5ddwiwvi.jpg (http://www.directupload.net/file/d/4189/5ddwiwvi_jpg.htm)
Subtitle is available in 3D before i encode this Movie.
I do not know if I need to add what in the Avisynthscript?
http://fs5.directupload.net/images/151201/temp/cj78fd35.jpg (http://www.directupload.net/file/d/4189/cj78fd35_jpg.htm)
Here the generated Avisynthscript:
# Avisynth script generated Tue Dec 01 05:26:56 CET 2015 by BD3D2MK3D v0.78
# to convert "G:\BDMV\PLAYLIST\00100.mpls"
# (referencing the M2TS/SSIF files 00049)
# to 3D Side-by-Side.
# Hardcoded subtitles from file "00100.track_4614.Deu.3D.sup".
# Movie title: test
#
# Source MPLS information:
# MPLS file: 00100.mpls
# Video : Und AVC, 1080p, 23.976 fps, left-eye
# Video : Und MVC, 1080p, 23.976 fps, right-eye (32 3D-Planes)
# Audio : Eng DTS-HD-Master, Multi-channel, 48 Khz
# Audio : Deu DTS-HD-Master, Multi-channel, 48 Khz
# Audio : Spa AC3, Multi-channel, 48 Khz
# Subtitle: Eng PGS, 3D-plane: 1
# Subtitle: Deu PGS, 3D-plane: 1
# Subtitle: Spa PGS, 3D-plane: 2
# Subtitle: Hrv PGS, 3D-plane: 2
# Subtitle: Ell PGS, 3D-plane: 2
# Subtitle: Tur PGS, 3D-plane: 2
# Subtitle: Deu PGS, 3D-plane: 1
# Subtitle: Spa PGS, 3D-plane: 2
LoadPlugin("D:\#Backup#\DVD\BD3D2MK3D\toolset\DGMVCDecode.dll")
#LoadPlugin("D:\#Backup#\DVD\BD3D2MK3D\toolset\FRIMSource.dll")
#LoadPlugin("C:\Program Files (x86)\BDtoAVCHD\MVCSource.dll")
#LoadPlugin("D:\#Backup#\DVD\BD3D2MK3D\toolset\VSFilter.dll")
LoadPlugin("D:\#Backup#\DVD\BD3D2MK3D\toolset\SupTitle.dll")
# Load the two video streams (130771 frames per stream)
interleaved = DGMVCSource("00100.track_4113.264", "00100.track_4114.mvc", view = 0, frames = 130771, hw = 0)
#interleaved = FRIMSource("mvc", "00100.track_4113.264", "00100.track_4114.mvc", num_frames = 130771, cache = 2, platform = "")
#interleaved = MVCsource("00100.track_4113.264", "00100.track_4114.mvc", 130771, 2)
# 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(Left, Right)
AssumeFPS("ntsc_film")
# Hardcode subtitles
#VobSub("00100.track_4614.Deu.3D.sub")
SupTitle("00100.track_4614.Deu.3D.sup")
# Resize to 720p
BicubicResize(1280, 720)
# Return the 3D clip.
Return(last)#.Info()
and here the __ENCODE_3D.cmd
@echo off
set path=D:\#Backup#\DVD\BD3D2MK3D\toolset;%path%
echo Encoding __ENCODE_3D_MOVIE.avs
echo Movie: test
echo Encoding started %date% %time%
@echo on
"D:\#Backup#\DVD\BD3D2MK3D\toolset\avs2yuv.exe" ^
"__ENCODE_3D_MOVIE.avs" -frames 130771 -o - ^
| "D:\#Backup#\DVD\BD3D2MK3D\toolset\x264_x64.exe" ^
--crf 20 --preset medium --tune Film ^
--bluray-compat --profile high --level 4.1 --open-gop --keyint 24 --slices 4 ^
--colormatrix bt709 --colorprim bt709 --transfer bt709 --b-pyramid strict ^
--vbv-bufsize 30000 --vbv-maxrate 40000 --aud ^
--sar 1:1 ^
--frame-packing 3 --qpfile chapters_3D.qpfile --frames 130771 --fps 24000/1001 ^
--output "00100_3D.264" --demuxer y4m --stdin y4m - ^
2>&1 | "D:\#Backup#\DVD\BD3D2MK3D\toolset\tee.exe" ENCODE_3D.log
@echo off
echo Encoding finished %date% %time%
REM Optionnaly mux the video and demuxed streams to MKV.
REM Note: The mux is disabled if no streams are demuxed.
if exist "__MUX_3D.cmd" cmd /c "__MUX_3D.cmd"
REM Everything done: do the post-processing (Shutdown computer...)
if exist "__POSTPROCESS_3D.cmd" cmd /c "__POSTPROCESS_3D.cmd"
exit /B
What am I doing wrong?
r0lZ
12th December 2015, 11:52
This release includes notably the possibility to encode the movie with low CPU priority. It's handy if you want to keep some CPU power to do other tasks while the encoding is in progress. However, do not launch CPU intensive tasks during an encoding in low priority mode, because x264 may stop almost completely. The effect is that the estimated time remaining becomes completely wrong, and, more importantly, that x264 may fail completely. To launch the encoding in low CPU priority mode, just launch __ENCODE_3D_LOW_PRIORITY.cmd instead of __ENCODE_3D.cmd. Of course, it is still possible to change the priority of the x264 task with the Windows Task Manager.
There are also some little enhancements and bug fixes:
v0.79 (December 12, 2015)
- When a stereo DTS or LPCM audio track is converted to AC3 (due to the option in tab 2), the bitrate is now 256 Kbps instead of 640.
- Tools -> Chapters File Converter: Added the possibility to grab the chapter names from the clipboard (one line per chapter)
- Two new batch files are now created, allowing you to launch the 3D or 2D encodings with low CPU priority.
- When the option to "exit and encode after successful demux" is ticked, the encoding is now launched with the low task priority.
- Fix: The character encoding was wrong in the *.cmd files, leading to problems when there were aforeign characters in the file or movie names.
- Fix: The Paste (Control-V) operation in the entry and combo widgets did not work correctly when a part of the existing string was selected.
- Fix: Error when converting subtitles to 3D with the option to search for valid depth values in other 3D-Planes and the OFS files are not in the source folder.
- Updated MkvMerge, MkvPropEdit and MkvInfo to the latest version (v8.6.1)
Enjoy!
Download BD3D2MK3D.7z (http://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)
r0lZ
14th December 2015, 13:18
Subtitle is available in 3D before i encode this Movie.
I do not know if I need to add what in the Avisynthscript?
How is it possible that your post, dated 3rd December, appears only now (14th December)? It was not there when I wrote my previous post about BD3D2MK3D v0.79! Anyway, it's not the question.
If I understand correctly, the 3D subtitle is already present in the original BD? That's really strange. Anyway, if the subtitle has already the right format (3D Half-SBS 1080p), then you don't need to convert it again to 3D. You should replace the file name of the subtitle string in the avisynth script with the original version of the 3D subtitle (or the version with the "2D" extension if you are sure that it is really in 3D). The subtitle shown in the BDSup2Sub image should be OK, but I don't know its file name. So, you should have something like this:
SupTitle("00100.track_4614.Deu.2D.sup")
But I don't understand what you did in the first place, because if BD3D2MK3D has converted the original subtitle to 3D and that subtitle was already in 3D, it should contain 4 times the same subtitles instead of 2 times, and you should see two subtitles at the same time in the two views. But you explain that you "have the Subtitle only in the Left Side but not in the Right Side". That's very bizarre, and therefore I can't guarantee that the change of the filename explained above works as expected.
Note also that if the original subtitle is already in 3D, it has probably not the right depths computed from the 3D-Planes of the BD, and the subtitles may be a pain to read. If you want to be sure to have good results, you should convert yourself a 2D version of the subtitles to 3D with BD3D2MK3D, using a correct 3D-Plane.
Anyway, I'm curious. Can you confirm that the 3D subtitle you are using has been downloaded from the internet? I suppose so. Right?
Also, can you confirm that you have really encoded the movie from the 3D BD with BD3D2MK3D? It seems that the final SBS picture has not the correct 16:9 aspect ratio. The horizontal black borders have been cropped. BD3D2MK3D doesn't allow you to do that stupid thing, because ALL 3D movies MUST be encoded in 16:9. Also, the original movie seems to contain already hardcoded English subtitles. That's very strange too. I have never seen a commercial 3DBD with hardcoded subtitles.
So, if your movie comes from the internet and has not been encoded with BD3D2MK3D, I can't guarantee that the result will be correct, and anyway the D9 rules prohibit to help you for illegally downloaded material. So, sorry, but you will have to find the way to hardcode your 3D subtitles yourself.
Nico8583
14th December 2015, 13:45
How is it possible that your post, dated 3rd December, appears only now (14th December)? It was not there when I wrote my previous post about BD3D2MK3D v0.79! Anyway, it's not the question.
Yes same issue for me :rolleyes:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.