Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#542 | Link | ||||
Registered User
Join Date: Sep 2008
Posts: 27
|
Quote:
![]() I've let it run again it its tells 11485Kbit @ 161min. With 2080MBytes to add I get ~15900MBytes calculated (14.8GByte) So i guess you're using byte (2^) instead bytes?! Which clears a lot of things. Bytes is the thing I'm after! ![]() 10.5Mbit + DTSHD-MA +SUBs -> 13,6 GB (14.674.780.160 bytes) 10,8Mbit + DTSHD-MA +Subs -> 13,8 GB (14.845.025.940 bytes) (target 14305MB) 11.1Mbit + DTSHD-MA +SUBs -> 14,3 GB (15.408.095.232 bytes) 11.4Mbit + DTSHD-MA +SUBs -> 14.8 GB (15.900.000.000 bytes) (estimated by BD3D2MK3D) Quote:
Quote:
![]() ![]() All the non-naive languages (dutch) are subtitled by default on TV and Disk as long I can remember and seems we're used to look down for text. The funny thing is when it ran in the cinema, the subtitles where at the bottom center like we used to and this BD is the first the subtitles are placed where we're looking as you mentioned. (note that our subtitles are simplified of whats actually being said. Otherwise you're only reading the whole movie. Sadly not everyone sticking to this "rule") Quote:
Guess I'll just leave the subtitle it is, as it's just one movie. Thanks for the input! Last edited by thahandy; 15th August 2015 at 14:01. |
||||
![]() |
![]() |
#543 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
Quote:
In your example above, what is your target MKV file size?
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
![]() |
![]() |
#544 | Link | ||
Registered User
Join Date: Sep 2008
Posts: 27
|
Quote:
So in my case at the moment need to set it at 13969MB to get a output around 15.000.000.000Bytes ![]() Quote:
Last edited by thahandy; 14th August 2015 at 18:13. |
||
![]() |
![]() |
#545 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
Ah, OK. BD3D2MK3D uses the real (computer) sizes, as it should. A GB is therefore 1024 * 1024 * 1024 bytes. And your final MKV file size should be around 15,728,640,000 bytes. (BTW, the right column in your illustration should not exist. There is officially no KB at 1000 bytes, or mega at 1000000. The industry of the CD-R, DVD-R, BD-R had adopted these wrong values for commercial reasons only. But it's a lie, and no program should use these values.)
BTW, I did just two very rapid tests on a small clip. The duration of the clip is 0:03:24, and the audio file size is 4788 KB. When I ask for a target file size of 300MB, the computed bitrate is 11571 kbps, and the final MKV size is exactly 300.098 MB. Not too bad! If I ask for a final file size of 1000 MB with the same clip, the bitrate is 39006 and the final file size is 1001.361 MB. I agree that the bitrate is slightly too high, but only a little. I'm not sure I need to try to obtain a better value. Computing the overhead is extremely difficult, perhaps impossible. I can't guarantee extremely accurate results. I am currently encoding a longer movie, but even with the superfast preset, the two passes will take some time. I have requested a final file size of 10 GB (10240 MB in the GUI). I'll report the result tomorrow. If it is true that the final size is really too different, I'll try to improve the formula... [EDIT] Correct. If you want a final file size of 15,000,000,000 bytes, you have to compute the right number of real MBs: 15,000,000,000/1024/1024 = approximately 14305 MB, not 15000 (and not 13969 neither).
__________________
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; 14th August 2015 at 18:36. |
![]() |
![]() |
#546 | Link | |||
Registered User
Join Date: Sep 2008
Posts: 27
|
Quote:
yup, byte to GB is a but a mess in compute land CD 700 = 734.000.000Bytes (700MB) dvd-r 4.7 = 4.700.000.000Bytes (4.5GB) 16GB flashdisk = 14.700.000.000Bytes (13.7GB) Thats why I was after the real Bytes. I just need to make a 1,024^2 compensation in BD3D2MK3D, no worries Quote:
![]() [EDIT] Quote:
http://www.dr-lex.be/info-stuff/videocalc.html Last edited by thahandy; 14th August 2015 at 19:11. |
|||
![]() |
![]() |
#547 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
The CDR is correct and it uses the right (binary) size. 4,700,000,000 bytes for the DVD-R is not 4.5GB but 4.377 GB and not the false 4.7 GB! (BTW, when you select 2-pass in file size mode in BD3D2MK3D, the default value is 4470 MB, because it's a bit less than the size of a single layer DVD. It's handy if you want to burn a 3D movie on a DVD.)
And I didn't know that the flashdisks have adopted the wrong (decimal) values too. That's really stupid. Since all file and disc sizes are displayed in Windows (and, afaik, also in Linux, Mac, Android and other OS) in real binary sizes, it is normal to use the same units in BD3D2MK3D. There is no reason to mix binary sizes for the audio and subtitle files, and decimal sizes for the target disc.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
#548 | Link |
Banned
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
|
No CANCEL of err message
At end of project creation I got an error message:
Code:
Warning: There is only 17.09 GB of free space on your target disc. You may still need 21 GB... To end the program you must kill it's process in task manager. ![]() Last edited by frank; 15th August 2015 at 13:29. Reason: typo |
![]() |
![]() |
#549 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
Oh, I have added that warning recently, but I don't remember if I have tested it in real circumstances. I'll have a look.
Anyway, don't worry. It is displayed at the very end of the project creation and the project should be usable without problem (at least if you have enough disc space). [EDIT] Indeed, there was a bug here. It is fixed, and I will release a new version soon...
__________________
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 August 2015 at 09:43. |
![]() |
![]() |
#550 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
For your information, I have finished the test of the full movie (1:25:31). I have requested a final size of 10 GB and obtained exactly 9.997 GB. The difference is minimal, and therefore I will not change the formula. Especially because with the two first tests (with the short clip) the final file was slightly too big, and with this test, it is slightly too small. It will be probably very difficult to obtain a formula that gives perfect results in both cases.
Anyway, I have slightly changed the "MB" label in the last tab to make it obvious that it means "real MB" (1024KB).
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
#551 | Link | |
Registered User
Join Date: Sep 2008
Posts: 27
|
Sorry to poke you again
![]() I get a subtitle error when converting with BDSup2Sub. On the other hand, it's working fine when I select bdsup2sub++ at Settings. (these X/Y position errors are a real issue with bdsup2sub++ ? Quote:
Subtitle 147 is blank with BDSup2Sub.jar http://tempsend.com/3CBEBC55CB Also is there a way to change some minor settings w/out demuxing everything again? I'm using v0.70 Last edited by tebasuna51; 16th August 2015 at 10:16. Reason: code ->quote |
|
![]() |
![]() |
#552 | Link | ||
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 6,639
|
@thahandy
I delete your attached image because was empty. Seems a BDSup2Sub.jar problem, the log at that subtitle is: Quote:
Quote:
__________________
BeHappy, AviSynth audio transcoder. |
||
![]() |
![]() |
#553 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
I have recently added the check for monochrome (black) subtitles. You can turn it off in the Settings menu if you wish, but at your own risk. Anyway, it seems that that malformed subtitles are not frequent, but they exist. There is no perfect way to avoid that problem, except by simply removing the bad subtitle during the conversion to 3D.
However, BD3D2MK3D should not stop completely, as it did in your case. The error concerns only a single subtitle in the whole stream, and therefore a warning should be sufficient. I will fix that bug immediately. Thanks for having reported it. I do not recommend using the ++ version, as you can see when you select it in the Settings menu. The main bug is that it cannot process full-size PNGs. They are frequent in Asian films, and it is very dangerous to assume that it will work correctly. Anyway, even if it saves two times the same PNG (instead of a monochrome PNG), that doesn't mean that there are no bugs when ++ tries to process that malformed subtitles. In many cases, it saves a bunch of images, all for the same subtitle, and unfortunately BD3D2MK3D doesn't have a way to know what image is should retain. Therefore the final stream can be terribly bad. Usually, the java version gives much better results, although it has also some bugs. You can modify an existing project without starting over. Most of the files that you can easily edit start with an underscore (plus tags.xml). For example, if you want to add an external subtitle stream (or, in your case, the 3D subtitle stream correctly processed with BDSup2Sub++), you should edit the _MUX_3D_OPTIONS.txt file and add an entry for the new subtitle. If you don't know the syntax, I suggest to create a project with a short clip, rapid to demux and with a subtitle stream. You can then easily copy the stream definition of the first clip. Be sure to change the file name, the language code and the label if necessary. You can even do that after having encoded the final video stream with _ENCODE.cmd. To mux the MKV without re-encoding the video stream, just launch _MUX_3D.cmd. [EDIT] tebasuna51 has replied when I was typing this post. Indeed, he is right. The "palette animation" is probably a bug of the java version. Unfortunately, none of the two BDSup2Sub versions are still developed, and we have to live with their bugs.
__________________
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 August 2015 at 10:42. |
![]() |
![]() |
#554 | Link | |
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 6,639
|
The .xml created by BDSup2Sub seems correct because add the time for the duplicated (too short) 147-148
Quote:
__________________
BeHappy, AviSynth audio transcoder. |
|
![]() |
![]() |
#555 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
I haven't seen the film, but IMO, the ++ version is right. There are probably really two "No!" repeated rapidly, and hence the two subtitles. (IMO, 0.5 second is not too short to read a short word like this.)
For your information, the error message of BDSup2Sub.jar is exactly this: Code:
WARNING: Problems during RLE decoding of picture OBJ at offset 0x001e2544 [EDIT] Oh no! The conversion of the original SUP by BDSup2Sub++ is terrible. Full of errors! For many subtitles, it creates several PNG images, some of them purely black. And there are several <Graphic> definitions for the same subtitle. For example, subtitle # 5 produces temp_2D_0005_0.png (with the correct image of the subtitle) and temp_2D_0005_1.png (same dimensions but totally black). But in the XML, the position and size of the first image is wrong: all values are 0. The second image is correctly referenced... but is black. Therefore, when the image is converted to 3D, BD3D2MK3D skips the first definition and uses only the second one. And the result is a black frame. There are other problems too. Subtitle 23, for example, is converted in 3 identical (and correct) PNG images: temp_2D_0023.png, temp_2D_0023_0.png and temp_2D_0023_1.png. (Why 3?) But the definition in the XML is totally wrong. BDSup2Sub (both version) can't display that subtitle because temp_2D_0023_2.png doesn't exist. Code:
<Event InTC="00:01:04:22" OutTC="00:01:06:04" Forced="False"> <Graphic Width="0" Height="0" X="0" Y="0">temp_2D_0023_0.png</Graphic> <Graphic Width="0" Height="0" X="0" Y="0">temp_2D_0023_1.png</Graphic> <Graphic Width="392" Height="49" X="843" Y="924">temp_2D_0023_2.png</Graphic> </Event> Perhaps later I'll try to remove the bad entries created by BDSup2Sub++, and change the image to use the good one, but currently I will simply fix the bug of the error and return only a warning when the java version can't decode a subtitle.
__________________
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 August 2015 at 11:47. |
![]() |
![]() |
#556 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
OK, I've found a workaround for the workaround!
When BDSup2Sub.jar is used to convert the subtitles to 3D and it has problems decoding some subtitles, BD3D2MK3D launches BDSup2Sub++ to convert the original SUP file. It's the first workaround. However, if ++ is used to convert the original SUP directly to XML/PNG, there are many problems (described in my previous post). But it can convert the SUP to another SUP without problem, and it stores the correct bitmaps, positions and sizes in the target SUP. Therefore, when that new SUP is converted to XML/PNG, there are no problems any more, and all subtitles are correct. (However, there is only a single "No!" any more. Not sure why.) It's the second workaround. So, currently, when the java version is selected, BD3D2MK3D uses it to decode the SUP to XML/PNG. If it detects the RLE decoding error message, it deletes the target XML/PNG directory, and converts the original SUP to a temp SUP with ++, and then the temp SUP to XML/PNG, again with ++. Finally, the conversion to 3D is made with ImageMagick as usual, and then the 3D XML is converted to SUP (or VobSub) with BDSup2Sub (java version). That means that 4 conversions are made with BDSup2Sub instead of 2, but at least the result is more or less correct. If the ++ version is selected by default, there is another test, that detects if some subtitles have been converted in several PNGs, and when it's the case, the conversion is discarded, and the ++ version is used again to convert to the temp SUP, and the temp SUP to XML/PNG. Again, there are no errors and 4 conversions instead of 2. (That workaround was already present in the current version of BD3D2MK3D, and it's why you have not noticed the problem when converting with ++.) I think it's the best solution, as everything is correct (except perhaps the missing second "No!"). Anyway I can't do a better job. Note also that currently, there is no check for these bad subtitles when the original SUP is converted to 2D SUP or VobSub (because they are never converted to XML/PNG and I have no way to analyse the bitmaps). I would like to know what is the BD that has produced that subtitle errors. Is it a Chinese movie? They have often many problems with the subtitles. I will release a new version soon, with this fix and the fix for the problem of "not enough free disc space" dialog...
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
#557 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
BD3D2MK3D v0.71
OK, here is the fixed version.
The problem of the disc space dialog is certainly fixed. The workarounds for BDSup2Sub's RLE decoding errors should work, and it works fine with the subtitle stream posted by thahandy, but it is difficult to be sure that it works in all cases. Anyway, now, the program should not reject a subtitle stream any more just because one or two subtitles have not been correctly decoded. Code:
v0.71 (August 16, 2015) - Fix: Error after having displayed the "not enough free disc space" warning at end of project creation. - Workaround for RLE decoding errors wnen converting subtitle files to XML with BDSup2Sub.jar. - Small cosmetic changes.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
#558 | Link |
Registered User
Join Date: Oct 2002
Location: Wonderland
Posts: 159
|
Hi r0lZ
I get the following on Insergent 3D BD when I push "Do it!" "invalid character "*" in expression "round (112*201*535*488 / 1024.0..." invalid character "*" in expression "round (112*201*535*488 / 1024.0..." (parsing expression "round (112*201*535*...") invoked from within "expr round ($discspace1 / 1024.0 / 1024.0 / 1024.0 * 100.0) / 100.0" (procedure "GenerateAvs" line 722) invoked from within "GenerateAvs" invoked from within ".nbf5.gf.gen invoke " invoked from within ".nbf5.gf.gen instate {pressed !disabled} { .nbf5.gf.gen state !pressed; .nbf5.gf.gen invoke } " (command bound to event)" Any ide:as ? ![]() Regards MaistroX |
![]() |
![]() |
#559 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,453
|
Damn! Again an invalid character in the string returned by the DOS command DIR.
Can you please open a command prompt, then CD to your HDD containing the project, and type DIR. Then, copy the output here. I'll try to understand what's wrong. In the meantime, you can simply open the console (with File -> Show Console), and paste this code in the console: Code:
proc GetFreeDiscSpace {} {return 1000000000000} That will disable the check for the available disc space, and you should be able to generate the project without problem. But be sure to verify if you have enough disc space manually! And don't forget to apply the same trick if you close BD3D2MK3D and re-open it. The change is not permanent.
__________________
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 August 2015 at 16:07. |
![]() |
![]() |
#560 | Link |
Registered User
Join Date: Jul 2015
Posts: 31
|
r0IZ, I use CRF 16 all the time, but with very different results in file size. Avatar ended up with 23,85GB, but Lion King ended up with only 5,14GB. With exactly the same settings. Now I know LK is 1:29h and Avatar is 2:42h, but even if you double the GB of LK, you still don't get to 23 GB, so what am I missing here?
I have 6TB of LaCie storage, so I am more worried about the quality of the LK file, then I am about the space that Avatar takes up, but some more explanation would help my future rip decisions. Hope you can enlighten me on this. |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|