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
6th April 2023, 10:55
In this version, a new Tool has been added, to help the users of the hardware players that do not support correctly one of the 3D format "tags" (the MKV stereoscopy mode and/or the AVC frame-packing), as well as Settings options to not create that tags when a new project is created.

The new Tools -> Modify 3D Format Tags in MKV or AVC can be used to easily either delete, modify or create one or both tags from a 3D MKV or from an AVC (h264) elementary stream. Note that all 3D stereoscopy modes can be defined, including the modes not supported by BD3D2MK3D. That means that the tool can be used to modify a 3D movie downloaded from the internet, or created with another program.

The two options to not include the 3D tags during the creation of a project with BD3D2MK3D are in Settings -> Hardware Players Compatibility Options.

Thanks to Archon for having submitted this problem (at VideoHelp here (https://forum.videohelp.com/threads/395498-BD3D2MK3D-Convert-3D-BDs-or-MKV-to-3D-SBS-TAB-or-FS-MKV-Support-thread/page14#post2684978)) and for his help in finding the culprit. Note that the real culprit is not BD3D2MK3D, but the BigScreen software, unfortunately used by several hardware players, projectors or VR headsets. The new features of BD3D2MK3D are therefore only workarounds for badly written software. If you have such a player, please contact the developers. The 3D tags should normally be present in all good 3D movies !

Note also that I have used the word "Tag" to refer to the two 3D methods to define the correct 3D format, but it's just a shortcut. The 3D stereo-mode in the header of the video track of a 3D MKV should be called "Stereoscopy Video Property", and the AVC frame-packing tag is in fact a series of "SEI messages" inside the video stream itself.


v1.33 (April 6, 2023)
- Added Options -> Hardware Players Compatibility Options as a workaround for serious bugs of some hardware players (notably those based on the Bigscreen software). Thanks Archon!
- Added Tools -> Modify 3D format tags in MKV or AVC to fix the frame-packing and stereo-mode information in any MKV file with an AVC video stream.
- Added Videofan3D's h254Modify.exe in the toolset folder (required for Tools -> Modify 3D format tags in MKV or AVC) as well as sfk.exe.
- Added Help -> Check for Update to easily download the new BD3D2MK3D version (if any). Requires Windows 10 or greater.
- Modified the dead CinDe download link in Help -> Cinavia Detection -> Download CinDe (free) and updated the How to Detect Cinavia? message.
- Updated x264 to the latest version (v0.164.3106)
- Updated x265 to the latest version (v3.5+96)
- Updated mkvtoolnix to the latest version (v75.0.0 'Goliath')


Download the latest version: BD3D2MK3D.7z (https://download.videohelp.com/r0lZ/BD3D2AVS/BD3D2MK3D.7z)

thxoptimizer
19th November 2023, 20:07
Hi,

It has been a long time since I did my last conversion from Blu-Ray 3D.

I have just generated a mkv but with a lot of questions :
1) why the default value is the checkbox "Half" checked by default for side-by-side, I suppose the best is to preserve quality if we can
2) "3-Select stream" tab, I have chosen my subtitles (despite the long explanation not sure to fully understand but anyway...) ==> in "5-Options and Go" tab if we choose "Hardcode subtitles..." it means that subtitles will be always displayed and nothing to select in the player, right?
3) X264 and all the configuration... I have no idea what to choose to have the best quality supported by my Meta Quest 3 headset.

Note : 2 attempts

Default values (Half, X264 to CRF/23) ==> 3,4Go
Full side-by-side + X264 to CRF/17 ==> 15 Go (I can't see any difference in quality in Meta Quest 3)


Thank you.

r0lZ
20th November 2023, 13:32
1) When it's possible, I have adopted the "official" settings by default. Since only Half-SBS and Half-TAB are described officially in the 3D specs, and SBS is much more often used than TAB, it was logical to set Half-SBS as the default.
Furthermore, Half-SBS is fully supported by all 3D devices, such as the 3D TVs. It's not at all the case of Full-SBS (hence the warning).
And finally, the 3D subtitles are not possible for Full-SBS/TAB (except by hardcoding them).

