View Single Post
Old 6th February 2018, 01:20   #1419  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Welcome to the D9 forums, te36!

About the problem of the aspect ratio, see this recent reply to almost the same question.

I can't help you for x265 encoding questions. I don't know at all x265, and I use personally only x264. Maybe you should post your questions in the x265 thread.

Currently, afaik there is no standard to include the 3D depth information of the subtitles within the MKV container, so BD3D2MK3D uses "pre-computed" 3D subtitles instead of 2D subtitles + depth info, like in the original 3D BD (where the subtitles are regular 2D SUB streams + 3D depth info stored in the so-called "3D-Planes" or "offset sequences"). BD3D2MK3D uses the offset sequences of the original BD to compute the horizontal displacement of the left and right subtitles so that they are displayed over the two views of the SBS stream at their right positions to produce the correct depth effect (parallax). That means that the 2D subtitle stream must be converted to 3D by duplicating the image of the subtitle and moving slightly the two instances horizonatlly by the amount of pixels stored in the offset sequence. Unfortunately, the resolution of the Full-SBS (or Full-T&B) video stream is problematic. It is easy to understand that two subtitles scaled at 50% horizontally fit in the standard size of an HD movie (1920x1080). However, to build the 3D subtitles for Full-SBS, it is necessary to compose them on a canvas twice as large as the final resolution of the movie (3840x1080). Unfortunately, that size is simply not supported by the SUP streams, limited to standard HD resolution, and the two versions of BDSup2Sub that BD3D2MK3D requires to convert the subtitles to 3D cannot handle that size. Now, with the new UHD movies, 4K subtitle streams exist, but they must be 3840x2160 and not the bizarre Full-SBS resolution (UHD horizontally and HD vertically), still not well supported. Anyway, BDSup2Sub cannot generate subtitles for that formats. Hence the warning in BD3D2MK3D. I haven't written that the result is "worse" for full-SBS than for Half-SBS. It's simply impossible, at least currently.

However, it is possible to hardburn the subtitles on the Full-SBS video stream, if you really want the 3D subtitles, because the subtitle for the left eye is burnt on the left video stream and the subtitle for the right eye is burnt on the right video stream BEFORE the two video streams are joined together to form the Full-SBS combined stream. It is never necessary to use a larger subtitle stream than the original HD.

Note also that subtitles in the ASS (Advanced Sub Station Alpha) format are not restricted to any resolution and therefore can be used in a Full-SBS MKV. But ASS is a text based format, and the 3D subtitles in the original BD are always in SUP (graphic) format. It is therefore difficult to convert the original 2D SUP stream to ASS 3D automatically. But you can do it manually with SubtitleEdit to OCR the original SUP stream as a SRT (text) stream, and then convert that SRT to ASS 3D with BD3D2MK3D. It will use the 3D depth info from the original 3DBD, and optionally it cxan clone the position of the original subtitles. It's a long and somewhat difficult work, you don't have the guarantee that the effect will be perfect (due to differences in font, size, outline, placement...) but it's possible. Of course, your player must also support the ASS format, and it's rarely the case of standalone players or TVs.

For your wish list, you can already select the quality for the AAC encoding of the audio tracks. (See the settings menu.) It's not possible when you convert to AC3, but IMO, BD3D3MK3D uses reasonable defaults (different for stereo and 5.1). And if you really want to encode with another bitrate, you can simply use the Audio conversion tool (from the Tools menu) after the project has been created to overwrite the AC3 or AAC streams created by BD3D2MK3D. In the GUI of that tool, you can select any bitrate or AAC quality. Also, note that the AC3 core is simply extracted from TrueHD tracks. It is not re-encoded, to preserve the best quality. I don't want to change that.

Unfortunately, currently, the existing free MVC decoders for Avisynth can only decode all frames sequentially. In other words, it is not possible to seek to a certain point in the movie, and it is necessary to start the decoding at the beginning of the movie. It is therefore not possible to encode a single chapter. (In fact, there is a way to do it with a tool written by Slavanap, but the frames before the beginning of the chapter will need to be decoded anyway, and that will be long and confusing. I don't have and will not implement that possibility.) But for your tests, you can restrict the encoding to a certain number of frames. Just edit __ENCODE_3D.cmd and change the two -frames arguments to any number. (If you want to cut exactly at a chapter point, you will find the frame numbers of the chapters in chapters_3D.qpfile.)
__________________
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; 6th February 2018 at 01:30.
r0lZ is offline