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 > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th July 2023, 02:23   #31541  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by bjones View Post
Yes, keep original video and audio both intact, all I was trying to do was convert the subtitles from PGS to SRT just like it happens in alternate outputs with the convert subtitles setting checked in BDRB. Watching the job, nothing reencodes it just shows the audio and video copying over. If you look at the Mediainfo's I posted you'll see those both copy over correctly, it's when it gets to subtitles and chapters it get messed up. I have used both AVC and X265 material, makes no difference since the video portion copies directly over correctly
Ahh... that makes a difference. NVENCC doesn't actually have the ability to do the job and keep the video intact (it has to encode the video). So when you select "Keep Intact" for the video, the job is, in fact, being done by FFMPEG. I'll check the code and make sure FFMPEG is correctly handling the SRTs that are being created. I probably didn't test that scenario well enough.

I'll take a look at it and let you know what I find.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 7th July 2023 at 02:35.
jdobbs is offline   Reply With Quote
Old 8th July 2023, 05:43   #31542  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by cartman0208 View Post
Do you have the original of that snippet available? 20FPS looks a bit off.
I'd like to give it a try with AI support ;-)
Heh, I'm sorry Bro, but not getting any prompts for replies from Doom9, which I know it's been that way forever, I forgot to come back and check for comments, my humble apologies.

I don't think I have any of the snippets anymore, although I do have the original messed up HD file. I can extract and post another snippet if you wanna mess around with it. When I got it as good as I did I guess after spending all the hours and hours on it, I was done!
Lathe is offline   Reply With Quote
Old 8th July 2023, 05:47   #31543  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by jdobbs View Post
I have updated the first post of this thread with a link to the latest version of BD Rebuilder (v0.61.29). Changes for this release:
Code:
- Corrected an issue in which default AAC
  encoding can fail when using fixed bitrates.
- Fixed an error in which resizing from the
  SETTINGS menu while using NVENCC was not
  working correctly.
- Added the ability to convert BD/DVD
  subtitles to SRT in NVENCCRE.  Note that it
  requires that the program has access to the
  same subfolders as BD-RB.
- Updated MKVEXTRACT.EXE to v7.1.0.  The 
  previous version used had some issues with 
  AAC audio that was created with NVENCC. Can't 
  find any docs for MKVTOOLNIX that explains 
  why -- but the newer version fixed the issue.
- Other minor corrections and cosmetic fixes.
Thank you Sir!
Lathe is offline   Reply With Quote
Old 9th July 2023, 02:07   #31544  |  Link
doobre
Registered User
 
Join Date: Jun 2023
Posts: 33
UHD blu-ray disc to BD25.. didn't work for me +HDR

Hi all
Can someone confirm whether it is possible to to encode a UHD 4K disc to a BD25 through the ALTERNATE MOVIE-ONLY setting within BD-RB.. version 0.61.28

AND IF SO based on my details below -
1. tell me where am I going wrong.?!
2. please point me in the right direction
cheers CD

I think I am following the current suggested process but ended up with an .mkv file of only 2.56gb and the colours/tones are all washed out.!

