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 24th November 2021, 00:46   #30941  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,931
Quote:
Originally Posted by Mark_Venture View Post
not a bug, but a question... (should I be asking outside of this thread??)

When doing Alt-Movie Only for a normal Blurays, I had been selecting "MKV Container, 1920x1080, Intact Audio" . It works great and I'm happy with the output. Looking at Alternate.txt it has vFormat=5 (where 5=1920x1080). Does it actually resize the video on a normal bluray? I mean, a typical bluray is 1080p, so I would think it shouldn't, but I have to ask. Or does it cause black bars inserted or something to make the video a full 1080 lines for movies that aren't 16:9 aspect ratio or something?

When I do UHD disks, I've been using "MKV Container, HEVC, NO_RESIZE, Intact Audio" which has vFormat=7 (where 7=No Resizing)

Other than h264 vs H265, if I switch to "MKV Container, HEVC, NO_RESIZE, Intact Audio" for all, should I expect the same output for my regular blurays?
1. if the Blu-Ray source is less than 1920x1080 -- yes it will resize it (since 1920x1080 was selected for output). Yes, it will be adjusted (for example if the source was 4:3). But on a Blu-Ray that would be very rare.

2. Yes, using "MKV Container, HEVC, NO_RESIZE, Intact Audio" should produce the same for 1920x1080 sources. But if you run into a 720p or 480/576 source -- they will not be resized, and a 4:3 source will stay the same (without bars being added).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 24th November 2021, 00:50   #30942  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,931
Quote:
Originally Posted by RetsimLegin View Post
AVS? (sorry!)

Certainly
a) the BDRB output lost sync
b) the AVIDEMUX output (24p exactly) did not
c) ...and neither does the original
The AVS is a text file that will exist in your working folder with the extension .AVS. It is fed to the encoder through AVISYNTH. The AVS for each audio stream will start with "AUD". You can open it with any text editor (like NOTEPAD).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 24th November 2021, 01:36   #30943  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Quote:
Originally Posted by jdobbs View Post
There was a good reason at the time I wrote it... but, to be honest, I can't remember why now.
I guess it is time to change it so that the conversion is not done, with a hidden option to do so if desired by the user.
MrVideo is offline   Reply With Quote
Old 24th November 2021, 16:05   #30944  |  Link
RetsimLegin
Registered User
 
Join Date: Apr 2021
Posts: 31
Quote:
Originally Posted by jdobbs View Post
The AVS is a text file that will exist in your working folder with the extension .AVS. It is fed to the encoder through AVISYNTH. The AVS for each audio stream will start with "AUD". You can open it with any text editor (like NOTEPAD).
I had deleted the output so I just ran the job again. Here is the text file
Code:
#Created by BD Rebuilder - v0.61.25
LoadPlugin("C:\Users\nigel\Downloads\BDRB 06125\tools\nicaudio.dll")
audio=NicAC3Source("00000.track_4352.ac3").TimeStretch(tempo = 23.976/24.0*100.0)
audio = (AudioChannels(audio) > 6) ? GetChannel(audio,1,2,3,4,7,8) : audio
ConvertAudioTo16bit(ResampleAudio(audio, 48000))
so it appears to have (at least attempted to) retime(d) the audio. But in fact it hasn't. The finished stream does lose sync if played in VLC and in the windows 10 house app "Films & TV". The avidemux unretimed one does not; neither does the source.
Would the mediainfo data of source and BDRB output help any?

Last edited by RetsimLegin; 24th November 2021 at 16:09.
RetsimLegin is offline   Reply With Quote
Old 25th November 2021, 00:08   #30945  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,931
Quote:
Originally Posted by RetsimLegin View Post
I had deleted the output so I just ran the job again. Here is the text file
Code:
#Created by BD Rebuilder - v0.61.25
LoadPlugin("C:\Users\nigel\Downloads\BDRB 06125\tools\nicaudio.dll")
audio=NicAC3Source("00000.track_4352.ac3").TimeStretch(tempo = 23.976/24.0*100.0)
audio = (AudioChannels(audio) > 6) ? GetChannel(audio,1,2,3,4,7,8) : audio
ConvertAudioTo16bit(ResampleAudio(audio, 48000))
so it appears to have (at least attempted to) retime(d) the audio. But in fact it hasn't. The finished stream does lose sync if played in VLC and in the windows 10 house app "Films & TV". The avidemux unretimed one does not; neither does the source.
Would the mediainfo data of source and BDRB output help any?
Can you post your settings? They are the contents of the BDREBUILDER.INI file in the installation folder.