2) Yes, it's correct. And hardcoding a stream is the only way to have the subtitles displayed in 3D,with the correct depth, if you select any Full-* picture format.
Another advantage is that all players will display the subtitles correctly, since they are part of the video. With the 3D subtitle streams and Half-SBS, many players are unable to display them correctly, because they resize or move them elsewhere, or because they cannot display them over the video before splitting the two views.
So, if it's not a problem for you to have the subtitles constantly displayed, I suggest to chose that solution. (In that case, you don't have to select the subtitle stream in tab 2.)

3) In your note, you have yourself replied to the question. CRF 23 is the default, carefully selected by the authors of x264 because it offers a good quality and an excellent compression. Of course, you can lower it more or less to obtain a better quality, but as you wrote, most of the times, the difference is not really visible. Some peoples are obsessed by the file size and think that a small file size is synonym of bad quality. It's mainly wrong. Just do some tests with a small clip, and adopt the settings offering a good balance between quality and size.
Personally, I use often CRF 20 or 21, preset slow.

guest
20th November 2023, 13:39
Just a quick question about MVC 3D's.

How to keep that, and not converting to other types.

kempodragon
20th November 2023, 21:38
Regarding full SBS vs. half SBS, I have the Quest 1 and have always used full SBS for my 3D videos. The Quest is essentially a video version of the old Viewmaster. I use the Skybox app to play them with no problems. The only thing I wish that Skybox could do is play sequential 3D so I could compare SBS vs sequential.

thxoptimizer
21st November 2023, 09:12
Thanks r0lZ for you answers.


Regarding full SBS vs. half SBS, I have the Quest 1 and have always used full SBS for my 3D videos. The only thing I wish that Skybox could do is play sequential 3D so I could compare SBS vs sequential.
I moved from Quest1 to Quest3 and from my experience, even with this gap of quality of the screen I couldn't see any difference from default settings (half SBS) to better settings (like full SBS).

PS : I think headsets like Quest doesn't have to play sequential 3D like old 3D Tvs with active glasses (1 time for left eye / one time for right eye) because or 2 eyes could receive a different image at the same time in these headsets

r0lZ
21st November 2023, 09:38
Just a quick question about MVC 3D's.

How to keep that, and not converting to other types.
MakeMkv does it. But be warned: only a couple of players can play the AVC+MVC MKV in 3D. Almost all players ignore the MVC stream and play only the AVC in 2D. And, of course, the file size will not be reduced.

If you want a better compatibility, a backup of the original BD3D might be a good solution.

r0lZ
21st November 2023, 09:54
PS : I think headsets like Quest doesn't have to play sequential 3D like old 3D Tvs with active glasses (1 time for left eye / one time for right eye) because or 2 eyes could receive a different image at the same time in these headsets
Correct.
What's more, I think that FS gives poorer quality than FSBS for the same size, because the encoder isn't designed to calculate motion vectors taking only every other frame into account. The fact that large parts of the image are moving between each frame, even when there is no camera movment, must therefore greatly complicate the encoding, and make it less efficient. This problem does not exist with FSBS.

thxoptimizer
21st November 2023, 10:27
Correct.
What's more, I think that FS gives poorer quality than FSBS for the same size, because the encoder isn't designed to calculate motion vectors taking only every other frame into account. The fact that large parts of the image are moving between each frame, even when there is no camera movment, must therefore greatly complicate the encoding, and make it less efficient. This problem does not exist with FSBS.

Interesting! During all these years you have learned deep about all these settings and now I see that default values have been carefully chosen ;-)
We have a lot of options everywhere not always easy to understand but the most important is that if we don't have any reason to modify something, there isn't anything to modify!

