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 9th September 2024, 03:39   #32001  |  Link
Hooman
Registered User
 
Join Date: Apr 2004
Posts: 25
Quote:
Originally Posted by jdobbs View Post
There is other useful information in the log... for example, was it a full backup or a movie-only? But I guess you decided it wasn't needed and provided something I didn't ask for instead.
I sincerely apologize for the misunderstanding. When I saw ‘encode log,’ I assumed it referred to the process of x264/video encodings and their stats, rather than the project’s log.

Last edited by Hooman; 9th September 2024 at 03:52.
Hooman is offline   Reply With Quote
Old 9th September 2024, 12:22   #32002  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,092
Quote:
Originally Posted by Hooman View Post
I sincerely apologize for the misunderstanding. When I saw ‘encode log,’ I assumed it referred to the process of x264/video encodings and their stats, rather than the project’s log.
No biggie.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 12th September 2024, 10:11   #32003  |  Link
Hooman
Registered User
 
Join Date: Apr 2004
Posts: 25
Quote:
Originally Posted by Hooman View Post
It’s not an issue with the encodes. Whenever the clip (the streams) contains a part at its start that is to be skipped according to its corresponding playlist file, BD-RB doesn't retain the (PlayItem's) IN_Time at its original value and changes it to 00:00:00:00. This could be due to the commands BD-RB sends to tsMuxer (Or the "Rebuilding BD file Structure"). The attached image shows the original structure as imported into Scenarist by a BD-Reauthor script. The black frame that reads ‘Cinerama Everywhere, RT 8:20…’ is a shot of the short part at the start of the clip that is not intended to be played back.

If I rebuild the same title (even with the FORCE_NOENCODE=1 flag?) and then import the rebuilt version into Scenarist for re-authoring, the aforementioned IN_Time is not the same as in the original MPLS. When that playlist/clip is called from the disc menu, those few frames at the start of the clip play back because the IN_Time has changed. Maybe something like BDTools can correct it in MPLS files.

