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 28th December 2022, 19:06   #31341  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 171
Is it just me or is it all of us but are you not reporting it?
When rebuilding a bluray the log window fills up to a point and then stops filling up. The file BD-REBUILDER.LOG keeps receiving updates however. It is no biggy, but I thought I'd mention it so it can be handled if it's all of us having this issue.
musiclover is offline   Reply With Quote
Old 28th December 2022, 21:57   #31342  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by AmigaFuture View Post
After encoding some Blu-ray movies (single files) to a smaller size (8GB) I decided to make a Blu-ray. Several movies on 1 BD-25/50. When importing I noticed that output disc didn't play correctly.

Each movie would start fine, but chapter skip resulted in move restart.
What was the output container?
MrVideo is online now   Reply With Quote
Old 29th December 2022, 10:37   #31343  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 171
deleted

Last edited by musiclover; 29th December 2022 at 10:39.
musiclover is offline   Reply With Quote
Old 1st January 2023, 04:34   #31344  |  Link
AmigaFuture
Registered User
 
AmigaFuture's Avatar
 
Join Date: Apr 2003
Location: Within the main Source.
Posts: 895
Quote:
Originally Posted by MrVideo View Post
What was the output container?
MKV only. (For several years.)
__________________
Life is not a journey to the grave; but rather to skid out broadside, thoroughly used, torn and warn and loudly proclaim; WOW; What a ride!!! Soon, I'm going to do it AGAiN in different skin!!
AmigaFuture is offline   Reply With Quote
Old 1st January 2023, 04:36   #31345  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
OK. Did you look at the MKV file with MediaInfo to see if the chapter marks were there?
MrVideo is online now   Reply With Quote
Old 1st January 2023, 22:30   #31346  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Is there a way that the NVENC program can be told to create I/IDR frames at chapter marks? With the x264 encoder, that is done with a filename_qpfile.txt file.

When creating BD discs, you really want the chapter marks to land on I/IDR frames.

Thanks
MrVideo is online now   Reply With Quote
Old 2nd January 2023, 12:56   #31347  |  Link
cartman0208
Registered User
 
Join Date: Jun 2010
Location: Germany
Posts: 205
Quote:
Originally Posted by MrVideo View Post
Is there a way that the NVENC program can be told to create I/IDR frames at chapter marks? With the x264 encoder, that is done with a filename_qpfile.txt file.

When creating BD discs, you really want the chapter marks to land on I/IDR frames.

Thanks
https://github.com/rigaya/NVEnc/blob..._Options.en.md
Maybe you want to check yourself?
cartman0208 is offline   Reply With Quote
Old 3rd January 2023, 01:25   #31348  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
Is there a way that the NVENC program can be told to create I/IDR frames at chapter marks? With the x264 encoder, that is done with a filename_qpfile.txt file.

When creating BD discs, you really want the chapter marks to land on I/IDR frames.

Thanks
I'll have to go back and check, but I would have assumed that setting a chapter mark would automatically trigger an I-Frame.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 3rd January 2023, 03:18   #31349  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by jdobbs View Post
I'll have to go back and check, but I would have assumed that setting a chapter mark would automatically trigger an I-Frame.
It doesn't. I checked before asking. Not one of the chapter locations in the resulting HEVC file has an I-frame.
MrVideo is online now   Reply With Quote
Old 3rd January 2023, 03:39   #31350  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by cartman0208 View Post
Thanks for the link that I knew nothing about.

I think that "--key-on-chapter" is it, but I do not know if I have to provide the file containing the chapters or if jdobb builds one for his own use. I'm running tests.
MrVideo is online now   Reply With Quote
Old 3rd January 2023, 04:03   #31351  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Well, --key-on-chapter resulted in no change [ENCODE_CUSTOM=--key-on-chapter]. I then tried to do ENCODE_CUSTOM=--keyfile <"keyfile.txt"> and that resulted in the job aborting.

As a side note, I failed to mention in the initial query that the chapter marks are in the MKV file.
MrVideo is online now   Reply With Quote
Old 3rd January 2023, 12:02   #31352  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
Code:
--key-on-chapter

Set keyframes on chapter position.
--keyfile <string>

Set keyframes on frames (starting from 0, 1, 2, ...) specified in the file. There should be one frame ID per line.
--sub-source <string>[:{<int>?}[;<param1>=<value1>]...]...

Read subtitle from the specified file and mux into the output file.

params

    disposition=<string>
    Specify disposition for subtitle.

    metadata=<string1>=<string2>
    Specify metadata for subtitle track.

    bsf=<string>
    Specify bitstream filter for subtitle track.

