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 Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th October 2018, 18:13   #27821  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 901
Quote:
Originally Posted by jdobbs View Post
I can take a look at it. The question is how much work it would be, whether it will get much use, and whether the effort is justified by the probable usage.

[Edit] Interesting. I thought I posted about this yesterday right after your post... but my answer isn't here.

[Edit again] Ahh... it was in the feature request thread.
Okay JD... no more of these for you...

Lathe is offline   Reply With Quote
Old 11th October 2018, 09:31   #27822  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 387
Me thinks cartonish is more fun in lalaland...
varekai is offline   Reply With Quote
Old 11th October 2018, 13:49   #27823  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,182
Quote:
Originally Posted by varekai View Post
Me thinks cartonish is more fun in lalaland...
I think they both represent my mental state very well.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 11th October 2018 at 21:11.
jdobbs is offline   Reply With Quote
Old 11th October 2018, 19:17   #27824  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 901
Quote:
Originally Posted by jdobbs View Post
I think they both represent my mental state very well.
See.... we know our JD...
Lathe is offline   Reply With Quote
Old 12th October 2018, 04:08   #27825  |  Link
AmigaFuture
Registered User
 
Join Date: Apr 2003
Location: Within the main Source.
Posts: 752
"Wow, those 'shrooms are p....r....e....t..t....y...." I think JD also muttered.
__________________
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 13th October 2018, 09:55   #27826  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
480i video squished

I have 5 pieces of 720x480 16:9 MPEG-2 video that I've added to a Blu-ray. But, when played on my Samsung BD player, it believes that the videos are 4:3.

Here is the mediainfo on one of the videos:
Code:
ID                                       : 1
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Bit rate mode                            : Variable
Bit rate                                 : 4 204 kb/s
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Original frame rate                      : 23.976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan order                               : 2:3 Pulldown
Compression mode                         : Lossy
Time code of first frame                 : 01:00:00:00
Time code source                         : Group of pictures header
Default                                  : Yes
Forced                                   : No
I burn the BD structure from the one created in the IMPORTS directory. A backup is not done.

What needs to be done for the BD player to get the correct playback flag?

UPDATE: Found it... sort-of.

I looked at the M2TS files with mediainfo and discovered that the AR was set to 3:2 and the frame rate to 59.94. That was a result of BDRB doing a VFR to CFR conversion. Why, I do not know. So, I disabled VFR->CFR and ended up with the correct AR, i.e., 16.9. But the frame rate was changed to 19.181. WTF? When that was played, the audio was correct, but the video was obviously slower.

Why can't BDRB just place the video into a M2TS container without screwing with it? Is there a flag for that? There is nothing wrong with the video files, as they came off a DVD. I used DVDFab to rip the files into a MKV wrapper.
__________________
My Total Eclipse 2017 Photos

Last edited by MrVideo; 13th October 2018 at 10:20.
MrVideo is offline   Reply With Quote
Old 13th October 2018, 13:28   #27827  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,182
Quote:
Originally Posted by MrVideo View Post
I have 5 pieces of 720x480 16:9 MPEG-2 video that I've added to a Blu-ray. But, when played on my Samsung BD player, it believes that the videos are 4:3.

Here is the mediainfo on one of the videos:
Code:
Frame rate mode                          : Variable
I burn the BD structure from the one created in the IMPORTS directory. A backup is not done.

What needs to be done for the BD player to get the correct playback flag?

UPDATE: Found it... sort-of.

I looked at the M2TS files with mediainfo and discovered that the AR was set to 3:2 and the frame rate to 59.94. That was a result of BDRB doing a VFR to CFR conversion. Why, I do not know. So, I disabled VFR->CFR and ended up with the correct AR, i.e., 16.9. But the frame rate was changed to 19.181. WTF? When that was played, the audio was correct, but the video was obviously slower.

