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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th December 2017, 01:19   #1341  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
I see. Unfortunately, there is nothing I can do, except release a new version of BD3D2MK3D with the last good x264, or wait the next x264 version and hope that it will be fixed. Anyway, the problem doesn't come from my code, as nothing has changed in the x264 command and the way it is launched.

Perhaps you could try to contact the x264 devs ? I can't do it myself, as I don't have the problem. And I will be grateful if you can check the next stable release of x264 before I release it with BD3D2MK3D.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 8th December 2017, 10:31   #1342  |  Link
Wildfire
Registered User
 
Join Date: Apr 2003
Location: the Netherlands
Posts: 151
Hmmm.... tried a new encode and while I absolutely swear I had x264 crashes before, now avs2yuv.exe crashes...

From Windows log files (in Dutch, but the relevant parts will be understandable):

Quote:
Naam van toepassing met fout: avs2yuv.exe, versie: 0.0.0.0, tijdstempel: 0x4228f465
Naam van module met fout: ntdll.dll, versie: 10.0.16299.64, tijdstempel: 0xac8afc81
Uitzonderingscode: 0xc0000005
Foutmarge: 0x0003f500
Id van proces met fout: 0x2060
Starttijd van toepassing met fout: 0x01d37006d002b8e3
Pad naar toepassing met fout: C:\Program Files (x86)\BD3D2MK3D\toolset\avs2yuv.exe
Pad naar module met fout: C:\Windows\SYSTEM32\ntdll.dll
Rapport-id: e0af5b8c-0f0a-4cad-8098-85fd22ef646b
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:

Quote:
Foutbucket 1460961521198399896, type 1
Naam van gebeurtenis: APPCRASH
Antwoord: Niet beschikbaar
Id van CAB-bestand: 0

Handtekening van probleem:
P1: avs2yuv.exe
P2: 0.0.0.0
P3: 4228f465
P4: ntdll.dll
P5: 10.0.16299.64
P6: ac8afc81
P7: c0000005
P8: 0003f500
P9:
P10:

Toegevoegde bestanden:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4A2B.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4C7F.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4C8A.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4CCA.tmp.txt

Deze bestanden zijn mogelijk hier beschikbaar:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_avs2yuv.exe_81c98f127b2e509fff6fa7907dd996155560da26_b83b6774_2f30597b

Analysesymbool:
Opnieuw zoeken naar oplossing: 0
Rapport-id: e0af5b8c-0f0a-4cad-8098-85fd22ef646b
Rapportstatus: 268435456
Opgedeelde bucket: 55069c1852968d10c44660c3558b8198
Wildfire is offline   Reply With Quote
Old 8th December 2017, 12:52   #1343  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
OK, that seems to confirm that there is something wrong with avisynth or the original BD (or 3D MKV).

If you use the 32-bit version of x264 (not x265), avs2yuv is not necessary and therefore not used. x264 loads the avisynth script directly. It might be a good idea to test that with the same source, as we will know if avs2yuv is the culprit.

Also, you can try to use another version of avs2yuv. There are 4 versions here. Of course, the 64-bit version is not suitable. The version distributed with BD3D2MK3D is 0.24, but its size is 52KB. All komisar builds have a different size, so try the 3 32-bit versions.

I note also that ntdll.dll is involved in the crash. Perhaps it is the real culprit. Could it be caused by a recent M$ update ? What version of Windows do you use ?
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 8th December 2017, 22:50   #1344  |  Link
Wildfire
Registered User
 
Join Date: Apr 2003
Location: the Netherlands
Posts: 151
I'm on Windows 10 Pro 64-bit, fully up-to-date (Fall Creators Update including all updates up to today).

I managed to get a x264 crash. It crashes when starting the 2nd pass... and that's with the 32-bit x264.

