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 15th June 2024, 09:57   #31721  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,145
Quote:
Originally Posted by jdobbs View Post
You may want to look at some of the options available directly via NVENCC (using ENC_CUSTOM=) at this link -- there are quite a few things you can do directly that AVISYNTH does for you. One thing to look at, though is the order of any preprocessing (--vpp) options. For example, one annoying thing I found is that the output resizing happens before padding. So if you wanted to change a 4:3 source into a 16:9 1080p output, for example, you would have to do this:

--output-res 1440x1080 --vpp-pad 240,0,240,0
Thanks for the update. I will certainly dig into this.
MrVideo is offline   Reply With Quote
Old 16th June 2024, 03:25   #31722  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,145
I'm not sure what I am doing wrong, but when I do
Code:
ENC_CUSTOM=--output-res 2880x2160 --vpp-pad 480,0,480,0
or
Code:
ENC_CUSTOM=--output-res 2880x2160
ENC_CUSTOM=--vpp-pad 480,0,480,0
The resulting video in both cases is 2880x2160. The padding was never added.

UPDATE: I just looked at the NV last command file and the --vpp-pad is nowhere to be found. The 2nd example above was what I used in this case.

Last edited by MrVideo; 16th June 2024 at 06:06.
MrVideo is offline   Reply With Quote
Old 16th June 2024, 05:59   #31723  |  Link
iambryanknowles
Registered User
 
Join Date: Mar 2024
Posts: 12
For IMPORT_PAL_TO_FILM=1, it seems that the video frame rate changes, but that the audio doesn't reencode to match. Is that handled by another option, or is that something that can be implemented in the new release?

Edit: Tested this with PCM afterwards and that worked, so I think it's at odds with "don't reencode ac3".

When importing a Pal to Film file, the chapters don't seem to be adjusted.

Also, when PAL is imported as film this way, it is automatically resized in avisynth, regardless of Scale SD to 720/1080. Is there a chance you could allow that scaling directly from the PAL frame size?

Last edited by iambryanknowles; 16th June 2024 at 06:47.
iambryanknowles is offline   Reply With Quote
Old 16th June 2024, 13:19   #31724  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,989
Quote:
Originally Posted by MrVideo View Post
I'm not sure what I am doing wrong, but when I do
Code:
ENC_CUSTOM=--output-res 2880x2160 --vpp-pad 480,0,480,0
or
Code:
ENC_CUSTOM=--output-res 2880x2160
ENC_CUSTOM=--vpp-pad 480,0,480,0
The resulting video in both cases is 2880x2160. The padding was never added.

UPDATE: I just looked at the NV last command file and the --vpp-pad is nowhere to be found. The 2nd example above was what I used in this case.
You can't put two ENC_CUSTOM lines. When you do, the first one is the only one that is applied. But the first line looks like it should work. Look through our INI and make sure there isn't more than one.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 16th June 2024, 13:23   #31725  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,989
Quote:
Originally Posted by iambryanknowles View Post
For IMPORT_PAL_TO_FILM=1, it seems that the video frame rate changes, but that the audio doesn't reencode to match. Is that handled by another option, or is that something that can be implemented in the new release?

Edit: Tested this with PCM afterwards and that worked, so I think it's at odds with "don't reencode ac3".

When importing a Pal to Film file, the chapters don't seem to be adjusted.