here is the log file
-----------------------------------------------
[07/09/23] BD Rebuilder v0.61.28
[01:48:39] Source: 00001_00000
- Input BD size: 82.39 GB
- Approximate total content: [02:49:04.217]
- Windows Version: 6.2 [9200]
- MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
- Mode: MKV Container, 1920x1080, 640Kbs DD5.1
- Quality: High Quality (Default)
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=1 HD=0 Kbs=640
[01:48:39] PHASE ONE, Encoding
- [01:48:39] Processing: VID_00000 (1 of 1)
- [01:48:39] Extracting A/V streams [VID_00000]
- [02:07:20] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23.976fps, 243,218 frames
- [02:07:20] Reencoding: VID_00000, Pass 1 of 1
- [08:13:28] Video Encode complete
- [08:13:28] Processing audio tracks
- Track 4354 (eng): Keeping original audio
[08:13:33]PHASE ONE complete
[08:13:33]PHASE TWO - Rebuild Started
- [08:13:33] Building ALTERNATE OUTPUT Structure
[08:15:27] - Encode and Rebuild complete
- WORKFILES folder removed.
[08:15:28] JOB: 00001 finished.
--------------------------------------------------------
here is the BDREBUILDER.ini settings
---------------------------------------------------------
[Options]
VERSION=0.61.0.28
ALTERNATE_BLURAY=1
ENCODER=0
FORCE_NOENCODE=0
MODE=3
ENCODE_QUALITY=0
ONEPASS_ENCODING=2
AUTO_QUALITY=0
TARGET_SIZE=23500
PRIORITY_CLASS=2
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=1
SD_TO_1080=0
IGNORE_3D=0
CONVERT_WIDE=0
DTS_REENCODE=1
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=0
AUDIO_DRC=0
DECODER=0
AVCHD=1
REMOVE_WORKFILES=1
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=1
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=1
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=0
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=50000
NVENC_CAPABLE=1
MENU_BACKGROUND=D:\BD_Rebuilder\misc\menuback.jpg
MENU_AUDIO=D:\BD_Rebuilder\tools\blankclip\blank.ac3
IMPORT_THRESHOLD=15
QUICK_PLAY_THRESHOLD=10
MENU_AUTO_BACKGROUND=1
MENU_AUTO_DVDAUDIO=1
MENU_PLAY_SEQUENTIAL=0
MENU_START_WITH_MENU=1
IMPORT_LIMIT_LANG=1
IMPORT_KEEP_PLAYALL=0
IMPORT_PREPARE_MKV=0
AUTO_BURN=2
MOVIEONLY_TYPE=10
ALTCRF=23
ALT_TARGET=1024
ALT_CRF_TARGET=1024
ALTMETHOD=0
ALTAUTOCROP=0
[Paths]
SOURCE_PATH=H:\RENDERS\BD-RB RENDER\IMPORTS\00001\
WORKING_PATH=H:\RENDERS\BD-RB RENDER\
----------------------------------------------------
here is the LASTCMD.txt report
--------------------------------------------------
"E:\BD_Rebuilder\tools\x264.exe" "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.AVS" --preset medium --bluray-compat --b-pyramid none --weightp 1 --slow-firstpass --qpmin=0 --crf 23 --level 4.1 --qpfile "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.CHP" --aud --nal-hrd vbr --pic-struct --vbv-bufsize 15000 --keyint 48 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 15000 --threads auto --slices 4 --thread-input --stats "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.AVS.264.stats" --output "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.AVS.264"
-----------------------------------------------
here is the ALTERNATE MOVIE-ONLY settings
------------------------------------------------------
attachment
Attached Images
 

Last edited by doobre; 9th July 2023 at 03:08. Reason: adding screenshot - trying to
doobre is offline   Reply With Quote
Old 9th July 2023, 03:00   #31545  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Don't select ALTERNATE OUTPUT. That is for sending to an MKV, MP4, etc. Select either FULL BACKUP or MOVIE-ONLY BACKUP (and uncheck ALTERNATE OUTPUT). You should also make sure you have OUTPUT set to BD-25.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 9th July 2023, 03:14   #31546  |  Link
doobre
Registered User
 
Join Date: Jun 2023
Posts: 33
Thank you for the prompt reply, much appreciated.. I'll give it a go tonight.. cheers CD
doobre is offline   Reply With Quote
Old 9th July 2023, 08:27   #31547  |  Link
doobre
Registered User
 
Join Date: Jun 2023
Posts: 33
Hi there again... I must be doing something weird..! or perhaps didn't explain correctly...

The file output was the right size for a BD-25 and the HDR tones/colours are correct... but it is still 2160p HEVC/265.

I was expecting 1080p and AVC/264.

here is the BD-REBUILDER log
-----------------------------------
[07/09/23] BD Rebuilder v0.61.28
[15:19:05] Source: INTERSTELLAR_T00_00000
- Input BD size: 70.67 GB
- Approximate total content: [02:49:04.217]
- Target BD size: 22.95 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Highest (Very Slow), 1-Pass VBR
- UHD-BD source detected.
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=1 HD=0 Kbs=640
[15:19:07] PHASE ONE, Encoding
- [15:19:07] Processing: VID_00000 (1 of 1)
- [15:19:07] Extracting A/V streams [VID_00000]
- [15:36:07] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23.976fps, 243,218 frames
- Bitrate: 17,284 Kbs
- [15:36:08] Reencoding: VID_00000, Pass 1 of 1
- [16:49:01] Video Encode complete
- [16:49:01] Processing audio tracks
- Track 4352 (eng): Reencoding audio to AC3...
[16:52:47]PHASE ONE complete
[16:52:47]PHASE TWO - Rebuild Started
- [16:52:47] Rebuilding BD file Structure
[16:57:45] - Encode and Rebuild complete
[16:57:45] Writing BD structure to ISO file
- ImgBurn completed successfully
- INTERSTELLAR_T00 folder removed.
- WORKFILES folder removed.
[17:05:57] JOB: INTERSTELLAR_T00 finished.
-------------------------------------------------
here is the LASTCMD.txt
--------------------------------------------------
"E:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw --fps 23.976 -i "D:\EXPORTS\MakeMKV Export\Interstellar 4K rip\Interstellar_t00.mkv" --codec hevc --preset quality --profile main10 --output-depth 10 --repeat-headers --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50) --max-cll 1242,436 --qp-min 0 --vbr 17284 --aq --aq-temporal --keyfile "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.CHP" --sar 1:1 --aud --pic-struct --vbv-bufsize 45000 --max-bitrate 48000 --lookahead 24 --no-b-adapt --gop-len 24 -o "H:\RENDERS\BD-RB RENDER\WORKFILES\VID_00000.AVS.hevc"
-----------------------------------------------
doobre is offline   Reply With Quote
Old 9th July 2023, 13:44   #31548  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,132
Quote:
Originally Posted by doobre View Post
The file output was the right size for a BD-25 and the HDR tones/colours are correct... but it is still 2160p HEVC/265.