Also, you actually ran the job right? You aren't testing against the pseudo folder from the import? The audio isn't adjusted until the disc reencode sequence occurs. The reason I ask is your statement that BD-RB "re-encoded the EC3 audio without other amendment". The reencode of EAC3 occurs during import (without adjustment for framerate change), not during the actual running of the job (which occurs after the import, and includes framerate adjustment).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 25th November 2021 at 00:16.
jdobbs is offline   Reply With Quote
Old 25th November 2021, 09:16   #30946  |  Link
RetsimLegin
Registered User
 
Join Date: Apr 2021
Posts: 31
Quote:
Originally Posted by jdobbs View Post
Can you post your settings? They are the contents of the BDREBUILDER.INI file in the installation folder.

Also, you actually ran the job right? You aren't testing against the pseudo folder from the import? The audio isn't adjusted until the disc reencode sequence occurs. The reason I ask is your statement that BD-RB "re-encoded the EC3 audio without other amendment". The reencode of EAC3 occurs during import (without adjustment for framerate change), not during the actual running of the job (which occurs after the import, and includes framerate adjustment).
The lipsync is out on the finished product i.e. on the file 00000.m2ts in the STREAM folder....

This is the .ini file
Code:
[Options]
VERSION=0.61.0.25
ENCODER=1
MODE=0
ENCODE_QUALITY=0
ONEPASS_ENCODING=2
AUTO_QUALITY=1
TARGET_SIZE=23500
NVENC_CAPABLE=1
PRIORITY_CLASS=0
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=all
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=0
AC3_REENCODE=0
AC3_640=0
AC3_192=0
KEEP_HD_AUDIO=1
AUDIO_DRC=0
DECODER=0
AVCHD=0
REMOVE_WORKFILES=0
REMOVE_OUTPUT=0
USE_FILTERS=0
BDMV_CERT_ONLY=0
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=0
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=1
CUSTOM_TARGET_SIZE=22000
[Paths]
WORKING_PATH=C:\USERS\NIGEL\VIDEOS\BDRB_TEST\
SOURCE_PATH=C:\USERS\NIGEL\VIDEOS\BDRB_TEST\IMPORTS\AMAZON-TERMINAL\

EDIT
I just re-read what you wrote above viz: "The reencode of EAC3 occurs during import (without adjustment for framerate change), not during the actual running of the job (which occurs after the import, and includes framerate adjustment)"
and thought that the log might reveal - in particular "Track 4352 (eng): Keeping original audio"
Code:
----------------------
[14:48:12] Importing MP4: *********
  - Preparing MP4 for processing...
  - Collecting audio/video streams from source...
  - Converting audio, Track #2, EAC3 to AC3...
  - Building pseudo-BD source structure...
[14:49:21] Video import completed successfully.
----------------------
[11/24/21] BD Rebuilder v0.61.25
[14:50:56] Source:  *********
  - Input BD size: 5.57 GB
  - Approximate total content: [01:35:22.925]
  - Target BD size: 22.95 GB
  - Windows Version: 6.2 [9200]
  - Auto Quality: Very Good (Very Fast), 1-Pass VBR
  - Decoding/Frame serving: NVENCC
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=448
[14:50:56] PHASE ONE, Encoding
 - [14:50:56] Processing: VID_00000 (1 of 1)
 - [14:50:56] Extracting A/V streams [VID_00000]
 - [14:51:05] Reencoding video [VID_00000]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23.976fps, 137,213 frames
   - Bitrate: 31,241 Kbs
 - [14:51:05] Reencoding: VID_00000, Pass 1 of 1
 - [14:57:40] Video Encode complete
 - [14:57:40] Processing audio tracks
   - Track 4352 (eng): Keeping original audio
 - [14:57:40] Multiplexing M2TS
[14:58:01]PHASE ONE complete
[14:58:01]PHASE TWO - Rebuild Started
 - [14:58:01] Rebuilding BD file Structure
[14:58:01] - Encode and Rebuild complete
[14:58:01] JOB: ******** finished.

Last edited by RetsimLegin; 25th November 2021 at 13:26.
RetsimLegin is offline   Reply With Quote
Old 26th November 2021, 16:55   #30947  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,931
Quote:
Originally Posted by RetsimLegin View Post
I just re-read what you wrote above viz: "The reencode of EAC3 occurs during import (without adjustment for framerate change), not during the actual running of the job (which occurs after the import, and includes framerate adjustment)"
and thought that the log might reveal - in particular "Track 4352 (eng): Keeping original audio"
Hmm... it should never keep the original audio when there is an audio adjustment to be made. I'll take a look at that. It must miss it somehow.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 26th November 2021 at 17:14.
jdobbs is offline   Reply With Quote
Old 27th November 2021, 22:42   #30948  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,931
@RetsimLegin