thxoptimizer
28th November 2023, 10:35
https://ibb.co/VxFD0fZ
https://ibb.co/VxFD0fZ
:(

We cannot rip easily from commercial Blu-Ray we bought...

Does it mean that if I have AnyDVD, BD3D2MK3D will work directly from the disk?
But it's not free...

It seems there is a solution with VLC to rip ISO but even after adding keydb.cfg and libaacs.dll I can read the disc but not extract ISO (and if I could, note sure it would remove any protection).

Last option MakeMKV : I tried to extract everything before undestanding that I can't do anything with that (only Blu-Ray or mkv for BD3D2MK3D).
Trying to generate this MKV from MakeMkv (but I don't understand why I would need BD3D2MK3D after)...

von Suppé
28th November 2023, 12:59
Use MakeMKV. It's free while in beta

thxoptimizer
28th November 2023, 15:34
Use MakeMKV. It's free while in beta
I hope, I read something about a code to find on the forum.

Anyway I have created the big mkv and then put it into BD3D2MK3D.
It seems OK : video and audio in DTS HD Master audio displayed on my amplifier.
So it means that except it takes more time MakeMKV + BD3D2MK3D can always do the job with no limitation at all?

I will try another one with subtitles...

By the way I watched Turbo with subtitles yesterday (ISO==>BD3D2MK3D==>mkv SBS) and many times I found issues with the 3D of these subtitles ==> it "destroyed" my eyes when it happened.

r0lZ
29th November 2023, 15:18
BD3D2MK3D is not a ripper. It's a converter to create a 3D MKV playable with most hardware or software players. So, indeed, you need another tool to remove the protection of your original, protected BD3D. AnyDVD and MakeMKV are good solutions, but as you know, AnyDVD is not free. I don't know if VLC can do the job.

MakeMKV doesn't convert the original format. It encapsulates it only in a MKV container. The 3D BD format is rather complex, with 2 video streams encoded differently. The AVC stream is just like the video stream of a 2D BD, and can be played with almost all players, but in 2D only. The MVC stream is used to encode the stream for the other eye. It is much more difficult to decode, because it requires to decode also the AVC stream, at the same time. For that reason, only a few players can decode the AVC+MVC format. The MKV files created by MakeMKV contains the AVC and MVC streams, unmodified (but unencrypted), and are therefore very difficult to play. Also, since the streams are just copied, without re-encoding, in a MKV container, they use the same disc space than in the original BD.

In the other hand, the MKV files produced by BD3D2MK3D are encoded in universally recognised formats, such as Half-SBS. And, since the video has to be re-encoded, you can specify the quality or file size you want.

Of course, if you have a 3D player that can play the AVC+MVC MKV and you don't care about disc space, use MakeMKV, as you will keep the original quality. But it's a very, very rare situation, and most users need to encode in SBS or TAB format. Hence the usefulness of BD3D2MK3D. :-)

r0lZ
29th November 2023, 15:26
The 3D subtitles are also complex, as they are stored in the original BD in a format impossible to put in a MKV container. It's why BD3D2MK3D has an option to convert them to 3D. Be sure to enable that option (in tab 2) and to display the 3D subtitles properly with your player. If your player doesn't support them or display them incorrectly, I recommend to hardcode (aka burn) them on the video. See that option in the last tab. Burned 3D subtitles are always displayed correctly, regardless of the player, but of course, they cannot be turned off.

thxoptimizer
29th November 2023, 16:26
MakeMKV doesn't convert the original format...
OK for that.
What I don't understand is why the mkv generated by MAKEMKV doens't have any copy protection as BD3D2MK3D is able to process it for the final SBS mkv?

thxoptimizer
29th November 2023, 16:31
The 3D subtitles are also complex (...) It's why BD3D2MK3D has an option to convert them to 3D(...) in tab 2
https://ibb.co/QfYCRmL
https://ibb.co/QfYCRmL
I am not sur to know what to configure (what should I do in such case, cf screenshot)?

If your player doesn't support them or display them incorrectly, I recommend to hardcode (aka burn) them on the video.
OK for that; I will always prepare my mkv like that in order to avoid any problem.

r0lZ
30th November 2023, 10:08
MakeMKV is a ripper, like other similar programs. It creates a MKV instead of an ISO, but it's the only difference. Personally, I don't want to add the decryption in BD3D2MK3D (and in PgcEdit) for legal reasons.

r0lZ
30th November 2023, 10:29
https://ibb.co/QfYCRmL
https://ibb.co/QfYCRmL
I am not sur to know what to configure (what should I do in such case, cf screenshot)
3D only, like in the screenshot, is OK, as you will be sure that the subtitles you will select during the playback are in 3D. However, usually, I recommend to add also the 2D subtitles, often necessary if the player cannot display correctly the 3D subtitles. In that case, the 2D subtitles are better than nothing, although they are extremely unpleasant to watch, and are even a torture for the brain.

The problem is that there are two ways to display the subtitles on a SBS movie. The combined, side by side views must be split (and resized) to be displayed separately to the two eyes. The 3D subtles made by BD3D2MK3D must be processed the same.way. In other words, they must be displayed over the SBS images, before the split. In the other hand, the 2D subtles must be displayed identically over the two views, after the split. Not all players can do the two methods, and it's why using the 2D and 3D subtitles can be a good idea.

Unless, of course, you burn the 3D subtitles to the video with BD3D2MK3D. It's similar to the first method of displaying them before the split, except that the player has nothing to do, and you can be sure that the subtitles will be shown with the correct 3D depth.

Note that, if you burn the subtitles, you don't have to enable them in tab 2.

thxoptimizer
30th November 2023, 11:19
Note that, if you burn the subtitles, you don't have to enable them in tab 2.
I had understood everything so far ^^
If I burn the subtitles (tab 4), I have to choose them anyway in tab2 so I am confused...
You mean I dont' have to select the "default" radio button?

r0lZ
30th November 2023, 13:06
If I burn the subtitles (tab 4), I have to choose them anyway in tab2 so I am confused...
No, as I wrote above, you don't need to select the subtitles in tab 2 if you burn them. When you burn a subtitle stream, it doesn't make sense to add other subtitles with tab 2, as they will be displayed over the burned subtitles, and they will be difficult to read. However, it is possible to burn a stream AND select one or several other streams in tab 2, as some users want to be able to display also, for example, the subtitles for the director comments. But that requires some knowledge, as it will be vecessary to change the location of the second stream, so that it will not be mixed with the burned subtitles. So, in most cases, you have to chose to burn a single stream (and ignore tab 2) or to select one or several streams in tab 2, and ignore the option to burn a stream.


You mean I dont' have to select the "default" radio button?
The Default option is useful only if you don't burn a stream, AND you select several streams in tab 2. The stream marked as default will be the first subtitle stream in the MKV, and will be tagged as default. Most players will select that stream automatically, and you will not have to enable it manually. Again, like all other subtitle related options in tab 2, that option is useless if you burn a stream, as the burned stream will be displayed anyway, and cannot be removed.

So, to keep things simple, if you use the hardcode option, do not enable any subtitle stream in tab 2, and pay attention to the audio stream(s) only.

Note that the Default option is useful also if you include several AUDIO streams in tab 2. It is necessary to tell the player what audio stream you want by default.

thxoptimizer
30th November 2023, 14:28
Understood :thanks:

BD3D
11th December 2023, 12:05
First of all heavy thanks to r0IZ for your tool and keeping 3D-video alive.

I have a huge collection of 3D-BR and would like to recode them to save space but I want to keep the best quality.
This leads to my question: After ripping the disks mit MAKEMKV can I recode them with BD3D keeping the same 3D-FullHD-picture an being able to view them on my FullHD-3D-TV and beamer? Which is the "correct" format I have to use with BD3D2MK3D?

Thanks a lot for helping

r0lZ
12th December 2023, 12:55
Thanks for the thanks!

To keep the full HD format, use Full-SBS or Full-T&B. Just be sure to untick the Half- option in the last tab.

The picture quality is also determined by other settings. The most important one is the CRF value. The lower the best. CRF 0 is lossless, but the file size is terrible, larger than the size of the two original video tracks together. The default 23 compresses very much, and you may prefer to lower that value. IMO, it is useless to use a CRF value less than 15, and personally, I use 18 only when the quality is very important.

You may also want to try to encode with x265. It compresses much more for the same video quality, but it is very slow and the HEVC video it produces is much more difficult to decode, and is not supported by pre-Ultra-HD hardware players. Its default CRF value is 28.

Anyway, I suggest to do a quick test to check if your TV supports the encoding format and its settings, and if you like the quality. If you don't have a small clip to test, you can lower the number of frames to encode in the __ENCODE_3D.cmd file.

Have fun with your 3D movies!

Enet47
6th January 2024, 13:59
First of all heavy thanks to r0IZ for your tool and keeping 3D-video alive.

I have a huge collection of 3D-BR and would like to recode them to save space but I want to keep the best quality.
This leads to my question: After ripping the disks mit MAKEMKV can I recode them with BD3D keeping the same 3D-FullHD-picture an being able to view them on my FullHD-3D-TV and beamer? Which is the "correct" format I have to use with BD3D2MK3D?

Thanks a lot for helping
Following on from @R0lZ's comments I have done exactly what you are asking and ended up not having to upgrade my disc storage after saving Terrabytes of discs space. After literally encoding dozens of discs here are some thoughts.

- H265 does rip to even smaller sizes than the equivalent H264 setting. But it does take much, much longer than H264 to encode the same file at similar settings.

- H265 is not exactly the same quality because of macro-blocking in low light scenes. It doesn't affect most movies but there are some where you will notice it, especially on a large screen.

- Because of the above points, I reverted back to using H264.

- Depending on your quality acceptance I found that a minimum saving of 10GB per file works well. On average I save around 15GB per movie. Some movies can go well beyond this saving around 20GB on a 30GB file.

- For the more tricky movies or where I want the absolute best quality then 10GB (or less) works well. It's probably wasting a few GB but on average you will save more than enough per movie for it not to be an issue.

- Before you ask. If you are using CRF (which you should) I don't know of anyway to specify how much you save. But around CRF 18-22 is a decent range depending on the options you choose. Although for some movies I have gone as low as CRF 16. Others I had added extra command line options or changed the tuning.

HtH :)