PS
For this particular clip, the “IN_time” of the PlayItem and the “mark_time_stamp” of the first “PlayListMark” in the original playlist MPLS (converted by BDTools to readable JSON) is 27167041. However, in the BD-Rebuilt version, it has changed to 27000000.
Code:
{
    "MPLS": {
        "version_number": "0200",
        "reserved_header": [
            0
        ],
        "AppInfoPlayList": {
            "reserved01": 0,
            "PlayList_playback_type": 1,
            "UO_mask_table": {
                "menu_call_mask": 0,
                "title_search_mask": 0,
                "chapter_search_mask": 0,
                "time_search_mask": 0,
                "skip_to_next_point_mask": 0,
                "skip_back_to_previous_point_mask": 0,
                "play_FirstPlay_mask": 0,
                "stop_mask": 0,
                "pause_on_mask": 0,
                "pause_off_mask": 0,
                "still_off_mask": 0,
                "forward_play_mask": 0,
                "backward_play_mask": 0,
                "resume_mask": 0,
                "move_up_selected_button_mask": 0,
                "move_down_selected_button_mask": 0,
                "move_left_selected_button_mask": 0,
                "move_right_selected_button_mask": 0,
                "select_button_mask": 0,
                "activate_button_mask": 0,
                "select_button_and_activate_mask": 0,
                "primary_audio_stream_number_change_mask": 0,
                "reserved01": 0,
                "angle_number_change_mask": 0,
                "popup_on_mask": 0,
                "popup_off_mask": 0,
                "PG_textST_enable_disable_mask": 0,
                "PG_textST_stream_number_change_mask": 0,
                "secondary_video_enable_disable_mask": 0,
                "secondary_video_stream_number_change_mask": 0,
                "secondary_audio_enable_disable_mask": 0,
                "secondary_audio_stream_number_change_mask": 0,
                "reserved02": 0,
                "PiP_PG_textST_stream_number_change_mask": 0,
                "reserved03": 0
            },
            "reserved02": 0,
            "PlayList_random_access_flag": 0,
            "audio_mix_app_flag": 1,
            "lossless_may_bypass_mixer_flag": 0,
            "MVC_Base_view_R_flag": 0
        },
        "PlayList": {
            "reserved01": 0,
            "PlayItem": [
                {
                    "Clip_Information_file_name": "00018",
                    "Clip_codec_identifier": "M2TS",
                    "ref_to_STC_id": 0,
                    "reserved01": 0,
                    "is_multi_angle": 0,
                    "connection_condition": 1,
                    "IN_time": 27167041,
                    "OUT_time": 49802154,
                    "UO_mask_table": {
                        "menu_call_mask": 0,
                        "title_search_mask": 0,
                        "chapter_search_mask": 0,
                        "time_search_mask": 0,
                        "skip_to_next_point_mask": 0,
                        "skip_back_to_previous_point_mask": 0,
                        "play_FirstPlay_mask": 0,
                        "stop_mask": 0,
                        "pause_on_mask": 0,
                        "pause_off_mask": 0,
                        "still_off_mask": 0,
                        "forward_play_mask": 0,
                        "backward_play_mask": 0,
                        "resume_mask": 0,
                        "move_up_selected_button_mask": 0,
                        "move_down_selected_button_mask": 0,
                        "move_left_selected_button_mask": 0,
                        "move_right_selected_button_mask": 0,
                        "select_button_mask": 0,
                        "activate_button_mask": 0,
                        "select_button_and_activate_mask": 0,
                        "primary_audio_stream_number_change_mask": 0,
                        "reserved01": 0,
                        "angle_number_change_mask": 0,
                        "popup_on_mask": 0,
                        "popup_off_mask": 0,
                        "PG_textST_enable_disable_mask": 0,
                        "PG_textST_stream_number_change_mask": 0,
                        "secondary_video_enable_disable_mask": 0,
                        "secondary_video_stream_number_change_mask": 0,
                        "secondary_audio_enable_disable_mask": 0,
                        "secondary_audio_stream_number_change_mask": 0,
                        "reserved02": 0,
                        "PiP_PG_textST_stream_number_change_mask": 0,
                        "reserved03": 0
                    },
                    "PlayItem_random_access_flag": 0,
                    "reserved02": 0,
                    "still_mode": 0,
                    "still_time": 0,
                    "STN_table": {
                        "reserved01": 0,
                        "number_of_PiP_PG_textST_stream_entries_plus": 0,
                        "stream": [
                            {
                                "type": 1,
                                "pid": 4113,
                                "stream_coding_type": "H.264",
                                "video_format": "1080p",
                                "frame_rate": "23.976",
                                "reserved01": 0
                            },
                            {
                                "type": 1,
                                "pid": 4352,
                                "stream_coding_type": "AC-3",
                                "audio_presentation_type": "Stereo",
                                "sampling_frequency": "48 kHz",
                                "language_code": "fra"
                            },
                            {
                                "type": 2,
                                "subpath_id": 0,
                                "subclip_id": 0,
                                "pid": 5120,
                                "stream_coding_type": "IGS",
                                "language_code": "eng",
                                "reserved01": 0
                            }
                        ]
                    }
                }
            ],
            "SubPath": [
                {
                    "reserved01": 0,
                    "SubPath_type": 3,
                    "reserved02": 0,
                    "is_repeat_SubPath": 0,
                    "reserved03": 0,
                    "SubPlayItem": [
                        {
                            "Clip_Information_file_name": "00016",
                            "Clip_codec_identifier": "M2TS",
                            "ref_to_STC_id": 0,
                            "reserved01": 0,
                            "is_multi_Clip_entries": 0,
                            "sp_connection_condition": 1,
                            "SubPlayItem_IN_time": 27000000,
                            "SubPlayItem_OUT_time": 27001876,
                            "sync_PlayItem_id": 0,
                            "sync_start_PTS_of_PlayItem": 0
                        }
                    ]
                }
            ]
        },
        "PlayListMark": [
            {
                "reserved01": 0,
                "mark_type": 1,
                "ref_to_PlayItem_id": 0,
                "mark_time_stamp": 27167041,
                "entry_ES_PID": 65535,
                "duration": 0
            },
            {
                "reserved01": 0,
                "mark_type": 1,
                "ref_to_PlayItem_id": 0,
                "mark_time_stamp": 49800277,
                "entry_ES_PID": 65535,
                "duration": 0
            }
        ]
    }
}
I believe this issue can only be resolved by a reverse conversion of the JSON file back into an MPLS playlist after BD-RB’s work.
BDEdit can also revert the PlayItem IN_time from the initial setting to the original authored value. However, I am curious as to why this behavior occurs in the first place. Is "Rebuilding BD file Structure" a process similar to what IfoUpdate did during the DVD era? Does it fail to read the original IN_time value, or is the issue caused by the muxing process when the main clip of the PlayItem is changed?
Hooman is offline   Reply With Quote
Old 20th September 2024, 20:14   #32004  |  Link
ROB271
Registered User
 
Join Date: Nov 2019
Posts: 2
Quote:
Originally Posted by ROB271 View Post
Hello, i would like to report a bug thats been present in BD-RB for a couple of years now

