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. |
18th October 2020, 06:10 | #30101 | Link | |
Registered User
Join Date: Nov 2019
Posts: 9
|
Quote:
After doing some further experiments, I may have found something of use. Using TsmuxerGUI, I noticed a difference in the meta files produced by the old and new versions. The new Tsmuxer has the extra parameter, "--hdmv-descriptors" included in the first line. E.g. "MUXOPT --no-pcr-on-video-pid --new-audio-pes --hdmv-descriptors --blu-ray --vbr --auto-chapters=5 --vbv-len=500". Next I used the command line TsMuxer (newest) to produce muxes using .meta files both with and without --hdmv-descriptors. The one without had the sound issues previously mentioned, but the one with it played perfectly. I tried this test again with the old Tsmuxer but this time both were fine. I expected this, as the help info only mentions this new parameter in the newest versions. Looking in the BDRB Workfiles folder, the Mux_000xx.meta does not contain the --hdmv-descriptors entry, even though 2.6.16 was enabled. |
|
18th October 2020, 14:15 | #30102 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Quote:
Thanks for the info! [Edit] Couldn't find any discussion as to why that parameter was added, or why it was needed. It's easy to add, and the old TSMUXER version seems to not care if it is there. But I don't want to just add it until I know the consequences. Does anyone have any background on this parameter? [Edit] Ok, I found some discussion in the TSMUXER Open Source thread and some of the change notes. I'll add that parameter to the next release. Last edited by jdobbs; 18th October 2020 at 15:05. |
|
18th October 2020, 17:03 | #30103 | Link |
Elit Amans
Join Date: Feb 2005
Location: Sweden
Posts: 275
|
Update:
Working - "C:\vidsoft\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "L:\UHDBD\FLASH_GORDON_-_4K_UHD\BDMV\STREAM\02001.m2ts" --codec h264 --preset performance --bluray --qp-min 0 --multipass 2pass-full --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "E:\WORK\FIXEDCRF\WORKFILES\VID_02001.CHP" --sar 1:1 --aud --pic-struct --vbv-bufsize 30000 --max-bitrate 35000 --gop-len 24 -o "E:\WORK\FIXEDCRF\WORKFILES\VID_02001.AVS.264" Not working - "C:\vidsoft\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "L:\UHDBD\FLASH_GORDON_-_4K_UHD\BDMV\STREAM\02001.m2ts" --codec h264 --preset quality --bluray --qp-min 0 --vbr 11056 --aq-temporal --keyfile "B:\WORK\DG\WORKFILES\VID_02001.CHP" --sar 1:1 --aud --pic-struct --vbv-bufsize 30000 --max-bitrate 35000 --gop-len 24 -o "B:\WORK\DG\WORKFILES\VID_02001.AVS.264" Difference: EDIT: NEVER MIND Just remembered I encoded the working one with Very fast setting so that is of course the difference with the preset. --preset quality vs. performance - Strange if this is it as the quality parameter should be better. --multipass 2pass-full is absent in the non working one. Should it be there? Otherwise the only difference I can see is the constant quality mode switch witch shouldn't have anything to do with it. //LD Last edited by LowDead; 18th October 2020 at 22:27. Reason: Made a change to presets |
18th October 2020, 22:54 | #30104 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
And you shouldn't worry much about the --multipass 2pass-full. Slower presets include it silently and it is actually no longer needed explicitly. If it is still there it does no harm though. It's a legacy. Maybe you should update your NVIDIA drivers. Edit: And btw. your "Not working" was a bitrate (--vbr 1105) rather than a quality based (--vbr 0 --vbr-quality 20) encode. Last edited by Sharc; 18th October 2020 at 23:21. |
|
18th October 2020, 23:06 | #30105 | Link | |
Registered User
Join Date: Mar 2018
Posts: 33
|
Quote:
The MKV have only the audio tracks. This sub come from a ".srt" on same folder of MKV when I import MKV. Ok, not a problem mux with MKV merge and set "por" on sub... But, I will make a tv show with 30 mkvs where .srt files will be on the same folder. Any way to set this external sub as portuguese? Maybe make .sup files? bdrebuilder import .sup files like .srt on the same folder? |
|
19th October 2020, 09:15 | #30106 | Link |
Registered User
Join Date: Mar 2003
Posts: 311
|
Hi zamengo,
according to <HIDDENOPTS.txt> there's a setting Code:
IMPORT_SRT_LANG=s s = language code, sets default language for independently imported SRT files Default=eng Code:
IMPORT_SRT_LANG=por ggtop |
19th October 2020, 22:46 | #30107 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
BD Rebuilder v0.61.18
I have updated the first post of this thread with a link to the most recent version of BD-RB (v0.61.18). Changes for this release:
Code:
- Corrected an issue in which ALTERNATE 3D SBS sources could not be encoded in NVENCC mode. - Added TWEAK_ALTERNATE_NV as a new hidden option. See HIDDENOPTS.TXT. - Added mBitrate option to ALTERNATE.TXT. This allows you to set a maximum bitrate and VBV buffer size for ALTERNATE encode presets specified in ALTERNATE.TXT. Only applies to cTypes 1 (MKV) and 5 (MP4). - Added the --hdmv-descriptors to the TSMUXER meta file when appropriate to correct for issues associated with the new version of TSMUXER. - Other minor corrections and cosmetic fixes. |
20th October 2020, 03:35 | #30108 | Link | |
Registered User
Join Date: Mar 2018
Posts: 33
|
Quote:
|
|
20th October 2020, 04:09 | #30109 | Link | |
Registered User
Join Date: Nov 2019
Posts: 9
|
Quote:
I found a little more about the new hdmv descriptors parameter from the help info within TSmuxer itself. It states the following: "--hdmv-descriptors" "Use HDMV descriptors instead of ITU-T H.222.0 | ISO/IEC 13818-1 descriptors. Activated automatically for BD muxing." (My bold) Clearly it wasn't activated automatically in the non GUI TsMuxer. When that parameter was not specified, PCM and Dolby TrueHD soundtracks would fail to play in most PC media players. Many thanks for the quick update of BDRB. Last edited by Alleycat; 20th October 2020 at 04:11. Reason: omitted a word |
|
20th October 2020, 14:12 | #30110 | Link | |
Registered User
Join Date: Dec 2011
Posts: 148
|
Quote:
TWEAK_ALTERNATE_NV=--vbv-maxrate 50000 --vbv-bufsize 50000 The video failed to encode. ---------------------- [14:41:17] Importing MKV: UNCUT_GEMS - Collecting audio/video streams from source... - Building pseudo-BD source structure... [14:47:50] Video import completed successfully. ---------------------- [10/20/20] BD Rebuilder v0.61.18 [14:57:41] Source: UNCUT_GEMS_00000 - Input BD size: 38,81 GB - Approximate total content: [02:15:08.141] - Windows Version: 6.2 [9200] - MOVIE-ONLY/ALTERNATE OUTPUT mode enabled - Mode: MKV Container, 1920x1080, 640Kbs DD5.1 - Quality: Highest (Very Slow) - Decoding/Frame serving: DirectShow - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640 [14:57:41] PHASE ONE, Encoding - [14:57:41] Processing: VID_00000 (1 of 1) - [14:57:41] Extracting A/V streams [VID_00000] - [15:00:36] Reencoding video [VID_00000] - Source Video: MPEG-4 (AVC), 1920x1080 - Rate/Length: 23,976fps, 194 401 frames - [15:00:36] Reencoding: VID_00000, Pass 1 of 1 [15:00:36] - Failed video encode, aborted LASTCMD: "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 15000 --max-bitrate 15000 --gop-len 48 --vbv-maxrate 50000 --vbv-bufsize 50000 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264" What am I doing wrong here? |
|
20th October 2020, 15:08 | #30112 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
I deleted the line TWEAK_ALTERNATE_NV=--vbv-maxrate 50000 --vbv-bufsize 50000 in the .INI file
and added mBitrate=50000 in the ALTERNATE.TXT It looks like this: [00010] caption=MKV Container, 1920x1080, 640Kbs DD5.1 vBitrate=1941 aBitrate=640 aType=0 vFormat=5 cType=1 mBitrate=50000 BDRebuilder works now, so it was my mistake. But the max bitrate output, after encoding, was 40000. So 40000 is the maximum value for NVEnc encodings, I guess. General Unique ID : 221187679920445539249478065391758479108 (0xA66732967E11292A8F44EFAAC7500F04) Complete name : G:\BDRB_Work\UNCUT_GEMS.mkv Format : Matroska Format version : Version 2 File size : 15.2 GiB Duration : 2 h 15 min Overall bit rate mode : Variable Overall bit rate : 16.1 Mb/s Encoded date : UTC 2020-10-20 13:45:50 Writing application : mkvmerge v9.7.1 ('Pandemonium') 32bit Writing library : libebml v1.3.4 + libmatroska v1.4.5 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 3 frames Format settings, GOP : M=4, N=24 Codec ID : V_MPEG4/ISO/AVC Duration : 2 h 15 min Bit rate mode : Variable Bit rate : 15.4 Mb/s Maximum bit rate : 40.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (23976/1000) FPS Original frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.310 Stream size : 14.6 GiB (96%) Default : Yes Forced : No |
20th October 2020, 15:17 | #30113 | Link | |
Registered User
Join Date: Dec 2011
Posts: 148
|
Quote:
BDRebuilder didn't really give an CMD window error. Just: "Failed video encode, aborted" I changed in the ALTERNATE.TXT file mBitrate to 40000. Alright for you? [00010] caption=MKV Container, 1920x1080, 640Kbs DD5.1 vBitrate=1941 aBitrate=640 aType=0 vFormat=5 cType=1 mBitrate=40000 Last edited by Glarioo; 20th October 2020 at 15:24. |
|
20th October 2020, 16:04 | #30114 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Quote:
Not sure why it got limited to 40Mbs. Is that what is showing in LASTCMD? I thought that maybe the Level 4.1 had done it -- but I looked it up and it has a limit of 50Mbs. It's possible, I guess, that I missed something in the code. Last edited by jdobbs; 20th October 2020 at 16:11. |
|
20th October 2020, 17:37 | #30115 | Link | |
Registered User
Join Date: Dec 2011
Posts: 148
|
Quote:
LASTCMD which worked, but it had, according to MediaInfo, a max bitrate of 40000. 40000 I can live with that. "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264" LASTCMD which did not work. I think there is something wrong with this one. Twice vbv-bufsize (15000 and 50000) and twice max-rate (15000 and 50000) "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 15000 --max-bitrate 15000 --gop-len 48 --vbv-maxrate 50000 --vbv-bufsize 50000 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264" My conclusion: do not add "TWEAK_ALTERNATE_NV=--vbv-maxrate 50000 --vbv-bufsize 50000" in the BDREBUILDER.INI. Add "mBitrate=50000" in the ALTERNATE.TXT Am I correct? |
|
21st October 2020, 09:22 | #30118 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
It's '--max-bitrate' only for NVEncC. One should however not have to worry about the duplication of parameters. The last ones just overrule the former ones AFAIK. Last edited by Sharc; 21st October 2020 at 09:28. Reason: typo |
|
21st October 2020, 14:21 | #30119 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Wow. Good catch. When I read that post I missed that completely. That's the reason his "TWEAK_ALTERNATE_NV" settings didn't take hold (and probably why the command line failed).
Last edited by jdobbs; 21st October 2020 at 14:24. |
21st October 2020, 14:45 | #30120 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
Did it with CRF 18 now. Same result. max bitrate of 40000
mBitrate=50000 in de alterternate.txt file. No TWEAK_ALTERNATE_NV in the BDREBUILDER.ini file. LASTCMD.TEXT: "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 18 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264" |
Thread Tools | Search this Thread |
Display Modes | |
|
|