Log in

View Full Version : 4k to blu-ray with BD Rebuilder


blue8
22nd November 2019, 19:08
How to do with BD Rebuilder blu-ray format 1920x1080 (BDMV and CERTIFICATE folders) from .mkv (Matroska) (MPEG4 Video (H264) 3840x2160 23.976fps L5.1, yuv420p)?
You can also send me a link ;)

Ch3vr0n
23rd November 2019, 13:17
Open bdrb > File > import > Video Files > All done

bdrb does the rest. Link? How about the BDRB topic's first post

gonca
23rd November 2019, 14:17
I believe he is asking about HDR to SDR, and I don't think BD_RB does it yet, but I may be wrong.

worknstiff
23rd November 2019, 14:23
I had pretty good results using Ripbot264 to down convert 2160 to 1080P, BUT the HDR10 made the colors wonky. I also think I've seen you can do it with Handbrake. You could just make a high bitrate blue ray and feed that to BD Rebuilder to compress.

gonca
23rd November 2019, 15:51
Or he could do it with avisynth or vapoursynth and then input the result to BD_RD

worknstiff
23rd November 2019, 17:55
[QUOTE=gonca; or vapoursynth and then input the result to BD_RD[/QUOTE]

Wow! Gonca turned me on to some new stuff I didn't know about, and it even has a GUI I think, cause I am decidedly stooped when it comes to scripts and filters. I might be old but I am still a script kiddie when it comes to code. Even copy and paste is really hard for me, lol.

blue8
23rd November 2019, 20:33
Open bdrb > File > import > Video Files > All done

bdrb does the rest. Link? How about the BDRB topic's first post

Thank you. Do you know when to use option BD Rebuilder - File - Import - Video File (Side-By-Side 3D Source)? I understand this option is for 3D movie, but I don't know why "side-by-side" - what does it mean for converting?

gonca
23rd November 2019, 21:27
I also think I've seen you can do it with Handbrake.

HandBrake has an 8 bit pipeline internally, which probably means it can't do 10 bit HDR video properly

blue8
24th November 2019, 09:35
Open bdrb > File > import > Video Files > All done

bdrb does the rest. Link? How about the BDRB topic's first post

BD Rebuilder - File - Import - Video Files (MKV, MP4, AVI, TS, ...) I have an error.
.mkv (Matroska) Video: MPEG4 Video (H264) 3840x2160 23.976fps [V: English [eng] (h264 high L5.1, yuv420p, 3840x2160) [default]]
Audio: AAC 48000Hz 6ch [A: aac, 48000 Hz, 5.1 [default]]
I have installed AviSynth 2.5.8.5, LAV Filters 0.63, ffdshow version 1.3.4533.0 (ffdshow_rev4533_20140929_clsid_x64)
https://s6.ifotos.pl/img/ERRORjpg_qahasxh.jpg

Ch3vr0n
24th November 2019, 12:45
Then it looks like BDRB doesnt support 4K mkv importing yet. UHD support in any shape or form is experimental at this time. As to your Side-by-side question? That's how the image is being shown. Just google it. There's 3 options. Side-by-side, over-under and frame-sequential

jdobbs
24th November 2019, 19:27
@blue8

You need to upgrade to the new version. You're using v0.50.5 (from four years ago) -- and UHD wasn't supported back then. You can get the latest version from the first post in this thread.

The current version does support importing UHD/4K.

FilipeAmadeuO
24th November 2019, 21:23
@jdobbs
Can you try new tsmuxer (https://github.com/justdan96/tsMuxer) ?
Fixes:
Correct H265 Stream_Type
Get rid of MAX_AV_PACKET_SIZE limitation (probably fix HEVC lost frames)

Ch3vr0n
24th November 2019, 22:02
Good catch. Well i did tell him that over at the redfox forums too, a few times now. Somehow still hasn't done it.

jdobbs
26th November 2019, 14:03
@jdobbs
Can you try new tsmuxer (https://github.com/justdan96/tsMuxer) ?
Fixes:
Correct H265 Stream_Type
Get rid of MAX_AV_PACKET_SIZE limitation (probably fix HEVC lost frames)Is there a binary anywhere that I can test?

LowDead
27th November 2019, 00:25
Is there a binary anywhere that I can test?

From the new tsMuxer thread:

To download the pre-compiled binaries head over to the following URL (you must be logged in) https://github.com/justdan96/tsMuxer/actions and click on the latest action for your chosen platform (Windows, Mac or Linux). In the Artifacts section in the top-right you can download a ZIP file containing the executable for tsMuxer.

At the moment only the CLI is included, the GUI is not yet available.

//LD

jdobbs
27th November 2019, 00:41
From the new tsMuxer thread:



//LDAll I get is an error code 404 if I click on that link.

Edit: Never mind. I had to create an account first... I got it downloaded. I'll do some testing tomorrow.

blue8
27th November 2019, 12:53
@blue8

You need to upgrade to the new version. You're using v0.50.5 (from four years ago) -- and UHD wasn't supported back then. You can get the latest version from the first post in this thread.

The current version does support importing UHD/4K.

Good catch. Well i did tell him that over at the redfox forums too, a few times now. Somehow still hasn't done it.

I tested various settings with new BD Rebuilder version 0.60.29. Before I installed Avisynth_260 and LAVFilters-0.65.
My Audio: AAC 48000Hz 6ch [A: aac lc, 48000 Hz, 5.1 [default]] is all the time converting to AC3 with all BD settings for Audio.
https://s6.ifotos.pl/img/AC3-Undet_qarprpw.jpg

My biggest problem is with 4k converting to 1920x1080, because BD Rebuilder does still 3840x2160. I had Settings-Setup-Video Encoding Options-all cleared, later selected Resize - 1920x1080 to 1280x720.
What can I do in settings to convert from 3840x2160 to 1920x1080?
Video: MPEG4 Video (H264) 3840x2160 23.976fps [V: English [eng] (h264 high L5.1, yuv420p, 3840x2160) [default]]

----------------------
[01:33:46] Importing MKV: LINDSEY_STIRLING_-_BRAVE_ENOUGH
- Preparing MKV for processing...
- Collecting audio/video streams from source...
- Converting audio, Track #2, AAC to AC3...
- Building pseudo-BD source structure...
[01:42:08] Video import completed successfully.

My settings:
https://s6.ifotos.pl/img/BD-Settin_qarprpx.jpg

Ch3vr0n
27th November 2019, 13:55
I can't help you with 4k, I don't use or have any gear/content 4k capable

Sent from my Pixel 3 XL using Tapatalk

jdobbs
27th November 2019, 19:03
@blue8

1. The AAC is being converted to AC3 because AAC isn't a legal codec on Blu-Ray.

2. As I've said before, 2160p to 1080p conversion isn't supported yet. It's something I have on my to-do list. You can, however, convert to 1080p if you are outputting to ALTERNATE formats.

blue8
27th November 2019, 20:30
@blue8

1. The AAC is being converted to AC3 because AAC isn't a legal codec on Blu-Ray.

2. As I've said before, 2160p to 1080p conversion isn't supported yet. It's something I have on my to-do list. You can, however, convert to 1080p if you are outputting to ALTERNATE formats.
How to do it? Could I convert from 2160p to 1080p with BD Rebuilder or not?
You wrote like I need upgrade BD Rebuilder to new version to do it :)
@blue8

You need to upgrade to the new version. You're using v0.50.5 (from four years ago) -- and UHD wasn't supported back then. You can get the latest version from the first post in this thread.

The current version does support importing UHD/4K.

I can't help you with 4k, I don't use or have any gear/content 4k capable

Sent from my Pixel 3 XL using Tapatalk

Ok, thank you for help... and I have a new version BD :D

Ch3vr0n
27th November 2019, 21:15
The current release simply doesn't support doing the type of conversion yet you want to do (for disc backup). That's what he's saying. What you want to do is on the "to-do" list. You'll have to check back regurarly and see if there is a new version that might. New releases always get a post by @jdobbs in the debug topic before the 1st post gets updated.

The only mode that currently IS supported he sais is doing an "alternate" output (meaning Mode > Alternate Movie-Only output" > pick one)

jdobbs
28th November 2019, 01:57
You wrote like I need upgrade BD Rebuilder to new version to do it You were trying to import 2160p and the old version failed. I wrote that you needed to upgrade in order to get support for 2160p so you can import it.

blue8
28th November 2019, 10:38
@blue8

1. The AAC is being converted to AC3 because AAC isn't a legal codec on Blu-Ray.

2. As I've said before, 2160p to 1080p conversion isn't supported yet. It's something I have on my to-do list. You can, however, convert to 1080p if you are outputting to ALTERNATE formats.

The current release simply doesn't support doing the type of conversion yet you want to do (for disc backup). That's what he's saying. What you want to do is on the "to-do" list. You'll have to check back regurarly and see if there is a new version that might. New releases always get a post by @jdobbs in the debug topic before the 1st post gets updated.

The only mode that currently IS supported he sais is doing an "alternate" output (meaning Mode > Alternate Movie-Only output" > pick one)

I set up Alternate Movie-Only Output:
https://s6.ifotos.pl/img/ust-bjpg_qarpepn.jpg

When I add movie in .mkv file: Video: MPEG4 Video (H264) 3840x2160 23.976fps to File-Import Video Files (MKV, MP4, AVI, TS, ...) that BD Rebuilder to do blu-ray structure with folders BDMV, CERTIFICATE and PSEUDO, but again 3840x2160.

I can't add .mkv file to Source Path, because "Selected source is not BD format".
So I add to Source Path blu-ray structure from BD Rebuilder with file 3840x2160 and set up Alternate Movie-Only Output and it works. Right now I have Video: MPEG4 Video (H264) 1920x1080 23.976fps [V: h264 high L4.1, yuv420p, 1920x1080 [default]]

Did I do right?

----------------------
[03:02:49] Importing MKV: LINDSEY_STIRLING_-_BRAVE_ENOUGH
- Preparing MKV for processing...
- Collecting audio/video streams from source...
- Converting audio, Track #2, AAC to AC3...
- Building pseudo-BD source structure...
[03:11:17] Video import completed successfully.


----------------------
[11-28-19] BD Rebuilder v0.60.29
[03:19:24] Source: LINDSEY_STIRLING_-_BRAVE_ENOUGH_00000
- Input BD size: 10,69 GB
- Approximate total content: [01:15:25.166]
- Windows Version: 6.1 [7601]
- MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
- Mode: MKV Container, 1920x1080, Intact Audio
- Quality: High Quality (Default)
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[03:19:25] PHASE ONE, Encoding
- [03:19:25] Processing: VID_00000 (1 of 1)
- [03:19:25] Extracting A/V streams [VID_00000]
- [03:20:44] Reencoding video [VID_00000]
- Source Video: MPEG-4 (AVC), 3840x2160
- Rate/Length: 23,976fps, 108 496 frames
- [03:20:44] Reencoding: VID_00000, Pass 1 of 1
- [09:29:14] Video Encode complete
- [09:29:14] Processing audio tracks
- Track 4352 (und): Keeping original audio
[09:29:14]PHASE ONE complete
[09:29:14]PHASE TWO - Rebuild Started
- [09:29:14] Building ALTERNATE OUTPUT Structure
[09:32:15] - Encode and Rebuild complete
- WORKFILES folder removed.
[09:32:15] JOB: LINDSEY_STIRLING_-_BRAVE_ENOUGH finished.

:thanks:

jdobbs
28th November 2019, 14:02
Yes. But now you have a 1080p MKV. In order to create a BD, you would need to import the new MKV.

If your eventual goal is to create a blu-ray disc, and you are using this method, I would suggest you add ALTERNATE_BLURAY=1 to your BDREBUILDER.INI file. That way the alternate output will be blu-ray compliant. The advantage to that is that when you import it, it does not have to be reencoded again to meet blu-ray requirements.

So in order to take a 2160p source (MKV) and make 1080p blu-ray you could:

1. Import the 2160p source using FILE/IMPORT/VIDEO FILES
2. Set BD-RB up for ALTERNATE output (MODE/MOVIE-ONLY/ALTERNATE MOVIE OUTPUT/MKV Container, 1920x1080, 640Kbs DD5.1)
3. Add ALTERNATE_BLURAY=1 to your INI file.
4. Run the job.
5. Upon completion you will have a 1080p MKV file in which the video is blu-ray compliant
6. Import the new MKV file.
7. After import, you can burn the structure from the imported path.

Before doing step 7, you can remove the folder PSEUDO from structure as it isn't needed. (But it should still work even if you leave it.) Make sure you select AC3 (DD) as your audio in step 2, otherwise if your source is AAC you'll end up with a disc that can't be played on a standard blu-ray player.

jdobbs
28th November 2019, 14:40
From the new tsMuxer thread:



//LDJust FYI. I tested the new TSMUXER version and the sync issue is gone.

I still need to do some more testing to see if the TYPE is correct etc. But I'm happy to see the biggest issue fixed! If they fix the type in the PMT, I may be able to remove the need to scan and rewrite entire M2TS from within BD-RB.

jdobbs
28th November 2019, 23:48
@jdobbs
Take a look here:
https://github.com/justdan96/tsMuxer/pull/46

If you them some feedback they can fix existing bugsNot sure what you want me to look at in that link.

blue8
26th December 2019, 16:20
Merry Christmas! :)
Thank you for help and this program jdobbs and Ch3vr0n
:thanks:

Ch3vr0n
26th December 2019, 18:39
All thanks goes to jdobbs alone. I'm not involved in it's development.

Sent from my Pixel 3 XL using Tapatalk