Why can't BDRB just place the video into a M2TS container without screwing with it? Is there a flag for that? There is nothing wrong with the video files, as they came off a DVD. I used DVDFab to rip the files into a MKV wrapper.
BD-RB did the VFR->CFR conversion because the original has a variable framerate (which is illegal for BD). It just turns out that 19.181 is the average framerate. I have no idea why some people are obsessed with VFR -- as it really doesn't save that much space.

Are you sure the first conversion was 59.94fps? BD-RB would only do that if it had to convert it to 720p. I'm not sure why BD-RB assumed it was 4:3. I'm guessing, maybe, it lost it in the conversion?? You can force 16:9 by adding the following to your INI (see HIDDENOPTS.TXT):

IMPORT_FORCE_ASPECT=16:9

Make sure you reenable framerate conversion before importing it -- and don't forget to comment IMPORT_FORCE_ASPECT out or delete it after you import that file, though, so you don't ruin the next import.

If the framerate is variable, I doubt it came directly off a DVD, someone had to convert/reencode it first.

If you still have issues, send me a short clip (dvd-rb@jdobbs.net) and I'll trace it during import. I made some changes to the import algorithm recently and there may have been some unforeseen impacts.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 13th October 2018 at 13:48.
jdobbs is offline   Reply With Quote
Old 13th October 2018, 16:38   #27828  |  Link
Mark_Venture
Registered User
 
Join Date: Jan 2010
Posts: 170
Quote:
Originally Posted by jdobbs View Post
You’re right. I don’t think I created a “no resize” HEVC preset in the default set of outputs. My personal preset list has been modified quite a bit.
Can you share a present to try? Please
Mark_Venture is offline   Reply With Quote
Old 13th October 2018, 16:59   #27829  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,182
Quote:
Originally Posted by Mark_Venture View Post
Can you share a present to try? Please
Sure. What kind of audio are you using, AAC or AC3?