thxoptimizer
7th January 2024, 19:48
Hi,

I have issues with 2 movies in ISO (not really from my own physical disc...).

BD3D2MK3D
*** Done. AviSynth script and batch files generated.
Done with errors!
* DTS-HD stream (track 3): bad frame detected at position00:00:01,151. Resync stream.
(...)
* Warning: The AVC and MVC video streams do not have the same number of frames: 25117 and 25390. That means that the two streams are probably not synchronised properly, and that encoding this playlist to SBS or T&B may fail.
The script will be generated anyway.
Launch "__ENCODE_3D_LAUNCHER.cmd" to encode the 3D video (and optionally mux to MKV).
*******************************************************************************
(BD3D2MK3D) 1 %

But it's not only BD3D2MK3D to be honnest :
VLC seems to start movie and 2s after (even if I have Java on my computer) :
Java required:
This Blu-ray disc requires Java for menus support.Java was not found on your system.

MAKEMKV
a lot of errors also in the logs (udf: node fe/efe failed! orThe source file '/BDMV/STREAM/00800.m2ts'is corrupted or invalid in offset 118265856), no MKV generated

==>I suppose I can't do anything with that and I have just to send it to trash

von Suppé
8th January 2024, 13:44
MAKEMKV
a lot of errors also in the logs (udf: node fe/efe failed! orThe source file '/BDMV/STREAM/00800.m2ts'is corrupted or invalid in offset 118265856), no MKV generated
Did you try to make a full disc backup with MakeMKV and import this in BD3D2MK3D?