Quote:
Naam van toepassing met fout: x264_8bit_x86.exe, versie: 0.152.2851.0, tijdstempel: 0x59581c4e
Naam van module met fout: x264_8bit_x86.exe, versie: 0.152.2851.0, tijdstempel: 0x59581c4e
Uitzonderingscode: 0xc0000005
Foutmarge: 0x0002199e
Id van proces met fout: 0x1278
Starttijd van toepassing met fout: 0x01d37012a63aefb1
Pad naar toepassing met fout: C:\Program Files (x86)\BD3D2MK3D\toolset\x264_8bit_x86.exe
Pad naar module met fout: C:\Program Files (x86)\BD3D2MK3D\toolset\x264_8bit_x86.exe
Rapport-id: fd94f01d-190b-4506-b020-f73162ef25f7
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:
Quote:
Foutbucket 1409739612789152407, type 1
Naam van gebeurtenis: APPCRASH
Antwoord: Niet beschikbaar
Id van CAB-bestand: 0

Handtekening van probleem:
P1: x264_8bit_x86.exe
P2: 0.152.2851.0
P3: 59581c4e
P4: x264_8bit_x86.exe
P5: 0.152.2851.0
P6: 59581c4e
P7: c0000005
P8: 0002199e
P9:
P10:

Toegevoegde bestanden:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8597.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8A3D.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8A49.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8A88.tmp.txt

Deze bestanden zijn mogelijk hier beschikbaar:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_x264_8bit_x86.ex_d7f63a3eaf768c27dd490e86c91523ad361c83_7283c821_12b59025

Analysesymbool:
Opnieuw zoeken naar oplossing: 0
Rapport-id: fd94f01d-190b-4506-b020-f73162ef25f7
Rapportstatus: 268435456
Opgedeelde bucket: 8f75c02b66029f43539066b56e181a97
(and, as stated before, the issue also occurs on another computer, so a software issue seems most likely)

Last edited by Wildfire; 8th December 2017 at 22:52.
Wildfire is offline   Reply With Quote
Old 9th December 2017, 12:02   #1345  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
Yes, it seems that it's x264 that has a bug, but if x264 crashes sometimes then avs2yuv or even ntdll.dll, it is not easy to know where the bug really is. Is your other machine also running Windows 10 ?

Usually, I encode in CRF, but to check if I can reproduce the problem, I have just finished a 2-pass encoding of a (very small) clip, and it has not crashed. I'm still using Win7 (64-bit) because Win10 is currently still very unstable, and I hate that OS. Maybe there is something specific in Win10 that is not compatible with x264 ? But I suppose that someone else using Win10 and having experienced similar problems would have replied to this thread. It's why I persist to think that there is something wrong with your machine(s). The question is what !

Also, may I know why you encode in 2-pass ? As I've already explained several times (for example here), it is always a bad idea to use 2-pass, unless you need to control exactly the final file size (for example to burn the final MKV on a DVD). So, if it's when starting the second pass that x264 crashes, I strongly suggest to use CRF instead. You will obtain a slightly better quality for the same file size, and no crash any more! ;-)

But of course, it will be better to know why the crash occurs...
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th December 2017, 14:57   #1346  |  Link
Wildfire
Registered User
 
Join Date: Apr 2003
Location: the Netherlands
Posts: 151
Quote:
Originally Posted by r0lZ View Post
Yes, it seems that it's x264 that has a bug, but if x264 crashes sometimes then avs2yuv or even ntdll.dll, it is not easy to know where the bug really is. Is your other machine also running Windows 10 ?

Usually, I encode in CRF, but to check if I can reproduce the problem, I have just finished a 2-pass encoding of a (very small) clip, and it has not crashed. I'm still using Win7 (64-bit) because Win10 is currently still very unstable, and I hate that OS. Maybe there is something specific in Win10 that is not compatible with x264 ? But I suppose that someone else using Win10 and having experienced similar problems would have replied to this thread. It's why I persist to think that there is something wrong with your machine(s). The question is what !

Also, may I know why you encode in 2-pass ? As I've already explained several times (for example here), it is always a bad idea to use 2-pass, unless you need to control exactly the final file size (for example to burn the final MKV on a DVD). So, if it's when starting the second pass that x264 crashes, I strongly suggest to use CRF instead. You will obtain a slightly better quality for the same file size, and no crash any more! ;-)

