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 16th October 2018, 18:05   #27861  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
Using the same test file that I sent you resulted in one of the items being fixed. The VFR->CFR resulted in 23.976 fps, but the aspect ratio was still 3:2.

If VFR is forced off, the frame rate is still 19.181.
Weird. I tested it with the source you sent me and it seemed to work fine, although it did do a VFR to CFR conversion. I actually force the aspect ratio in the VFR-CFR reencode... how could it still be 3:2???

I may have to rethink this thing for 720x480 sources with pulldown. I just imported a movie from a DVD, output it to an MKV and then tried importing the MKV. I got the same alternating timecode intervals in that one too. It must be related to the pulldown somehow -- though I can't see how the spacing would look like that???

I may have to look for that pattern, and assume pulldown. But first I need to do a little more research.

I'll let this one run and see if I can repeat the framerate issue.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 16th October 2018 at 18:09.
jdobbs is offline   Reply With Quote
Old 16th October 2018, 21:41   #27862  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
Quote:
Originally Posted by jdobbs View Post
Weird. I tested it with the source you sent me and it seemed to work fine, although it did do a VFR to CFR conversion. I actually force the aspect ratio in the VFR-CFR reencode... how could it still be 3:2???
I took the VOB file, used TSMuxer to create a TS file and ran that through the latest version. I then looked at the M2TS file with Media info. I played it with VLC and yep, 3:2.
Quote:
I may have to look for that pattern, and assume pulldown. But first I need to do a little more research.
Mediainfo says that it is 2:3 pulldown. No need to look for it, since mediainfo provides that info.

Last edited by MrVideo; 16th October 2018 at 21:43.
MrVideo is offline   Reply With Quote
Old 16th October 2018, 22:28   #27863  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
I took the VOB file, used TSMuxer to create a TS file and ran that through the latest version. I then looked at the M2TS file with Media info. I played it with VLC and yep, 3:2.

Mediainfo says that it is 2:3 pulldown. No need to look for it, since mediainfo provides that info.
Yeah... but MEDIAINFO is also telling me it is variable framerate. One doesn't necessarily exclude the other.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 17th October 2018, 03:50   #27864  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
From what we have seen, these two values have been working out: frame rate (23.976) and scan order (2:3 pulldown). At least for the test video when VOB converted to TS. The other is frame rate (variable), original frame rate (23.976) and scan order (2:3 pulldown). It seems that a variable frame is a false positive, even when the timecodes are all over the place. It sends one down the wrong rabbit hole.

As a side note, one of the DVDFab produced MKV files also resulted in a 3:2 aspect ratio when a VFR->CFR was done on it.

Oh, and it all comes down to what you said... DVDs can't have variable frame rate videos. It must either be 29.97 or 23.976 w/ 2:3 pulldown, because analog TVs only support 29.97 interlace video. Of course, that is moot with today's digital monitors/TVs.

IMHO, it was stupid that we kept the 29.97 frame rate when converting to digital broadcasting. I do not think there is an analog TV that wouldn't have been able to handle true 30 fps interlace video. But, that is moot too. That ship has sailed.