thxoptimizer
9th January 2024, 11:08
Did you try to make a full disc backup with MakeMKV and import this in BD3D2MK3D?

That's what I said :
a lot of errors also in the logs (udf: node fe/efe failed! orThe source file '/BDMV/STREAM/00800.m2ts'is corrupted or invalid in offset 118265856), no MKV generated

von Suppé
9th January 2024, 12:36
I doubted because of the "no mkv generated".

Probably you have a bad or dirty disc. Try cleaning it and rip again.

thxoptimizer
18th January 2024, 19:37
FIFA 20210 (Blu-Ray) ==> MAKEMKV (if I read with VLC, no subtitle displayed) ==> BD3D2MK3D :
https://ibb.co/6NMv0XL
(it seems I cannot post image... it says that 1280x720 is an exotic resoltion to summurize)

1) nevermind for the subtitles, I can choose my langage
2) even before converting with BD3D2MK3D the subtiles are not working on initial MKV created with MAKEMKV

Result on Quest3 / Skybox : the reading of this movie is the only one to be jerky.

thxoptimizer
15th May 2024, 19:26
Good news : MakeMKV has published a new license key after several weeks after the previous expired
Bad news : it is only valid until end of June 2024 (usually I think it was 1 year...)
So it's time to rip all my collection to convert it with BD3D2MK3D!