Also, when PAL is imported as film this way, it is automatically resized in avisynth, regardless of Scale SD to 720/1080. Is there a chance you could allow that scaling directly from the PAL frame size?
If the frame rate is changed, then the audio definitely has to be adjusted too -- so the AC3 has to be reencoded. I thought I'd made the code force the reencode, but I'll look at it and see.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 16th June 2024, 13:58   #31726  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,145
Quote:
Originally Posted by jdobbs View Post
You can't put two ENC_CUSTOM lines. When you do, the first one is the only one that is applied. But the first line looks like it should work. Look through our INI and make sure there isn't more than one.
Thanks for the tip about the ENC_CUSTOM. It is the first one in the file. All of the others are commented out anyway. I put it back to the single line and ran it again. Still no joy, but:
Code:
"C:\BD_Rebuilder-0.61.25\tools\nvenc\nvencc.exe" --avhw --output-res 2880x2160 
--vpp-pad 480,0,480,0 --interlace auto --vpp-deinterlace normal -i "E:\Doctor_Who-test.mkv" 
--codec h265 --preset default --profile main10 --output-depth 10 --chromaloc auto --colorprim auto 
--transfer auto --colormatrix auto --master-display copy --max-cll copy --qp-min 0 --multipass 2pass-full 
--vbr 4000 --aq --aq-temporal --aud --pic-struct --vbv-bufsize 45000 --max-bitrate 48000 --lookahead 24 
--no-b-adapt --gop-len 24 --audio-copy 1 --sub-copy --chapter-copy 
-o "E:\BD-REBUILDER\WORK\Doctor_Who-test.mkv"
Notice how the pad is there. I use it all the time to add letterbox black to videos, so I know it can work.

UPDATE: I did some more digging. I took the output from the run and placed it into VideoReDo. The 4:3 image was squished horizontally. It makes no difference if the pad was before, or after, the res value. What I discovered makes perfect sense. And what was that? The output res doesn't have the padding added to it to make it 3840. The output res is what it actually puts out. So, what it does is take the output res and subtract any padding and upsizes that value. In this case 2880. Within an AVISynth script, you add padding to the original file and then upres it to the final size. I've never tried upressing to a 4:3 size and then adding padding.

So, one has to remember that the output res must be the final result and you figure out what the padding needs to be to get to that final size.

Learn something new every day.

Last edited by MrVideo; 16th June 2024 at 14:22.
MrVideo is offline   Reply With Quote
Old 16th June 2024, 23:45   #31727  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,117
Quote:
Originally Posted by Lathe View Post
I'm wondering if BDRB does this or if actually ANYTHING does this...

I have a nice MKV file of a full movie, all encoded to be Blu-ray compliant. It has 4 audio tracks, the main audio and 3 commentary tracks. Now, with MKVMerge, you can see every track, nicely labeled for what it is. Main audio, director's commentary, 2nd commentary with so and so, and 3rd commentary with that person. AND, all the subs are taken from 3 different sources and I think go with all the commentary tracks as well as the main audio.

But, here's the catch... As soon as I use TSMuxer to mux it into BDMV folder form to burn to Blu-ray, WHAM! all the nice titles of each track are totally lost and after muxing it merely says 'Track 1', 'Track 2', etc...

IS there ANY way at all with BDRB or otherwise to preserve all the excellent titles of each stream when you mux the MKV file into a Blu-ray folder? I have not found a way to do that which really sux because it sure would be NICE to then play the resulting Blu-ray and see all the tracks and their names so you know which is which.

Any suggestions? Thanks!

***EDIT

Here is what I'm seeing when the file is in its MKV form. This is ALL LOST, any way to keep it?

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 h 38 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 449 MiB (2%)
Title : Main
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Dialog Normalization : -31 dB
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 h 34 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 130 MiB (1%)
Title : Commentary by director John Dahl, writer Rick Dahl and editor Scott Chestnut
Language : English
Service kind : Complete Main
Default : No
Forced : No
Dialog Normalization : -31 dB
compr : -7.50 dB
dynrng : -7.50 dB
ltrtcmixlev : -3.0 dB
ltrtsurmixlev : -3.0 dB
lorocmixlev : -3.0 dB
lorosurmixlev : -3.0 dB
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 h 38 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 135 MiB (1%)
Title : Commentary by historian Alain Silver and filmmaker Christopher Coppola
Language : English
Service kind : Complete Main
Default : No
Forced : No
Dialog Normalization : -31 dB
compr : -0.28 dB
ltrtcmixlev : -3.0 dB
ltrtsurmixlev : -3.0 dB
lorocmixlev : -3.0 dB
lorosurmixlev : -3.0 dB
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Audio #4
ID : 5
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 h 34 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 304 MiB (2%)
Title : Commentary by Mondo Digital's Nathaniel Thompson
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Dialog Normalization : -31 dB
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Text #1
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 30 min
Bit rate : 40 b/s
Frame rate : 0.183 FPS
Count of elements : 993
Stream size : 26.5 KiB (0%)
Title : US / Vinegar Syndrome
Language : English (US)
Default : No
Forced : No