When dolby vision support was first added to BD-RB there was an initial release where the dolby vision track was given the wrong stream ID, this bug was promplty fixed by the author BUT was never fixed in the internal routine that handles the correction of bitstream exception errors returned by tsmuxer, resulting in the m2ts file where bitstream exception occured being unplayable with dolby vision enabled.

If i then demux BD-RB output the dolby vision track on an affected m2ts file where bitstream exception occured demuxes as track_4114 rather than track_4117.

Im hoping this is just a code correction for the author.

Thankyou
Quote:
Originally Posted by jdobbs View Post
I'll take a look at it.
Hello j dobbs, did you get chance to look at the above bug, Regards
ROB271 is offline   Reply With Quote
Old 21st September 2024, 21:53   #32005  |  Link
DoctorM
Registered User
 
Join Date: Sep 2005
Posts: 561
New Win OS and installation of BD Rebuilder first being used today and I received the "TSMUXER ERR: 0xFFFFFFFF" error trying to do a movie only rebuild.

I saw a few instances of it mentioned here but never a solution. Digging around I found that one of the .M2TS files was accidentally missing so the .MPLS couldn't find ALL the video files in the main movie's playlist.
Putting the missing video back and the error went away.

I don't know if that's why anyone else got that error, but I just thought I should mention it in case it helps others.
DoctorM is offline   Reply With Quote
Old 22nd September 2024, 17:20   #32006  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,092
Quote:
Originally Posted by ROB271 View Post
Hello j dobbs, did you get chance to look at the above bug, Regards
I have it on my list of things to do. Unfortunately I haven't had a lot of time recently to work on BD Rebuilder, but I hope to address the things on my list soon.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 29th September 2024, 23:03   #32007  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,201
Just a quickie... (as is my known usual style... )

I THOUGHT I remembered in the past that using TSMuxer the box 'Continually Insert SPS/PPS' was always checked, unless I am misremembering. But, I'm using a newer version of TSMuxer now (still from aways back) and I notice that be default the box is UNchecked.

I'm ALWAYS creating playable Blu-ray compatible discs to play in my OPPO player, so, should I leave the box unchecked now or should I use it? I am rather confused... (what else is new....?)

And, in answering, if someone could kindly please explain exactly what that does and why that is there and why it is (UN)necessary?

Thanks!

***EDIT


Oh, I also notice that the older version I use sometimes (2020) also defaults to 'Insert SEI and VUI data if absent'... Uh, what is that about, and why does the newer one default to 'Do Not Change' that? AND... Again, PLEASE, what are the differences, why do both versions default differently, and how should I set these to make the most compatible playable Blu-ray discs for hardware players?

thanks again!

Last edited by Lathe; 30th September 2024 at 01:32.
Lathe is offline   Reply With Quote
Old 2nd October 2024, 23:10   #32008  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,201
Anyone home...?
Lathe is offline   Reply With Quote
Old 3rd October 2024, 17:13   #32009  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,239
https://doc-kurento.readthedocs.io/e...edge/h264.html
https://forum.videohelp.com/threads/...SMuxer-SEI-VUI

Nobody home.
Idea...
Try default and if you have no problems with playback, great.
If you have an issue just remux with options checked. and see if that worked.
I used to go with defaults and didn't have any issues.
gonca is offline   Reply With Quote
Old 3rd October 2024, 19:25   #32010  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,201
Quote:
Originally Posted by gonca View Post
https://doc-kurento.readthedocs.io/e...edge/h264.html
https://forum.videohelp.com/threads/...SMuxer-SEI-VUI

Nobody home.
Idea...
Try default and if you have no problems with playback, great.
If you have an issue just remux with options checked. and see if that worked.
I used to go with defaults and didn't have any issues.
Thanks Bro! I'll check out those threads and see if I can understand what the difference is. Sounds like you just tried trial and error, that would suggest that there is no true definitive answer if one was indeed better than the other.

The older version of TSMuxer defaults to having both 'on' so to speak. The newer version (2020) has them 'off' by default, so that doesn't help one know...
Lathe is offline   Reply With Quote
Old 3rd October 2024, 20:12   #32011  |  Link
gmipf
Registered User
 
Join Date: Apr 2020
Posts: 7
Does anyone know how to run with wine?
gmipf is offline   Reply With Quote
Old 3rd October 2024, 20:26   #32012  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,201
Quote:
Originally Posted by gmipf View Post
Does anyone know how to run with wine?
Lathe is offline   Reply With Quote
Old 3rd October 2024, 23:55   #32013  |  Link
gmipf
Registered User
 