r0lZ
15th May 2024, 20:33
==>I suppose I can't do anything with that and I have just to send it to trash
Unfortunately, you are probably right. Bad ISO are common on the Internet, and it is usually impossible to convert them correctly. Sorry.

Enet47
16th May 2024, 10:31
Good news : MakeMKV has published a new license key after several weeks after the previous expired
Bad news : it is only valid until end of June 2024 (usually I think it was 1 year...)
So it's time to rip all my collection to convert it with BD3D2MK32!
The license has never been a year. It's mostly been a month although recently it has been up to two months.

thxoptimizer
22nd May 2024, 20:51
https://ibb.co/fCLpMg9
Le titre #00081.m2ts a une longueur de 1 secondes, inférieure à la longueur de titre minimale de 120 secondes et a donc été ignoré
Opération parfaitement achevée
Enregistrement de 1 titres dans le répertoire E:/Vidéo/Harry Potter and the Deathly Hallows- Part 2
Erreur 'Erreur SCSI - ILLEGAL REQUEST:ILLEGAL MODE FOR THIS TRACK' survenue à la lecture de '/BDMV/STREAM/00096.m2ts' à l'offset '12866156544'
Erreur 'Erreur SE - La demande spécifiée n’est pas une opération valide pour le périphérique cible' survenue à la lecture de '\Device\CdRom0' à l'offset '12866156544'
Erreur 'Erreur SCSI - NOT READY:CANNOT READ MEDIUM - INCOMPATIBLE FORMAT' survenue à la lecture de '/BDMV/STREAM/00096.m2ts' à l'offset '12909674496'
...
Échec à l'écriture du titre 1 dans le fichier E:/Vidéo/Harry Potter and the Deathly Hallows- Part 2/Harry Potter and the Deathly Hallows- Part 2_t01.mkv
Encountered 63 errors of type 'Read Error' - see http://www.makemkv.com/errors/read/
0 titres écrits, 1 en échec