Go into SETUP and uncheck "Do not reencode AC3 (Blu-Ray only)" under the AUDIO options. Let me know if that has an effect.

[Edit] Yep. That's it. I went back through the code and that flag was overriding the "must encode" condition associated with changing framerate. I've fixed it for the next release.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 28th November 2021 at 15:26.
jdobbs is offline   Reply With Quote
Old 1st December 2021, 15:36   #30949  |  Link
RetsimLegin
Registered User
 
Join Date: Apr 2021
Posts: 31
@jdobbs I'm using it for another project ATM but I will check back on this later to confirm your own findings. Thanks.
RetsimLegin is offline   Reply With Quote
Old 5th December 2021, 16:29   #30950  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
DD+ for UHD discs

I want to again beg that DD+ audio not be re-encoded to DD when building a UHD BD structure.

Doing so removes any potential 7.1 audio and/or Dolby Atmos audio.

I just did a test with a 2160p HDR file and had TSMuxer create a M2TS file. Actually I told TSMuxer to create a BD ISO file. I then put that into my Sony UHD BD player. While the player recognized it as a UHD BD disc, it refused to play it. I need to see if a newer nightly build fixes that issue. In the meantime, I took the M2TS file from the ISO and burned it onto a BD-ROM (RE) disc. The player played the file just fine. The DD+ audio was sent to my Denon AVR. It displayed that the audio was DD+.

Thanks, in advance.
MrVideo is offline   Reply With Quote
Old 5th December 2021, 18:49   #30951  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,144
Did you actually burn the ISO to a disk or just tried to use it as a "media file"?
gonca is offline   Reply With Quote
Old 5th December 2021, 20:35   #30952  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Burned to BD-RE. I've downloaded the latest nightly and will try again.

EDIT: Nope, didn't work. Will report it.

Last edited by MrVideo; 5th December 2021 at 21:31.
MrVideo is offline   Reply With Quote
Old 5th December 2021, 23:22   #30953  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,144
Try creating a BD Folder instead and have ImgBurn burn that to disc
gonca is offline   Reply With Quote
Old 6th December 2021, 02:27   #30954  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Quote:
Originally Posted by gonca View Post
Try creating a BD Folder instead and have ImgBurn burn that to disc
Good point. I will give that a go.

The ultimate goal was to verify that the Sony UHD player would play M2TS files, in a BD layout, that contained DD+ audio.

So, until BDRB no longer recodes DD+ audio to AC3 when it is within a file that contains 4K video, I have to do the following:
1) Do a backup of the desired 4K files.
2) Use tsMuxer to remux the DD+ audio from the original source with the BDRB created M2TS file, replacing the AC3 audio.
3) Replace the BDRB M2TS file(s) with the newly remuxed M2TS file(s).

I'm about to do steps 2 & 3. Hopefully all will be fine. Obviously I prefer not to do the manual audio stream replacement.
MrVideo is offline   Reply With Quote
Old 6th December 2021, 07:07   #30955  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Well, the project in which I was trying to create a UHD set of discs with 4K/DD+ files is now dead in the water until BDRB no longer re-encodes DD+ audio.

There is some kind of subtle difference in the remuxed M2TS file that results in the viewing of the video to terminate early and go back to the menu. I was testing two files onto a disc. I didn't discover the issue until I was playing the 2nd file and chapter skipping. The chapters were created by BDRB, since the original files do not have any chapters. In the case of the 2nd file, shortly after I skipped to the last chapter, it played for a very little bit and then aborted the playing of the file and returned to the menu. IIRC, BDRB inserts chapter marks every 5 minutes.

I know there isn't an issue with the M2TS itself, as I burned the two M2TS files to a data disc and the 2nd video plays thru the location in which there was an issue.

That means this particular project can go no further.

As a side issue, the latest tsMuxer does not like the AC3 file that was created by BDRB. When I placed the BDRB created M2TS file into tsMuxer, it complained about the audio track and left it out of the list of tracks.
MrVideo is offline   Reply With Quote
Old 6th December 2021, 07:14   #30956  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
While working on the above project, I discovered a bug.