Last edited by MrVideo; 17th October 2018 at 06:15.
MrVideo is offline   Reply With Quote
Old 17th October 2018, 12:54   #27865  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
I figured out the 19.181 fps thing. When you mux a stream with 2:3 pulldown into the pseudo BD structure with TSMUXER the framerate has to be set to 29.97, not 23.976. If pulldown results in a 23.976 framerate, then it is assumed the underlying progressive rate must be 19.181. Duh...
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 17th October 2018 at 13:02.
jdobbs is offline   Reply With Quote
Old 17th October 2018, 17:18   #27866  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 148
Mediainfo: vbv-maxrate=35000 / vbv-bufsize=30000
Isn't that too low for a mkv uhd output?
TWEAK_ALTERNATE=--vbv-maxrate 50000 --vbv-bufsize 50000 in BDREBUILDER.INI has no effect, it stays at 35000/30000.
Glarioo is offline   Reply With Quote
Old 17th October 2018, 19:18   #27867  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by Glarioo View Post
Mediainfo: vbv-maxrate=35000 / vbv-bufsize=30000
Isn't that too low for a mkv uhd output?
TWEAK_ALTERNATE=--vbv-maxrate 50000 --vbv-bufsize 50000 in BDREBUILDER.INI has no effect, it stays at 35000/30000.
Yeah, maybe, depending on the chosen bitrate. I did most of my testing using a CRF in the low 20's -- and it was plenty for that. I'll take a look at it.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 17th October 2018 at 19:44.
jdobbs is offline   Reply With Quote
Old 17th October 2018, 19:49   #27868  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 148
Quote:
Originally Posted by jdobbs View Post
Yeah, maybe, depending on the chosen bitrate. I did most of my testing using a CRF in the low 20's -- and it was plenty for that. I'll take a look at it.
Thanks.
I did not "choose" the bitrate, BD Rebuilder did that
I chose Alternate Movie-Only output - MKV Container, HEVC, NO_RESIZE, Intact Audio. Constant Rate Factor Output (CRF) was set to 17.

Last edited by Glarioo; 17th October 2018 at 19:52.
Glarioo is offline   Reply With Quote
Old 17th October 2018, 19:51   #27869  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
Quote:
Originally Posted by jdobbs View Post
I figured out the 19.181 fps thing. When you mux a stream with 2:3 pulldown into the pseudo BD structure with TSMUXER the framerate has to be set to 29.97, not 23.976. If pulldown results in a 23.976 framerate, then it is assumed the underlying progressive rate must be 19.181. Duh...
That is a good one. I did notice with the GUI that if you remove pulldown, it changes the framerate to 23.976. But if you unselect remove pulldown, it doesn't set the framerate back to 29.97. If I would have continued, I would have discovered the 19.181 thing. Nice find.
MrVideo is offline   Reply With Quote
Old 18th October 2018, 00:52   #27870  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
That is a good one. I did notice with the GUI that if you remove pulldown, it changes the framerate to 23.976. But if you unselect remove pulldown, it doesn't set the framerate back to 29.97. If I would have continued, I would have discovered the 19.181 thing. Nice find.
Yeah, I noticed that in TSMUXERs GUI, if you check the delete pulldown box, and then uncheck it -- it doesn't set things back, and can even cause a buffer error during it's attempt to mux.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 18th October 2018, 02:02   #27871  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
AIUI, work on TSMuxer is no longer being done, so that bug will never get fixed.
MrVideo is offline   Reply With Quote
Old 18th October 2018, 14:59   #27872  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
AIUI, work on TSMuxer is no longer being done, so that bug will never get fixed.
Yeah. Luckily I don't use the GUI, so I can set the parameters myself.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 18th October 2018, 18:05   #27873  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
BD Rebuilder v0.60.04

I have updated the first post of this thread with a link to the latest release of BD-RB (v0.60.04). Changes for this release:
Code:
- Corrected issues with file import of MPEG2
  sources that contain 2:3 pulldown flags.
- Added IMPORT_NO_PULLDOWN as a new hidden 
  option. When set it will remove pulldown 
  flags from MPEG-2 sources during import of
  files or DVDs.
- Added two new hidden options.  UHD_MAXRATE
  sets the maximum bitrate for UHD encodes
  and UHD_VBV_BUFFER sets the buffer size.
  See HIDDENOPTS.TXT for more information.
- Other minor corrections and cosmetic fixes.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 18th October 2018, 18:10   #27874  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
Quote:
Originally Posted by jdobbs View Post
Changes for this release:
Code:
- Corrected issues with file import of MPEG2
  sources that contain 2:3 pulldown flags.
- Added IMPORT_NO_PULLDOWN as a new hidden 
  option. When set it will remove pulldown 
  flags from MPEG-2 sources during import of
  files or DVDs.
Great. Thanks.