:(
I suppose there is nothing I can do with Harry Potter dics I bought with MakeMKV : usually it works but not for this movie...

r0lZ
23rd May 2024, 07:41
Indeed, it seems that your BD is seriously damaged. Try cleaning it, or post the log on a forum dedicared to MakeMKV. They may be able to help.

thxoptimizer
26th May 2024, 19:45
Previous movie HS even after cleaning the disc...studio must not complain if users don't buy their products if they are useless a few years later...

Nevermind, another disc working fine on my player in my living room, this time provokink errors in B23D2MK3D when I want to make my MKV version of it
tsMuxeR has crashed (...) If you with, BD3D2MK3D can now try to demux the streams with eac3to instead of tsMuxeR (...) it's the last chance to scucceed

And finally
*** eac3to ERROR: This audio conversion is not supported

r0lZ
26th May 2024, 20:07
Not sure it's an acceptable solution for you, but try to deselect the audio stream that isn't accepted by eac3to. Maybe it's the same stream that tsMuxer don't like.

thxoptimizer
27th May 2024, 06:19
Not sure it's an acceptable solution for you, but try to deselect the audio stream that isn't accepted by eac3to. Maybe it's the same stream that tsMuxer don't like.

I tried again with french audio instead of english audio and it worked.
Strange what happened with this audio track that has a similar codec than many other Blu-Ray (maybe to high flow rate? For information it was IMAX Hubble)

r0lZ
27th May 2024, 08:48
Good news. If you need the English audio, you can perhaps demux it with another tool, and mux it with the final MKV with MkvToolnix. But honestly, I don't know what tool should be used for the demux.

Emulgator
27th May 2024, 17:30
I would suggest to try DGDemux.

vadlerg
19th June 2024, 11:51
I'm sorry bothering You @r0lZ and the community with this off-topic. I need 3D expertise in decoding 3D MVC question.
The CoreELEC (https://discourse.coreelec.org/t/3d-frame-packed-mvc-output-with-coreelec/9395/284)team succeeded to implement decoding 3D MVC on hardware level on Amlogic platform.
I've observed purple HALO on the right side picture when decoding so-called 3D full MVC movies. 3D MVC DTS Paint Symphony (https://kodi.wiki/view/Samples#3D_Test_Clips)
Left eye:https://discourse.coreelec.org/uploads/default/optimized/3X/0/7/07bdbfb41046e9351b283dcf8de036b69d2ce276_2_665x500.jpeg
Right eye:https://discourse.coreelec.org/uploads/default/optimized/3X/3/0/30c8050eeb86c2ac6728c07cd90452c985f86b6a_2_665x500.jpeg
When the device decoding normal 3D Blu-ray ISO files, I see no such purple ghosting, everything goes all right.
The TV is an LG 65UH950V.

Do You have any idea what and where goes wrong?

r0lZ
19th June 2024, 13:12
Sorry, no idea. Probably a bug in the decoder. Try to contact the dev team.

albain
30th June 2024, 15:29
Hi @r0lZ,

I just discovered your tool and I am very interested in its features. I have a collection of 3D blurays to play with my projector. The only issue with 3D projectors is that they don't offer motion interpolation (MEMC) in 3D mode.
Some people don't care about it, some people hate MEMC, but I love it : having smooth motions is a great benefit especially in 3D. Anyway I found a solution for this : a software called SVP for Smooth Video Project (see my post about it https://www.svp-team.com/forum/viewtopic.php?pid=84997#p84997 and the project page https://www.svp-team.com that explains all). It can generate motion interpolation during playback or transcode videos to make a 60FPS smooth video from a 24P one, but not for 3D content.
This is where your wonderful software comes : convert a H264 MVC 3D bluray to a full resolution side by side or top/bottom video file. This is a format that SVP can handle for transcoding.

So what I am doing is :
1/ Use your software to generate the MKV3D subfolder with all the demuxed files and scripts.
2/ I modify manually the AVS script to call the SVP library and interpolate frames : this is the part where a 24fps video can become a 60FPS or 120FPS depending on the applied settings
3/ I launch your generated command line script that will encode the new video

I would like to incorporate this part of the script described in my post automatically. Is there a template for this, or maybe this is a feature request : I need to add some actions between the decoding and the Return call.
This can be interpreted as a post-processing template.


I can help on tests & development if you want
Thank you

r0lZ
30th June 2024, 18:11
I see. Honestly, I'm not sure I will do that myself, as currently, I don't work much on BD3D2MK3D anymore. Furthermore, I don't like the idea to add code for a non-free tool.

But perhaps you can simplify your work by defining your interpolate() function in a .avsi plugin (loaded automatically when avisynth starts if you place it in the right directory). Then, you will just have to replace the Return(last) line in the original .avs script with your call to your function.

Anyway, please test if you can manage to put interpolate() in an independent plugin script, and if you can easily call it with a SINGLE call. That means that the combined SBS clip will have to be converted with SVP, rather than the two views independently. If it's possible, I will see if it is possible to determine if a function with a specific name (for example BD3Dpost_process(clip)) exists, and call it automatically from __ENCODE_3D_MOVIE.avs if it's the case.

I must verify that, but that could be as simple as this:
try {
BD3Dpost_process(last)
} catch (err_msg) {
# (ignore)
}
return(last)

Note also that normally, you should edit also the files __ENCODE_3D.cmd and __MUX_3D_OPTIONS.json to modify the framerate values (respectively the --fps and --default-duration arguments).

albain
1st July 2024, 10:11
Hi again,

I understand your position about not including code for specific commercial tools, this is the reason why I considered this request as a template to call a postprocess function with the input clip as parameter, as you mentioned it.

Otherwise you were right about the additional needed modifications : I got a 24fps video, so I had to modify also the --fps and --default-duration arguments.
There is a 30/60fps checkbox in the UI but that does not seem to apply the 60fps setting, at least when I untick the "half" checkbox to get full resolution.
Anyway with these additional modifications it works.

I was able to make the script load automatically when placing it in the plugins folder (defined by registry key of AVISynth)

So to summarize, it all works with a few manual steps, and it would be great to have those 2 features :
- Calling a post processing AVS method in the workflow (with the clip of with left and right pictures in 2 arguments ?)
- Being able to set output framerate (in my case to match the 60fps projector capabilities)

Thank you and I have dev skills (in C/C++/C#/Java) so maybe I can help !

r0lZ
1st July 2024, 10:53
Well, perhaps I'll do it, but certainly not soon.
The framerate problem is very annoying, as if it is necessary to change it for YOUR needs, another post processing script may require another modification (such as the aspect ratio after a crop operation). I cannot add options for all possible needs!
Also, why do you need to process the two views independently? SVP is not able to interpolate the combined output stream directly?

albain
1st July 2024, 10:59
Well, perhaps I'll do it, but certainly not soon.
The framerate problem is very annoying, as if it is necessary to change it for YOUR needs, another post processing script may require another modification (such as the aspect ratio after a crop operation). I cannot add options for all possible needs!
Also, why do you need to process the two views independently? SVP is not able to interpolate the combined output stream directly?

I thought that framerate control would be more common usage than just mine : most DLP projectors run at 60FPS so I guess it would be a benefit.

I am not sure about the need to process the 2 frames independantly, actually it works with one global frame. I just thought that interpolation would be more efficient if calculated separately but again this seems to work fine with the full clip

One future use, or maybe not depending on its success : with the new Apple vision headset, the HEVC MVC codec has been standardized, and the movies (accessible through location or buy) are in 60FPS + 4K resolution like in some theaters

albain
1st July 2024, 17:38
Hi again (sorry for spam),

is it possible to user hardware encoders (nvenc of intel quicksync) in the chain (with avisynth) ?

Thank you

r0lZ
1st July 2024, 17:59
I thought that framerate control would be more common usage than just mine : most DLP projectors run at 60FPS so I guess it would be a benefit.

60 fps can be useful in some specific cases, but it is not sufficient to just change the frame rate in the video and MKV settings. You have to convert the original video somehow (for example wits SVP), or the movie will play at a crazy speed, and the audio will be completely out of sync. It's why adding an option to force 60fps (or any other frame rate) might be confusing for most users, and useful only in some extremely rare cases, like yours.

Furthermore, I wrote BD3D2MK3D with the de-facto 3D standard in mind, and at least when I wrote it, it implied 23.976 fps, half-sbs, 16:9 aspect ratio (with the black borders if necessary), the h264 codec, and so on. I agree that there are now some new possibilities, but they require specific hardware or software, and are therefore not universal at all. I may be tempted to implement some of them, but they should stay easy to understand and use by a casual user.

r0lZ
1st July 2024, 18:06
Hi again (sorry for spam),

is it possible to user hardware encoders (nvenc of intel quicksync) in the chain (with avisynth) ?

Thank you
Yes (https://forum.videohelp.com/threads/395498-BD3D2MK3D-Convert-3D-BDs-or-MKV-to-3D-SBS-TAB-or-FS-MKV-Support-thread/page17#post2726051).

albain
2nd July 2024, 08:37
Thank you for your replies

One last thing : I have applied the modified settings on fps and duration (in json mux options, and in encoding command) but I have audio out of sync.
Do you know what have I missed ?

Thanks