The video file contains a boat load of subtitles. I have BDRB set to only include the English subs. But, when I play the disc that BDRB created, pressing SUBTITLE on the player's remote cycles thru all of the subtitles that were in the original file. But, the M2TS file only contains the two English subtitles.
MrVideo is offline   Reply With Quote
Old 6th December 2021, 11:25   #30957  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Trying to find the UHD BD specification is like trying to find a microscopic needle in a haystack.
MrVideo is offline   Reply With Quote
Old 6th December 2021, 12:03   #30958  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,144
Quote:
BDRB inserts chapter marks every 5 minutes.
Actually, that is a tsMuxeR default setting.
gonca is offline   Reply With Quote
Old 6th December 2021, 20:39   #30959  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,017
Thanks for the clarification. Makes sense, since BDRB uses tsMuxer.
MrVideo is offline   Reply With Quote
Old 6th December 2021, 23:33   #30960  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,144
MrVideo
Run a test for you
Took a decrypted disc on local drive
Demuxed all streams (video, audio, subs, chapters, etc)
Re-encoded video
Used tsMuxeR (latest of the day) to mux into UHD structure
Then imported into BD_RB to create menu (quick author)
Burnt to BD-RE and tested on Sony UHD player
Plays fine
.....................renamed tsMuxeR so that BR_RB used latest(at time) tsMuxer(4k)
here is MediaInfo report on playlist


Code:
     : General
Complete name                            : K:\OVERLORD\BDMV\PLAYLIST\00001.mpls
Format                                   : Blu-ray Playlist
File size                                : 470 Bytes
Duration                                 : 1 h 49 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 0 b/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 1 h 49 min
Bit rate                                 : 23.9 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.120
Stream size                              : 18.3 GiB
Writing library                          : x265 3.5+2-g2b25c9ba0+45:[Windows][GCC 10.2.0][64 bit] Yuuki 10bit
Encoding settings                     
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
format_identifier                        : HDMV
Source                                   : 00001.m2ts / 00001.m2ts

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : MLP FBA AC-3 16-ch
Format/Info                              : Meridian Lossless Packing FBA
Commercial name                          : Dolby TrueHD with Dolby Atmos
Format settings                          : Dolby Surround EX
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 1 h 49 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 8 355 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossless
Stream size                              : 502 MiB
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
bsid                                     : 6
Dialog Normalization                     : -27
Dialog Normalization                     : -27 dB
compr                                    : 1.94
compr                                    : 1.94 dB
dynrng                                   : 1.26
dynrng                                   : 1.26 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -27
dialnorm_Average                         : -27 dB
dialnorm_Minimum                         : -27
dialnorm_Minimum                         : -27 dB
dialnorm_Maximum                         : -27
dialnorm_Maximum                         : -27 dB
dialnorm_Count                           : 1262
compr_Average                            : 1.63
compr_Average                            : 1.63 dB
compr_Minimum                            : -6.88
compr_Minimum                            : -6.88 dB
compr_Maximum                            : 5.46
compr_Maximum                            : 5.46 dB
compr_Count                              : 574
dynrng_Average                           : 0.91
dynrng_Average                           : 0.91 dB
dynrng_Minimum                           : -2.32
dynrng_Minimum                           : -2.32 dB
dynrng_Maximum                           : 5.46
dynrng_Maximum                           : 5.46 dB
dynrng_Count                             : 1184
format_identifier                        : AC-3
Source                                   : 00001.m2ts / 00001.m2ts

Text
ID                                       : 4768 (0x12A0)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Duration                                 : 1 h 49 min
Source                                   : 00001.m2ts / 00001.m2ts

Menu
00:00:00.000                             : Chapter 1
00:06:30.264                             : Chapter 2
00:13:46.658                             : Chapter 3
00:20:30.479                             : Chapter 4
00:26:26.960                             : Chapter 5
00:34:08.128                             : Chapter 6
00:41:09.759                             : Chapter 7
00:48:40.543                             : Chapter 8
00:55:50.054                             : Chapter 9
01:03:20.630                             : Chapter 10
01:10:27.765                             : Chapter 11
01:17:21.052                             : Chapter 12
01:25:46.765                             : Chapter 13
01:32:18.323                             : Chapter 14
01:38:47.630                             : Chapter 15
01:42:38.360                             : Chapter 16
01:49:44.203                        Chapter 17
Removed encoding settings to make it easier to read
Can post settings if needed

Last edited by gonca; 6th December 2021 at 23:40.
gonca 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 19:52.


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