Example1: --sub-source "<sub_file>"
Example2: --sub-source "<sub_file>":disposition=default;metadata=language=jpn
From the options list on GitHub
gonca is offline   Reply With Quote
Old 3rd January 2023, 21:36   #31353  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Did you read my post before yours? Those are the options I tried to use and failed.
MrVideo is online now   Reply With Quote
Old 3rd January 2023, 22:04   #31354  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
Yeah I read it, maybe you should make sure your keyfile is correctly formatted, so that it isn't ignored.
gonca is offline   Reply With Quote
Old 4th January 2023, 01:32   #31355  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
The keyfile is generated by a script that I have to do x264 encoding. It is a simple file that looks like:
Code:
0
1200
10000
Since I do not know what jdobb's program is doing, there could have been a conflict that caused it to abort. The keyfile file was provided as a full path. Jdobb may be doing a chapter copy, which means that a keyfile can't be used.

Last edited by MrVideo; 4th January 2023 at 01:34.
MrVideo is online now   Reply With Quote
Old 4th January 2023, 02:23   #31356  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
Correct formats
Code:
--chapter <string>

Set chapter in the (separate) chapter file. The chapter file could be in nero format, apple format or matroska format. Cannot be used with --chapter-copy.

nero format

CHAPTER01=00:00:39.706
CHAPTER01NAME=chapter-1
CHAPTER02=00:01:09.703
CHAPTER02NAME=chapter-2
CHAPTER03=00:01:28.288
CHAPTER03NAME=chapter-3

apple format (should be in utf-8)

<?xml version="1.0" encoding="UTF-8" ?>
  <TextStream version="1.1">
   <TextStreamHeader>
    <TextSampleDescription>
    </TextSampleDescription>
  </TextStreamHeader>
  <TextSample sampleTime="00:00:39.706">chapter-1</TextSample>
  <TextSample sampleTime="00:01:09.703">chapter-2</TextSample>
  <TextSample sampleTime="00:01:28.288">chapter-3</TextSample>
  <TextSample sampleTime="00:01:28.289" text="" />
</TextStream>

matroska format (hould be in utf-8)
Other Samples>>

<?xml version="1.0" encoding="UTF-8"?>
<Chapters>
  <EditionEntry>
    <ChapterAtom>
      <ChapterTimeStart>00:00:00.000</ChapterTimeStart>
      <ChapterDisplay>
        <ChapterString>chapter-0</ChapterString>
      </ChapterDisplay>
    </ChapterAtom>
    <ChapterAtom>
      <ChapterTimeStart>00:00:39.706</ChapterTimeStart>
      <ChapterDisplay>
        <ChapterString>chapter-1</ChapterString>
      </ChapterDisplay>
    </ChapterAtom>
    <ChapterAtom>
      <ChapterTimeStart>00:01:09.703</ChapterTimeStart>
      <ChapterDisplay>
        <ChapterString>chapter-2</ChapterString>
      </ChapterDisplay>
    </ChapterAtom>
    <ChapterAtom>
      <ChapterTimeStart>00:01:28.288</ChapterTimeStart>
      <ChapterTimeEnd>00:01:28.289</ChapterTimeEnd>
      <ChapterDisplay>
        <ChapterString>chapter-3</ChapterString>
      </ChapterDisplay>
    </ChapterAtom>
  </EditionEntry>
</Chapters>
gonca is offline   Reply With Quote
Old 4th January 2023, 02:41   #31357  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
Ran a quick test using NCEncCRE, should be the same command lines
Input mkv and output mkv for simplicity
Chapters were transferred to output
cmd line edited for simplicity
Code:
 --chapter-copy

Last edited by gonca; 4th January 2023 at 02:43.
gonca is offline   Reply With Quote
Old 4th January 2023, 04:12   #31358  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Setting chapters and setting a key, i.e. where an I-frame should be placed, are two different things. The input MKV file has chapter marks. What I would like to happen, as noted in a previous posting, is to have an I-frame created at those chapter marks. The --key-on-chapter failed to work and providing a keyfile caused the program to abort. Jdobbs is going to have to dig into his program to see what is going on.

What would be nice is if I-frames would always be created at chapter marks.
MrVideo is online now   Reply With Quote
Old 4th January 2023, 11:45   #31359  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
That mkv was a remux from a UHD disc.
The I-frames and chapter points should be good.
Was just checking what the software was doing.
gonca is offline   Reply With Quote
Old 4th January 2023, 13:13   #31360  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
What I am attempting to create are BDs of the TV series "Revenge." The source is the 35Mbps MPEG-2 1080i of the sat feed to Canada. I'm in the process of creating 10 Mbps IVTC x264 files of the episodes. The MKV files have chapter marks at the commercial breaks.As it stands right now, it will take 4 discs for each season. If I can get the files recoded to HEVC, the numbers of discs can be cut in half. But the chapter mark locations need I-frames at those locations.
MrVideo is online now   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:03.


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