Text #2
ID : 7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 30 min
Bit rate : 39 b/s
Frame rate : 0.145 FPS
Count of elements : 787
Stream size : 25.9 KiB (0%)
Title : UK / Plan B Entertainment
Language : English (GB)
Default : No
Forced : No

Text #3
ID : 8
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 37 min
Bit rate : 46 b/s
Frame rate : 0.220 FPS
Count of elements : 1291
Stream size : 33.5 KiB (0%)
Title : SDH / US / Vinegar Syndrome
Language : English (US)
Default : No
Forced : No

Text #4
ID : 9
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 38 min
Bit rate : 44 b/s
Frame rate : 0.212 FPS
Count of elements : 1249
Stream size : 31.8 KiB (0%)
Title : SDH / US / Umbrella Entertainment
Language : English (US)
Default : No
Forced : No

Text #5
ID : 10
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 32 min
Bit rate : 39 b/s
Frame rate : 0.147 FPS
Count of elements : 814
Stream size : 26.6 KiB (0%)
Title : SDH / UK / Plan B Entertainment
Language : English (GB)
Default : No
Forced : No

***EDIT 2

Okay, here is the metadata shown in TSMuxer. Is there a way to add the titles to this so that it will show when the resulting Blu-ray is burned to disc?

MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv", insertSEI, contSPS, track=1, lang=eng
A_AC3, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv", track=2, lang=eng
A_AC3, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv", track=3, lang=eng
A_AC3, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv", track=4, lang=eng
A_AC3, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv", track=5, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=6, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=7, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=8, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=9, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=10, lang=eng
S_TEXT/UTF8, "D:\__MKVMerge\Red.Rock.West.1993.1080p.BluRay.FLAC.2.0.x264-c0kE.mkv",font-name="Arial",font-size=65,font-color=0xffffffff,bottom-offset=24,font-border=5,text-align=center,video-width=1920,video-height=1038,fps=23.976, track=11, lang=vie
I guess not...
Lathe is offline   Reply With Quote
Old 17th June 2024, 21:56   #31728  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,989
Quote:
Originally Posted by Lathe View Post
I guess not...
I can tell you I don't know how. I'll look around and see if I can find anything.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 18th June 2024, 03:52   #31729  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,117
Quote:
Originally Posted by jdobbs View Post
I can tell you I don't know how. I'll look around and see if I can find anything.
Oh, thanks man! Didn't expect a reply from The Man himself!
Lathe is offline   Reply With Quote
Old 18th June 2024, 13:09   #31730  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,598
I think there is no provision in .m2ts to have property <title>
It might be able to shoehorn something in somewhere, but which application shall read that ?
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 19th June 2024, 00:44   #31731  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,117
Quote:
Originally Posted by Emulgator View Post
I think there is no provision in .m2ts to have property <title>
It might be able to shoehorn something in somewhere, but which application shall read that ?
Appreciate the input. Just seems to me like something that would be very basic. Now, when playing commercial Blu-rays, I THINK they show titles to the tracks. Might hafta start ripping everything to MKV so I can display the track titles (nah...)
Lathe is offline   Reply With Quote
Old 20th June 2024, 02:34   #31732  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,145
Does anyone know how to repair subtitle tracks that do not have the dts in sequential order? The NV encoder bitches about the subtitle being wrong and aborts. Funny thing is is that the program that created the MKV file in the first place didn't bitch about it. Using a later tsmuxer beta to rewrap to m2ts doesn't fix it (it was a long shot).

At the moment I'm running the program without saving the subtitle streams. Personally I do not really care about them.
MrVideo is offline   Reply With Quote
Old Yesterday, 21:32   #31733  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,989
New Release of BD-Rebuilder (v0.62.01)

I have updated the first post of this thread with a link to the latest release (v0.62.01) of BD Rebuilder. Changes for this release:
Code:
- Added support for GPU encoding using Intel
  GPUs (Quick Sync).  Note that your GPU must
  be advanced enough, must have support enabled
  and drivers installed. This feature is still 
  in the experimental stages and needs testing. 
  If you would like to test it, you can enable
  it by adding "QSYNC_TEST=1" to the "Options" 
  area of BDREBUILDER.INI. Please report your
  findings on the DOOM9 BD Rebuilder Bug
  Reporting site.