But of course, it will be better to know why the crash occurs...

Windows 10 unstable? Not in my experience, in fact it's the exact opposite: it's really stable. Both my computers (yes, both Windows 10) run really smooth, I have no problems at all other than some crashes with BD3D2MK3D. And those crashes started occuring recently on both systems (before that, I already did dozens of encodes on both machines without any problem at all), although I cannot pinpoint exactly when that was...

To be sure, recently I performed several hardware tests (storage, memory, CPU) and no problems popped up. Even under extreme stress my system runs fine and no CPU overheating or anything like that.

Why 2-pass? Well, you may explain CRF into the most obscure details if you want, but I still think that 2-pass encoding at best settings just "feels" better to me. Also, I really like having a predictable file size even though the encodes go to my NAS which has ample storage space.
Wildfire is offline   Reply With Quote
Old 9th December 2017, 15:50   #1347  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
I have not a great experience of Win10 (although I have a partition with Win10 on the Win7 PC but I don't use it often). But I follow the RSS feed of The Windows Club, and although they are real M$ enthusiasts, almost every day they reveal a new problem with Win10. In the other hand, Win7 is old, but without the garbage of the new Windows "universal" apps, and totally stable (although they have made a questionable update recently). Anyway, on my machine, I can't reproduce the x264 problem. I must agree that that doesn't mean that it is more stable because the problem might be caused by other things (the CPU for example), but in the absence of another explanation, I must accuse the OS.

According to the x264 authors themselves, 2-pass is slightly less good because specifying a bitrate constraints the encoding between rigid walls. CRF use exactly the same encoding algorithms, but without any constraint. It is therefore free to use the most appropriate bitrate during the whole movie. 2-pass is of course much better than 1-pass ABR because the first pass is used to evaluate approximately what bitrate to use for the different parts of the movie, but it cannot predict exactly the final bitrate. Hence the slight quality difference with CRF. Unfortunately, there are many web sites that suggest to use 2-pass for the best quality, but it's because they are not well informed or their suggestions apply only to encoders without CRF (like the old encoder of DVDFab that had only 1 or 2-pass). Anyway, I just wanted to suggest to use CRF to avoid the crash during the second pass. You are of course free to use 2-pass if you want.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 15th December 2017, 22:10   #1348  |  Link
viperlogic
Registered User
 
Join Date: Dec 2017
Posts: 2
Getting x264 crashes on both win7 (32-bit) and win10 (64-bit) immediately when running __encode_3D.cmd. Windows pop up window of "H.264 (MPEG-4 AVC) encoder has stopped working".

Win7....
Problem signature:
Problem Event Name: BEX
Application Name: x264_8bit_x86.exe
Application Version: 0.152.2851.0
Application Timestamp: 59581c4e
Fault Module Name: FRIMSource.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 596070dd
Exception Offset: 0002ca2c
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 6153
Additional Information 1: 2d06
Additional Information 2: 2d069ee6c3d46ad12eaf589f86850707
Additional Information 3: 633c
Additional Information 4: 633c17c95b8b015860e3dddcf1a1cd9a


win10...
Log Name: Application
Source: Application Error
Date: 15/12/2017 21:17:07
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: ADMINRG-T59RE8R
Description:
Faulting application name: x264_8bit_x86.exe, version: 0.152.2851.0, time stamp: 0x59581c4e
Faulting module name: FRIMSource.dll, version: 0.0.0.0, time stamp: 0x596070dd
Exception code: 0xc0000409
Fault offset: 0x0002ca1a
Faulting process id: 0xeec
Faulting application start time: 0x01d375ea0f98f4a8
Faulting application path: C:\Users\johndoe\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\x264_8bit_x86.exe
Faulting module path: C:\Users\johndoe\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\FRIMSource.dll
Report Id: 3132e220-e0a2-4fc5-9cf2-256e90da8568
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-12-15T21:17:07.601977900Z" />
<EventRecordID>1714</EventRecordID>
<Channel>Application</Channel>
<Computer>ADMINRG-T59RE8R</Computer>
<Security />
</System>
<EventData>
<Data>x264_8bit_x86.exe</Data>
<Data>0.152.2851.0</Data>
<Data>59581c4e</Data>
<Data>FRIMSource.dll</Data>
<Data>0.0.0.0</Data>
<Data>596070dd</Data>
<Data>c0000409</Data>
<Data>0002ca1a</Data>
<Data>eec</Data>
<Data>01d375ea0f98f4a8</Data>
<Data>C:\Users\johndoe\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\x264_8bit_x86.exe</Data>
<Data>C:\Users\johndoe\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\FRIMSource.dll</Data>
<Data>3132e220-e0a2-4fc5-9cf2-256e90da8568</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

This is against the Valerian and the City of a thousand planets 1080p 3D ISO by ESiR release group

Let me know what logs are required to further troubleshoot. Thx

Last edited by viperlogic; 15th December 2017 at 22:27.
viperlogic is offline   Reply With Quote
Old 16th December 2017, 11:07   #1349  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
It seems that you are experiencing the same problem that Wildfire has reported above. Can you try another version of x264 (older here, or another build here or here) ? Unfortunately, I can't reproduce the problem so I can't check myself.

Also, I note in your two logs "Fault Module Name: FRIMSource.dll", so the problem might be caused by FRIMSource as well. So, please try to set Settings -> MVC Decoder -> Use DGMVCSource and/or set the Hardware Acceleration to Disabled.

Thanks anyway for having reported the problem, and welcome to the Doom9 forum, viperlogic !
__________________
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; 16th December 2017 at 11:20.
r0lZ is offline   Reply With Quote
Old 18th December 2017, 11:01   #1350  |  Link
viperlogic
Registered User
 
Join Date: Dec 2017
Posts: 2
Quote:
Originally Posted by r0lZ View Post
It seems that you are experiencing the same problem that Wildfire has reported above. Can you try another version of x264 (older here, or another build here or here) ? Unfortunately, I can't reproduce the problem so I can't check myself.

Also, I note in your two logs "Fault Module Name: FRIMSource.dll", so the problem might be caused by FRIMSource as well. So, please try to set Settings -> MVC Decoder -> Use DGMVCSource and/or set the Hardware Acceleration to Disabled.

Thanks anyway for having reported the problem, and welcome to the Doom9 forum, viperlogic !
Hardware Acceleration to Disabled did the trick!

What settings should be used for no drop in quality, eg the original ISO is 44G, the intermediate .264 is 24G, mvc is 12G and audio is 1.5G resulting in a finished mkv of only 5.3G
viperlogic is offline   Reply With Quote
Old 18th December 2017, 11:30   #1351  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
Try to update your Intel CPU driver. That may solve the problem even with hardware acceleration enabled. When hardware acceleration is enabled, BD3D2MK3D uses the DLL provided by Intel to decode the video. It is normally somewhat faster than the software DLL provided with BD3D2MK3D, but it is often unstable. It is therefore necessary to always check if you have the latest version.

CRF 0 is lossless, but you will obtain a very large file, most probably much bigger than the original AVC + MVC streams together. around 50 GB. IMO, it doesn't make sense to decrease the CRF value below 18. x264 is a much better h264 encoder than most other encoders, probably including the encoder that has been used to encode the original BD. It is therefore normal to obtain a small file size, especially if the movie is made of CGI graphics with very smooth and clean images, without much noise. Personally, I consider a final file size of 5GB as perfectly normal, but if you are really picky, try to decrease the CRF value. Decreasing the value by 3 means approximately doubling the size of the video stream, so try CRF 20 and you should obtain approximately a 8 GB MKV (with the audio stream).

Anyway, don't forget that the videos on BD are very big only (mostly) for commercial reasons. Trust your eyes and don't trust the guys who explain that you must use a certain bitrate for a good quality. It's pure nonsense, as I have already explained several times elsewhere.
__________________
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; 18th December 2017 at 11:32.
r0lZ is offline   Reply With Quote
Old 1st January 2018, 12:17   #1352  |  Link
Triple-M
Registered User
 
Join Date: Apr 2016
Posts: 22
Hi, Happy New Year to all of you!

I have an 4K TV and i remember that an 4K TV shows 3D in FullHD instead of Half Resolution on a FullHD TV, is this right? If it's right, should i choose a certain setting in your App? Full SBS perhaps?
Triple-M is offline   Reply With Quote
Old 1st January 2018, 14:31   #1353  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
I'm not sure it's right. That depends probably of the 4K TV, but I suppose that it's indeed an advantage of the 4K 3D TVs.
And yes, Full-SBS (or Full-T&B) is the way to create a full-res 3D MKV. Verify that your TV supports that format, but that should be the case, as 4K TVs have buffers large enough to support that format.

Happy new year to everybody!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 15th January 2018, 05:23   #1354  |  Link
hiltr0n
Registered User
 
Join Date: Feb 2017
Posts: 12
So I came across an issue I haven't had to deal with before. Any assistance would be great. I am trying to hard burn the subtitles from Avatar. On all of my 3D MKV's I do full side by side and on other hard burn subtitles I haven't had any issue. This is the error I'm getting. Any idea how to get the subtitles hard burned? This movie needs them as there's a fair amount of forced subtitles.

Job finished Sun Jan 14 17:26:57 MST 2018
Whole job took 8 minutes and 31 seconds.

Done with errors!

* BDSup2Sub "MKV3D.track_3.Eng.2D.sup": ERROR: Index: 3, Size: 3There were 1 error
* BDSup2Sub "MKV3D.track_3.Eng.2D.sup": java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at bdsup2sub.supstream.bd.SubPictureBD.getImageWidth(SubPictureBD.java:94)
at bdsup2sub.supstream.bd.SupBDParser.parse(SupBDParser.java:110)
at bdsup2sub.supstream.bd.SupBDParser.<init>(SupBDParser.java:48)
at bdsup2sub.supstream.bd.SupBD.<init>(SupBD.java:50)
at bdsup2sub.core.Core.readSup(Core.java:442)
at bdsup2sub.BDSup2Sub.runCliLoop(BDSup2Sub.java:290)
at bdsup2sub.BDSup2Sub.execute(BDSup2Sub.java:233)
at bdsup2sub.BDSup2Sub.run(BDSup2Sub.java:52)
at bdsup2sub.BDSup2Sub.main(BDSup2Sub.java:42)
Generating the avisynth script anyway. The subtitles will not be hardcoded. You may have to convert them manually and edit the AVS script.
* Can't convert "MKV3D.track_3.Eng.sup" to 3D BD SUP!
* BDSup2Sub "MKV3D.track_3.Eng.2D.idx": ERROR: Index: 3, Size: 3There were 1 error
* BDSup2Sub "MKV3D.track_3.Eng.2D.idx": java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at bdsup2sub.supstream.bd.SubPictureBD.getImageWidth(SubPictureBD.java:94)
at bdsup2sub.supstream.bd.SupBDParser.parse(SupBDParser.java:110)
at bdsup2sub.supstream.bd.SupBDParser.<init>(SupBDParser.java:48)
at bdsup2sub.supstream.bd.SupBD.<init>(SupBD.java:50)
at bdsup2sub.core.Core.readSup(Core.java:442)
at bdsup2sub.BDSup2Sub.runCliLoop(BDSup2Sub.java:290)
at bdsup2sub.BDSup2Sub.execute(BDSup2Sub.java:233)
at bdsup2sub.BDSup2Sub.run(BDSup2Sub.java:52)
at bdsup2sub.BDSup2Sub.main(BDSup2Sub.java:42)
Generating the avisynth script anyway. The subtitles will not be hardcoded. You may have to convert them manually and edit the AVS script.

Launch "__ENCODE_3D_LAUNCHER.cmd" to encode the 3D video (and optionally mux to MKV).

Use a delay of 4004 ms if you mux the files yourself.
hiltr0n is offline   Reply With Quote
Old 15th January 2018, 11:46   #1355  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
The subtitles from the Avatar 3DBD are very difficult to handle. I have recently taken an inventory of the bugs of the various versions of BDSup2Sub (see here and the following posts) and Avatar was among the "difficult streams" I've used to do my tests.

I have just implemented in BD3D2MK3D a new "universal" method to convert any stream to 3D, including Avatar, hopefully without problem. It uses the ++ and Java versions when appropriate. It is somewhat difficult to explain, so I will release the new version as soon as possible so that you can use it. If you really want to try the new method yourself, here are brief instructions:
  1. Convert the ORIGINAL subtitle stream with BDSup2Sub++ v1.0.2 to another BD SUP file. (You can find BDSup2Sub++ in the "toolset" folder of BD3D2MK3D. It is important to use v1.0.2, and not any other version including v1.0.2a.) When the Conversion Options window is shown, be sure to tick the "Change frame rate" option and verify that the FPS Source and Target are both set to 23.976. (This is necessary for ALL conversions with ALL versions of BDSup2Sub.) If you are interested in the forced subtitles only, tick that option.
  2. Close and re-open BDSup2Sub++, and this time, load the new SUP you have created in step 1. Export to XML/PNG in a new folder. (Again, verify the Change frame rate option when necessary.)
  3. Open BD3D2MK3D and verify that the Settings -> BDSup2Sub -> Use BDSup2Sub.jar option is selected. (That should be the case according to the log file you have posted.)
  4. In BD3D2MK3D, use the menu "Subtitle tools -> Convert Subtitles to 3D (with 3D-Planes/OFS)". Select the XML file you have just created in step 2 as the Input subtitle stream". Set the output file format to BD SUP and enter the output file name. (You should save it in the Avatar\XXXXX project folder.) Define also the 3D-Plane (OFS) file to use. (You can see what file to use near the end of the 3D-Planes.log file created by BD3D2MK3D when the project has been created, or in the first tab of BD3D2MK3D when the movie is loaded.) Verify the other options and convert the subtitles to 3D.
  5. Just to be sure, open the 3D SUP file in any version of BDSup2Sub, and verify if the subtitles look correct.
  6. Now, open "__ENCODE_3D_MOVIE.avs" in a text editor or notepad. You should see the following lines:
    Code:
    ##LoadPlugin(D:\Tcl\work\BD3D2MK3D\toolset\VSFilter.dll")
    #LoadPlugin("D:\Tcl\work\BD3D2MK3D\toolset\SupTitle.dll")
    
    [...]
    
    # Hardcode subtitles
    ##VobSub(".sub")
    #SupTitle(".sup")
    Change them like this:
    Code:
    ##LoadPlugin(D:\Tcl\work\BD3D2MK3D\toolset\VSFilter.dll")
    LoadPlugin("D:\Tcl\work\BD3D2MK3D\toolset\SupTitle.dll")
    
    [...]
    
    # Hardcode subtitles
    ##VobSub(".sub")
    SupTitle("your_3D_subtitle_stream.sup")
    (where your_3D_subtitle_stream.sup is the final 3D SUP file created in step 4.)
  7. Launch __ENCODE_3D_LAUNCHER.cmd as usual.
This method should work. At least, it works with the French subtitles from my version of Avatar.

Good luck!
__________________
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; 15th January 2018 at 11:50.
r0lZ is offline   Reply With Quote
Old 15th January 2018, 14:56   #1356  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
BD3D2MK3D v1.5

OK, here is the new version that should convert the Avatar and other difficult subtitles to 3D correctly.

Note that now, BDSup2Sub++ is used by default when a BD SUP file is opened, as the Java version has too many bugs. Unfortunately, BDSup2Sub++ opens an useless command prompt window when it starts. I have added a little tool (HideWindow.exe) written in AutoHotkey in the toolset folder to close it immediately, and restore the focus to the window that had it when BDSup2Sub++ stole it, but it is not possible to avoid it completely. There is therefore an annoying flash when BD3D2MK3D converts the BD SUP files to 3D or to DVD SUB. I think that that annoyance is better than risking to produce bad 3D subtitles.

Note also that the Java version of BDSup2Sub is still necessary to convert the XML/PNG 3D subtitles to the final BD SUP or DVD SUB format, as BDSup2Sub++ has a big bug when it loads the XML/PNG format. Luckily, it seems that the Java version is OK for that job.

It's an important new version of BD3D2MK3D, as it fixes other problems as well, and it includes a new subtitle tool: Combine Multiple PDS/ODS definitions. It is used internally when there are several subtitles appearing AT THE SAME TIME on screen. It merges them as a single subtitle, and modifies the XML file accordingly. I have added a GUI to use it yourself if you need it, but you should never need it for the subtitles converted to 3D automatically by BD3D2MK3D.

I have released this version now, because hiltr0n may need it to convert its Avatar BD, but I have not tested it carefully, so some bugs can be present. Let me know if there are still some problems when encoding with x264 in hardware mode, and if the subtitles conversions work as expected.
Quote:
v1.5 (January 15, 2018)
- BD3D2MK3D uses now an "universal" method to convert the subtitles to 3D or DVD SUB, that should hopefully work well in all cases. As a consequence, it is not possible any more to select the preferred version of BDSup2Sub, as the Java or C++ version is used automatically when appropriate.
- New Subtitle tool: Combine Multiple PDS/ODS definitions, used to merge the multiple subtitles (and used internally by the new universal conversion method). See help for more info.
- When a 2D BD Sup subtitle file is muxed in the final MKV, the original Sup extracted from the BD is now used instead of the converted .2D.sup file, to avoid the bugs of BDSup2Sub.
- The audio conversion and the logic used to build the labels of the audio tracks in the final MKV have been rewritten completely and improved. This fixes several bugs introduced with the conversion to Pro-Logic and Stereo in v1.3.
- Updated eac3to and its associated libraries to the latest version (v3.34)
- Updated the Mkvtoolnix exes to the latest version (v19.0.0)
- Updated tsMuxeR to the latest version (v2.6.11)
Download: 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; 15th January 2018 at 14:59.
r0lZ is offline   Reply With Quote
Old 15th January 2018, 15:32   #1357  |  Link
hiltr0n
Registered User
 
Join Date: Feb 2017
Posts: 12
Wow! Thanks for the quick reply. I'll set it encoding tonight and verify.
hiltr0n is offline   Reply With Quote
Old 15th January 2018, 17:42   #1358  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 791
Quote:
Originally Posted by r0lZ View Post
...Unfortunately, BDSup2Sub++ opens an useless command prompt window when it starts. I have added a little tool (HideWindow.exe) written in AutoHotkey in the toolset folder to close it immediately, and restore the focus to the window that had it when BDSup2Sub++ stole it, but it is not possible to avoid it completely. There is therefore an annoying flash when BD3D2MK3D converts the BD SUP files to 3D or to DVD SUB. I think that that annoyance is better than risking to produce bad 3D subtitles.
I use also BDSup2Sub++ for some jobs and the command prompt is not shown when the GUI is opened.
A simple command: HideWindow:=true.


EDIT:
The latest Windows version of tsMuxeR is 2.6.12

Code:
------------ Network Optix tsMuxeR 2.6.12 ----------------------
- several minor bugs fixed

Last edited by hubblec4; 15th January 2018 at 17:49.
hubblec4 is offline   Reply With Quote
Old 15th January 2018, 18:09   #1359  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,160
Quote:
Originally Posted by hubblec4 View Post
A simple command: HideWindow:=true
That may work with some languages or environments, but I have no way to issue this command from Tcl/Tk.
But thanks for the hint!
Quote:
Originally Posted by hubblec4 View Post
Is it an official release? In the official tsMuxeR thread, the latest version is still 2.6.11.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 15th January 2018, 19:37   #1360  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 791
Quote:
Originally Posted by r0lZ View Post
Is it an official release? In the official tsMuxeR thread, the latest version is still 2.6.11.
I can't say this surely, but I'm sure I downloaded this version from the tsMuxeR thread for many years.
hubblec4 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.