I was expecting 1080p and AVC/264.
Not gonna happen. By specification, HDR is only available in 2160p/HEVC. Streamed MKV files can be 1080p/HDR, but can only be HEVC. That is because HDR is only available in HEVC. The H.264 spec does not support HDR.

What have you got against 2160p?
MrVideo is offline   Reply With Quote
Old 9th July 2023, 14:26   #31549  |  Link
doobre
Registered User
 
Join Date: Jun 2023
Posts: 33
Hi there Mr.V.. thanks for the confirmation.
Nothing against HEVC, but my older player will not play it, only 264 flavour discs and files.. So wondering about the possibility of creating 4K in a 264 jacket, tis all..
cheers CD
doobre is offline   Reply With Quote
Old 9th July 2023, 19:07   #31550  |  Link
bjones
Registered User
 
Join Date: Jan 2010
Posts: 20
Quote:
Originally Posted by jdobbs View Post
Ahh... that makes a difference. NVENCC doesn't actually have the ability to do the job and keep the video intact (it has to encode the video). So when you select "Keep Intact" for the video, the job is, in fact, being done by FFMPEG. I'll check the code and make sure FFMPEG is correctly handling the SRTs that are being created. I probably didn't test that scenario well enough.

I'll take a look at it and let you know what I find.
I'm sure you want to figure out the weird subtitles/chapters mashup on that probably 1 off use case.

Can you consider an Alternate Movie-only option for the alternate.txt file that does no video encode and just a straight video intact (like the intact audio one) or is there a trick with existing options or a combination of them I could use to accomplish that that I'm missing? If that was possible then the existing BDRB setup checkbox for converting subtitles via SubtitleEdit would accomplish the PGS to SRT conversion like it does beautifully on all the other alternate encode options which is my end goal.

What I started off trying was the Movie-only option but the subtitles don't convert in that mode and I'm guessing the reason why is then the resultant BD structure wouldn't be Blu-ray compliant anymore with SRT instead of PGS subtitles?

Also the intact audio option that's limited to .mkv's could probably have the restriction lifted since .mp4's no longer have those audio problems I've found.

PM if interested in the 'why', I'm stumbled across something pretty interesting but I don't want to load up the thread

Last edited by bjones; 9th July 2023 at 20:32.
bjones is offline   Reply With Quote
Old 10th July 2023, 01:46   #31551  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,132
Quote:
Originally Posted by doobre View Post
Hi there Mr.V.. thanks for the confirmation.
Nothing against HEVC, but my older player will not play it, only 264 flavour discs and files.. So wondering about the possibility of creating 4K in a 264 jacket, tis all..
While I hate to say this, but get a new player. I suspect that your player won't even play MKV/MP4 files with 2160p/H264. You can use the NVENCCRE program to recode the 2160p/HEVC to 1080p/H264, you will not have HDR. Frankly I do not know if BDRB can be configured to do a disc backup and recode the 2160p/HEVC to 1080p/H.264.

If you have a display that can do 2160p/HEVC/HDR, then you really need to get a new player.
MrVideo is offline   Reply With Quote
Old 10th July 2023, 15:43   #31552  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 171
Thank you for the new function to keep the original video intact while converting the audio in NVENCCRE v0.10.12. But there is a bug where the internal subtitles are not kept.

PHP Code:
NVLASTCMD.TXT
"C:\BD Rebuilder\BD_Rebuilder\tools\ffmpeg.exe" -"E:\Grantchester\grantchester.s08e06.1080p.pbs.web-dl.aac.2.0.h.264-ntb.mkv"  --map 0:v:-c:v copy -map 0:a:-c:a:0 ac3 -b:a:0 224k "D:\WORK\grantchester.s08e06.1080p.pbs.web-dl.ac3.h.264-ntb.mkv"