- Replaced NVENCCRE with GPUENCCRE so that it
  supports both NVIDIA and INTEL GPUs.
- Set GPUENCCRE to remux MKV output via
  MKVMERGE by default to low the probability
  of errors in muxing.  It can be changed
  via the OUTPUT/SPECIAL PROCESSING menu.
- Corrected NVENCCRE error (now GPUENCCRE) 
  that caused subtitles to not be handled 
  properly when using "Keep Original Video 
  (Intact)" mode.
- Fixed an error when importing files that
  include Dolby E-AC3/ATMOS or TRUEHD that
  could result in stereo or mono output.
- Added a text clarifier when imports fail
  due to illegal character(s) in the path or
  filename.
- Fixed an issue in which converting DVD/BD
  to SRT was failing due to changes in the
  newer version of MKVEXTRACT.
- Fixed an issue in import resizing of 
  certain input file that use slight off size
  widths.
- Other minor corrections and cosmetic fixes.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old Yesterday, 22:58   #31734  |  Link
Lowpro
Registered User
 
Join Date: Jul 2014
Posts: 222
Quote:
Originally Posted by jdobbs View Post
I have updated the first post of this thread with a link to the latest release (v0.62.01) of BD Rebuilder. Changes for this release:
Code:
- Added support for GPU encoding using Intel
  GPUs (Quick Sync).  Note that your GPU must
  be advanced enough, must have support enabled
  and drivers installed. This feature is still 
  in the experimental stages and needs testing. 
  If you would like to test it, you can enable
  it by adding "QSYNC_TEST=1" to the "Options" 
  area of BDREBUILDER.INI. Please report your
  findings on the DOOM9 BD Rebuilder Bug
  Reporting site.
- Replaced NVENCCRE with GPUENCCRE so that it
  supports both NVIDIA and INTEL GPUs.
- Set GPUENCCRE to remux MKV output via
  MKVMERGE by default to low the probability
  of errors in muxing.  It can be changed
  via the OUTPUT/SPECIAL PROCESSING menu.
- Corrected NVENCCRE error (now GPUENCCRE) 
  that caused subtitles to not be handled 
  properly when using "Keep Original Video 
  (Intact)" mode.
- Fixed an error when importing files that
  include Dolby E-AC3/ATMOS or TRUEHD that
  could result in stereo or mono output.
- Added a text clarifier when imports fail
  due to illegal character(s) in the path or
  filename.
- Fixed an issue in which converting DVD/BD
  to SRT was failing due to changes in the
  newer version of MKVEXTRACT.
- Fixed an issue in import resizing of 
  certain input file that use slight off size
  widths.
- Other minor corrections and cosmetic fixes.
Very nice. Very nice, indeed. Thanks!
Lowpro is offline   Reply With Quote
Old Today, 16:00   #31735  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 184
The release of the new GPUENCC doesn't work with Nvencc for me. I keep getting the message "- ERROR -- Encode failed. Job aborted." right at the start of each job. While NVENCCRE handles these jobs OK.
Is GPUENCC supposed to work at once or does it need changes in the GPUENCC.INI file?
----------------------
[06.23.24] GPU Reencoder v0.01.12
----------------------
[16:50:06]Start Job [1 of 1]
- Reencoding "The Analogues at Pinkpop 2024.mp4"
-- Collecting input file information...
-- Input : AVC, 1920x1080, 25fps
-- Output: H264 (AVC), No Resize, Keep fps, CQ 23
- ERROR -- Encode failed. Job aborted.

----------------------
[06.23.24] NVENCC Reencoder v0.10.15
----------------------
[16:52:00]Start Job [1 of 1]
- Reencoding "The Analogues at Pinkpop 2024.mp4"
-- Collecting input file information...
-- Input : AVC, 1920x1080, 25fps
-- Output: H264 (AVC), No Resize, Keep fps, CQ 23
[16:58:14]Job Completed [1 of 1]

Last edited by musiclover; Today at 17:38.
musiclover 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 18:31.


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