But... I'm not sure if it will keep the HDR, I'll have to check the code. I'm not sure I considered ALTERNATE when I added that code. It also has to use FFMPEG as the frame server (to keep HDR).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 13th October 2018 at 17:01.
jdobbs is offline   Reply With Quote
Old 13th October 2018, 17:52   #27830  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Location: Scarborough, Canada
Posts: 814
For possible consideration
When using DGDecNV the index file (*.dgi) has the HDR data in it
gonca is offline   Reply With Quote
Old 13th October 2018, 23:01   #27831  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,182
Quote:
Originally Posted by gonca View Post
For possible consideration
When using DGDecNV the index file (*.dgi) has the HDR data in it
Unfortunately, though, that will only work if you have an NVIDIA card that supports HEVC decoding (which I [and possibly others] don't). That doesn't mean that I can't add the capability -- but right now I have no way of testing it. I'm also not sure how it could work in a version of AVISYNTH that only supports 8 bit colors.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 13th October 2018 at 23:06.
jdobbs is offline   Reply With Quote
Old 14th October 2018, 00:10   #27832  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Location: Scarborough, Canada
Posts: 814
Apparently there are some hacks but they are not good solutions
The most obvious way would be to use avisynth + (it has 32 and 64 bit versions)
gonca is offline   Reply With Quote
Old 14th October 2018, 04:55   #27833  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
Quote:
Originally Posted by jdobbs View Post
Are you sure the first conversion was 59.94fps? BD-RB would only do that if it had to convert it to 720p.
Code:
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L3.1
Format settings                          : 1 Ref Frames
Format settings, CABAC                   : No
Format settings, RefFrames               : 1 frame
Codec ID                                 : 27
Duration                                 : 2 min 20 s
Bit rate mode                            : Variable
Bit rate                                 : 5 034 kb/s
Maximum bit rate                         : 40.0 Mb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.243
Stream size                              : 84.1 MiB (92%)
Quote:
I'm not sure why BD-RB assumed it was 4:3. I'm guessing, maybe, it lost it in the conversion??
Not 4:3, 3:2. It considered the pixels to be square, which they aren't.
Quote:
You can force 16:9 by adding the following to your INI (see HIDDENOPTS.TXT):

IMPORT_FORCE_ASPECT=16:9
Didn't work, still 3:2.
Quote:
Make sure you reenable framerate conversion before importing it
I have no clue what that option is. I couldn't find any option with "framerate" in its title.
Quote:
-- and don't forget to comment IMPORT_FORCE_ASPECT out or delete it after you import that file, though, so you don't ruin the next import.
Impossible. The options are used for the whole run, which in this case is five 720x480 files and a 1080p file. I'm assuming that a comment in the INI file is a "!" character.
Quote:
If the framerate is variable, I doubt it came directly off a DVD, someone had to convert/reencode it first.
True, since BDRB won't read in VOB files directly. So, the first file I worked with is the MKV created by DVDFab. Looking at the VOB file with mediainfo, it declares the framerate as 29.97. But, DVDFab gets it right in that it is 23.976 with 2:3 pulldown. When I look at the VOB file with VideoReDo, it honors the pulldown flag and when stepping thru the video it displays four and then skips a frame. I used TSMuxer to create a TS file of the VOB file. TSMuxer declared the file to have pulldown. That file does not indicate variable framerate when looked at with mediainfo. But, BDRB still says that it has VFR. So, it also set the framerate at 59.94. By turning off VFR, it again did the frame rate as 19.181.
Quote:
If you still have issues, send me a short clip (dvd-rb@jdobbs.net) and I'll trace it during import. I made some changes to the import algorithm recently and there may have been some unforeseen impacts.
I've sent you an e-mail with a couple of links.

The DVD VOB file should be able to be dropped onto a Blu-ray, since MPEG-2 with 2:3 pulldown flags should be legal. Actually, any VOB file on a DVD should be able to be dropped onto a Blu-ray.
__________________
My Total Eclipse 2017 Photos
MrVideo is offline   Reply With Quote
Old 14th October 2018, 05:11   #27834  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
A thought:
Code:
Video
ID                                       : 1
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Bit rate mode                            : Variable
Bit rate                                 : 4 210 kb/s
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Original display aspect ratio            : 16:9
Frame rate mode                          : Variable
Original frame rate                      : 23.976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan order                               : 2:3 Pulldown
Compression mode                         : Lossy
Time code of first frame                 : 01:00:00;00
Time code source                         : Group of pictures header
Default                                  : No
Forced                                   : No
When the items in RED exist, ignore what is in BLUE and just copy the MPEG-2 file without mucking with it. Or better yet, remove the 2:3 pulldown flags and output it as 23.976p, which is what I really want. But, the BD book that I have indicates that 480p23.976 is not legal.

Experiment Update: I took one of the files and ran it thru TSMuxer and set it to remove the pulldown and then ran that thru BDRB. BDRB left it alone. I then played it on my Samsung BD player and it did not care that it was 480p23.976. As that violates the BD spec, BDRB will never do what I did. That said, The issues discovered still need to be resolved, as other users may have come across this problem.
__________________
My Total Eclipse 2017 Photos

Last edited by MrVideo; 14th October 2018 at 06:15.
MrVideo is offline   Reply With Quote
Old 14th October 2018, 05:27   #27835  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 901
I've never quite grasped the 1440x1080 thing... I THINK it has something to do with the shape of the pixels, I'm not sure. Is that natively a legal AR for Blu-ray, or if you import an MKV file with that AR into BDRB, will it simply automatically add borders to bring it to a full 1920x1080?

In other words, if I were to take that MKV file and run it through TSMuxer into a BDMV folder, I think I tried that before and my OPPO just stretches it horizontally to fill the screen instead of rendering it in the proper 4:3 AR. What exactly does BDRB do with a file with that AR? I've never been able to figure out how to place an MKV file with the 1440x1080 AR into a BDMV folder and have it play properly without re-encoding it and adding borders.

And if that AR IS legal for Blu-ray, then why won't my OPPO display it properly if I just mux it through TSMuxer into a Blu-ray format? Do I have to change some kind of 'flags' or something, and is that what BDRB does? Can someone explain that to me. I've never really understood that...
Lathe is offline   Reply With Quote
Old 14th October 2018, 05:56   #27836  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,357
Quote:
Originally Posted by Lathe View Post
I've never quite grasped the 1440x1080 thing... I THINK it has something to do with the shape of the pixels, I'm not sure. Is that natively a legal AR for Blu-ray, ...
1920x1080 square pixels resized to 1440x1080 and encoded with --sar 4:3 and displayed at DAR 16:9 is fully Blu-ray compliant. You can look at it as being an anamorphic format.
No need to add borders.
Sharc is offline   Reply With Quote
Old 14th October 2018, 06:21   #27837  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
Quote:
Originally Posted by Lathe View Post
I've never quite grasped the 1440x1080 thing... I THINK it has something to do with the shape of the pixels, I'm not sure. Is that natively a legal AR for Blu-ray, or if you import an MKV file with that AR into BDRB, will it simply automatically add borders to bring it to a full 1920x1080?
1440x1080 is a legal 4:3 HD Blu-ray format. Therefore, all players must handle it correctly, IFF the video file flags it as 4:3. If it gets marked as 16:9, then it will get stretched to fill the screen (though not strictly legal).
Quote:
In other words, if I were to take that MKV file and run it through TSMuxer into a BDMV folder, I think I tried that before and my OPPO just stretches it horizontally to fill the screen instead of rendering it in the proper 4:3 AR. What exactly does BDRB do with a file with that AR? I've never been able to figure out how to place an MKV file with the 1440x1080 AR into a BDMV folder and have it play properly without re-encoding it and adding borders.
What does mediainfo report about the MKV file? What does mediainfo report about the M2TS file that BDRB creates.
Quote:
And if that AR IS legal for Blu-ray, then why won't my OPPO display it properly if I just mux it through TSMuxer into a Blu-ray format? Do I have to change some kind of 'flags' or something, and is that what BDRB does? Can someone explain that to me. I've never really understood that...
No idea. We need more info about the MKV and M2TS files that you are attempting to use.
__________________
My Total Eclipse 2017 Photos

Last edited by MrVideo; 14th October 2018 at 06:27.
MrVideo is offline   Reply With Quote
Old 14th October 2018, 06:26   #27838  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
Quote:
Originally Posted by Sharc View Post
1920x1080 square pixels resized to 1440x1080 and encoded with --sar 4:3 and displayed at DAR 16:9 is fully Blu-ray compliant. You can look at it as being an anamorphic format.
No need to add borders.
Actually it is not. See https://en.wikipedia.org/wiki/Blu-ray
All Blu-ray HD pixels are square. Taking 1920 and rescaling to 1440 (anamorphic) is not Blu-ray legal. Many cable companies have reduced 1920 to 1440, but that is OK for that technology. It is not OK for Blu-ray.
__________________
My Total Eclipse 2017 Photos
MrVideo is offline   Reply With Quote
Old 14th October 2018, 10:03   #27839  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,121
The Wikipedia table just says "aspect ratio" without really defining what kind of aspect ratio. I'd argue it is wrong as it says
Code:
720×480 59.94i  |  4:3 or 16:9 
720×576 50i     |  4:3 or 16:9
which implies display aspect ratio. For 1440x1080 display aspect ratio must be 16:9 also according to the source wikipedia lists (see 3.3.1). Also info on doom9 (table 1.3). I've fixed the Wikipedia entry.

Last edited by sneaker_ger; 14th October 2018 at 10:09.
sneaker_ger is offline   Reply With Quote
Old 14th October 2018, 11:32   #27840  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,461
Thanks for the clarification and fixing the wiki.
__________________
My Total Eclipse 2017 Photos
MrVideo 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 05:10.


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