NVREENCODE.LOG
----------------------
[
07.10.23NVENCC Reencoder v0.10.12
----------------------
[
16.27.43]Start Job [1 of 6]
Reencoding "grantchester.s08e01.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.28.14]Job Completed [1 of 6]
[
16.28.14]Start Job [2 of 6]
Reencoding "grantchester.s08e02.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.28.45]Job Completed [2 of 6]
[
16.28.45]Start Job [3 of 6]
Reencoding "grantchester.s08e03.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.29.36]Job Completed [3 of 6]
[
16.29.37]Start Job [4 of 6]
Reencoding "grantchester.s08e04.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.30.27]Job Completed [4 of 6]
[
16.30.27]Start Job [5 of 6]
Reencoding "grantchester.s08e05.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.31.06]Job Completed [5 of 6]
[
16.31.06]Start Job [6 of 6]
Reencoding "grantchester.s08e06.1080p.pbs.web-dl.aac2.0.h.264-ntb.mkv"
  
-- Collecting input file information...
  -- 
Input AVC1920x108029.97fps
  
-- OutputKeep Original Video (Intact)
[
16.31.43]Job Completed [6 of 6

Last edited by musiclover; 15th July 2023 at 13:45.
musiclover is offline   Reply With Quote
Old 11th July 2023, 08:23   #31553  |  Link
doobre
Registered User
 
Join Date: Jun 2023
Posts: 33
Quote:
Originally Posted by MrVideo View Post
While I hate to say this, but get a new player. I suspect that your player won't even play MKV/MP4 files with 2160p/H264. You can use the NVENCCRE program to recode the 2160p/HEVC to 1080p/H264, you will not have HDR. Frankly I do not know if BDRB can be configured to do a disc backup and recode the 2160p/HEVC to 1080p/H.264.

If you have a display that can do 2160p/HEVC/HDR, then you really need to get a new player.
yep got another one for that, I'm just trying to make some movies backwards compatible, sort thing... cheers CD
doobre is offline   Reply With Quote
Old 12th July 2023, 02:56   #31554  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@musiclover

Yeah. I think I need to do some serious work on the "keep video intact" option.

But, just in case:

1. Is "Keep Internal Subtitles" checked?
2. Under "Special Processing" do you have the subtitle language selected?
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 12th July 2023 at 03:01.
jdobbs is offline   Reply With Quote
Old 12th July 2023, 05:28   #31555  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,132
Quote:
Originally Posted by doobre View Post
I'm just trying to make some movies backwards compatible
That begs the question: why?
MrVideo is offline   Reply With Quote
Old 12th July 2023, 09:02   #31556  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 171
Quote:
Originally Posted by jdobbs View Post
@musiclover

Yeah. I think I need to do some serious work on the "keep video intact" option.

But, just in case:

1. Is "Keep Internal Subtitles" checked?
2. Under "Special Processing" do you have the subtitle language selected?
The answer to both questions is YES
musiclover is offline   Reply With Quote
Old 12th July 2023, 18:59   #31557  |  Link
bjones
Registered User
 
Join Date: Jan 2010
Posts: 20
Quote:
Originally Posted by jdobbs View Post
@musiclover

Yeah. I think I need to do some serious work on the "keep video intact" option.

But, just in case:

1. Is "Keep Internal Subtitles" checked?
2. Under "Special Processing" do you have the subtitle language selected?
Yes on mine as well in special processing section, except it had the convert DVD/BD subtitle to SRT checked which was the only processing I was shooting for
bjones is offline   Reply With Quote
Old 13th July 2023, 00:01   #31558  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by musiclover View Post
The answer to both questions is YES
Quote:
Originally Posted by bjones View Post
Yes on mine as well in special processing section, except it had the convert DVD/BD subtitle to SRT checked which was the only processing I was shooting for
I'll look at it and fix it as soon as I get a chance.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 14th July 2023, 18:56   #31559  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@musiclover

I just tried several sources in which I am keeping video intact and reencoding audio to AC3 (like your post) using NVENCCRE. In every case, as long as the language has been selected, it is keeping the internal subtitle. Can you tell me what kind of subtitle your source files are using, what language they are, and what languages you have selected?
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 14th July 2023, 20:22   #31560  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@bjones

Well... looking at the code it looks like I never got around to adding the ffmpeg command line options that actually include the converted (SRT) subtitles that have been created from the graphical subs when using "Keep Original Video" is selected!! I guess that's what happens when you start something and then not go back to it for a while.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 15th July 2023 at 00:56.
jdobbs 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 22:11.


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