Join Date: Apr 2020
Posts: 7
Quote:
Originally Posted by Lathe View Post
You know?
gmipf is offline   Reply With Quote
Old 3rd October 2024, 23:59   #32014  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,201
Quote:
Originally Posted by gmipf View Post
You know?
Heh, no, sorry... I just liked your post as it reads literally...
Lathe is offline   Reply With Quote
Old 5th October 2024, 10:15   #32015  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 207
I am making a quick-play blu-ray using mkv's with a framerate of 24. After the first try the audio was out of sync. This problem was solved after having written ''IMPORT_FORCE_FRAMERATE=24'' in the config file. But now the subtitles are out of sync. BD-Rebuilder converted them to 23,976 fps. Is there an easy fix for that?
musiclover is offline   Reply With Quote
Old 5th October 2024, 10:35   #32016  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 207
I have a computer with both NVIDIA and INTEL gpu's. Starting GPUENCC v0.01.17 and selecting ''INTEL Encoding GPU'' the constant quality settings read 27, 24, 18. After switching to ''NVIDIA Encoding GPU'' and switching back again the constant quality settings have changed to 34, 29, 23. I have to restart the program to get the original 27, 24, 18 again. The NVIDIA settings are kept constant after switching at 31, 28, 23.
I think it's a bug.

Last edited by musiclover; 5th October 2024 at 14:24.
musiclover is offline   Reply With Quote
Old 5th October 2024, 15:52   #32017  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,092
Quote:
Originally Posted by musiclover View Post
I have a computer with both NVIDIA and INTEL gpu's. Starting GPUENCC v0.01.17 and selecting ''INTEL Encoding GPU'' the constant quality settings read 27, 24, 18. After switching to ''NVIDIA Encoding GPU'' and switching back again the constant quality settings have changed to 34, 29, 23. I have to restart the program to get the original 27, 24, 18 again. The NVIDIA settings are kept constant after switching at 31, 28, 23.
I think it's a bug.
Weird. I'll look at it.

By the way, you can set those values to whatever you like. Just edit GPUENCC.INI from within the program and add one or more of the following examples (using values you choose):

NV_HEVC_Q_VALUES=34,29,23
NV_AVC_Q_VALUES=31,28,23
QSV_HEVC_Q_VALUES=34,29,23
QSV_AVC_Q_VALUES=27,24,18

also

HEVC_BR_VALUES=1000,2000,3000
AVC_BR_VALUES=1500,2500,4500

Just a warning... any illegal or other strange settings will revert to the defaults.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 5th October 2024 at 15:56.
jdobbs is offline   Reply With Quote
Old 6th October 2024, 07:46   #32018  |  Link
iambryanknowles
Registered User
 
Join Date: Mar 2024
Posts: 16
Is there a way to force FFMPEG Frameserving for an HEVC source file when encoding to x264? (My GPU doesn't decode HEVC) DirectShowSource is extremely slow, and lavf through x264 doesn't allow crf prediction.

Also, on occasions I'm trying to encode by bitrate, is there a way to force the program to calculate the average bitrate based on the whole playlist. I've been using DVD2BDExpress to convert DVDs to BDs retaining menus, then IVTC and reencoding to DVD-5. Seems to give a different bitrate for every file encoded; even though they're episodes roughly equivalent in size, sometimes DVD2BD splits them up awkwardly. Same change in bitrate for quickplay playlists.

Last - could you either add a warning when FLAC audio tracks are ignored on import, or have them automatically convert to ac3?

Last edited by iambryanknowles; 6th October 2024 at 10:13. Reason: Clarified
iambryanknowles is online now   Reply With Quote
Old 6th October 2024, 13:19   #32019  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 207
Quote:
Originally Posted by musiclover View Post
I am making a quick-play blu-ray using mkv's with a framerate of 24. After the first try the audio was out of sync. This problem was solved after having written ''IMPORT_FORCE_FRAMERATE=24'' in the config file. But now the subtitles are out of sync. BD-Rebuilder converted them to 23,976 fps. Is there an easy fix for that?
Is there a hidden option to prevent BD-RB from converting the subs to 23,976 fps?
musiclover is offline   Reply With Quote
Old 6th October 2024, 16:04   #32020  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,092
Quote:
Originally Posted by iambryanknowles View Post
Also, on occasions I'm trying to encode by bitrate, is there a way to force the program to calculate the average bitrate based on the whole playlist. I've been using DVD2BDExpress to convert DVDs to BDs retaining menus, then IVTC and reencoding to DVD-5. Seems to give a different bitrate for every file encoded; even though they're episodes roughly equivalent in size, sometimes DVD2BD splits them up awkwardly. Same change in bitrate for quickplay playlists.
The bitrate used is relative to the original bitrate (and size) for that file.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
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 20:24.


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