Last edited by MrVideo; 18th October 2018 at 18:12.
MrVideo is offline   Reply With Quote
Old 18th October 2018, 18:17   #27875  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 148
Quote:
Originally Posted by jdobbs View Post
I have updated the first post of this thread with a link to the latest release of BD-RB (v0.60.04). Changes for this release:
- Added two new hidden options. UHD_MAXRATE
sets the maximum bitrate for UHD encodes
and UHD_VBV_BUFFER sets the buffer size.
See HIDDENOPTS.TXT for more information.
- Other minor corrections and cosmetic fixes.[/code]
Thank you! I Will try it when I get home.
Glarioo is offline   Reply With Quote
Old 18th October 2018, 18:22   #27876  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by Glarioo View Post
Thank you! I Will try it when I get home.
I also changed the default for UHD to 50000/50000. There are two maximums listed for a 50GB UHD M2TS, the lower of the two is a maximum of 64Mbs for all streams in a single M2TS (audio/video/graphics). So 50Mbs leaves about 14Mbs for overhead/audio/graphics.
Attached Images
 
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 18th October 2018 at 18:32.
jdobbs is offline   Reply With Quote
Old 18th October 2018, 21:03   #27877  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
Quote:
Originally Posted by jdobbs View Post
Code:
- Added IMPORT_NO_PULLDOWN as a new hidden 
  option. When set it will remove pulldown 
  flags from MPEG-2 sources during import of
  files or DVDs.
Wouldn't a better description be:
Code:
removes pulldown flags during import of MPEG2/DVD, keeping the original 23.976 frame rate
The reason is that IVTC is not really being done. Doing IVTC implies that the 29.97 fps video is sent thru a filter, like AVISynth, to extract the 23.976 frames and recode those frames. Removing the 2:3 pulldown flags doesn't do any recoding, thereby keeping the original MPEG-2 quality.

Just a thought.

A side note: I started working on another project and discovered some material was marked as variable frame rate 29.97. And there was material that was marked as variable frame rate 23.976 w/ 2:3 pulldown. All on the same DVD. Can't seem to make up their minds.
MrVideo is offline   Reply With Quote
Old 19th October 2018, 10:38   #27878  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,125
Alternate MKV is incomplete

After three DVD files were imported, I then did the backup. Only the third M2TS file was wrapped into an MKV file, the first two M2TS files were ignored. Why is that?
MrVideo is offline   Reply With Quote
Old 19th October 2018, 12:14   #27879  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by MrVideo View Post
Wouldn't a better description be:
Code:
removes pulldown flags during import of MPEG2/DVD, keeping the original 23.976 frame rate
The reason is that IVTC is not really being done. Doing IVTC implies that the 29.97 fps video is sent thru a filter, like AVISynth, to extract the 23.976 frames and recode those frames. Removing the 2:3 pulldown flags doesn't do any recoding, thereby keeping the original MPEG-2 quality.

Just a thought.

A side note: I started working on another project and discovered some material was marked as variable frame rate 29.97. And there was material that was marked as variable frame rate 23.976 w/ 2:3 pulldown. All on the same DVD. Can't seem to make up their minds.
IVTC applies to hard-telecined material only which is different from soft-telecining based on flags.
Sharc is offline   Reply With Quote
Old 19th October 2018, 13:36   #27880  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by MrVideo View Post
After three DVD files were imported, I then did the backup. Only the third M2TS file was wrapped into an MKV file, the first two M2TS files were ignored. Why is that?
It does one at a time. You have to choose which playlist to output to MKV.

When you import more than one at a time, do this:

1. Import multiple files. It creates a pseudo-structure with multiple menu entries. Let it finish importing.

2. From the mode menu, select the ALTERNATE method to be used (output format)

3. Go to the "Batch" tab.

3. Right-click on the queue area.

4. Select "Add multiple playlists to Queue"

5. From the list, choose the playlist(s) you want to output in the format you selected in step 2.

6. Push the "Batch Backup" button.

That way you can create multiple MKVs. I've imported as many as a hundred in a batch (multiple seasons of as series, for example).
__________________
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 12:06.


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