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. |
9th December 2020, 09:21 | #30241 | Link | |
Registered User
Join Date: May 2006
Posts: 4,026
|
Quote:
So for blu-ray compliant encoder settings and GTX-1660 there seems to be no reason any more to fall back to x264 for quality vs file size reasons, based on PSNR and SSIM tests. That's something. I assume your reference sources were AVC 1080p YV12 8bit, right? |
|
9th December 2020, 16:33 | #30242 | Link | |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
Quote:
Now I wonder how NVENC's standard bitrate encoding compares to X264. I suspect it will fall behind since it doesn't have a true two-pass option. But that will have to be something for a different day. Last edited by jdobbs; 9th December 2020 at 17:51. |
|
11th December 2020, 19:19 | #30245 | Link |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
It's hard to answer. That's a relative term. Highest quality for output that will fit on a BD-25? BD-50? Highest quality output to an ALTERNATE format (with no regard for size)? Highest quality at a given bitrate?
Last edited by jdobbs; 11th December 2020 at 19:27. |
11th December 2020, 23:25 | #30247 | Link |
Hidef Junkie
Join Date: Dec 2007
Location: San Jose, CA
Posts: 10
|
secondary timecode sync issues
Not sure what the ramification of this are:
I'm using the latest makemkv to create the new Dolby Video mkv file that nvidia shield will play. When doing this on a BD_Rebuilder bluray I get these issues. They don't happen on the original bluray (This is obviously a 4K UHD Dolby Vision Bluray - I used Rampage as my test). I've spent a day now trying to figure out how to "fix" it. Seems kind of wierd because if the I-frames are fixed and it's a constant frame rate, how do the 2 streams get out of sync, and why do the timecode differences change. Anyway, if you have thoughts, I'd love to hear them - otherwise, just info for you.... (happens with both x265 and nvenc, btw) AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -208.544ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -291.966ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -333.666ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -250.255ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -125.133ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -166.833ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by -83.422ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by +250.244ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by +125.122ms AV sync issue in stream 0 at 0:00:02.711 : secondary stream video frame timecode differs by +41.7ms AV sync issue in stream 0 at 0:00:02.794 : secondary stream video frame timecode differs by -83.416ms AV sync issue in stream 0 at 0:00:02.836 : secondary stream video frame timecode differs by +83.408ms AV sync issue in stream 0 at 0:00:02.961 : secondary stream video frame timecode differs by -83.416ms AV sync issue in stream 0 at 0:00:02.961 : secondary stream video frame timecode differs by +41.705ms AV sync issue in stream 0 at 0:00:03.044 : secondary stream video frame timecode differs by +291.955ms AV sync issue in stream 0 at 0:00:03.044 : secondary stream video frame timecode differs by +125.122ms AV sync issue in stream 0 at 0:00:03.044 : secondary stream video frame timecode differs by +41.7ms AV sync issue in stream 0 at 0:00:03.128 : secondary stream video frame timecode differs by -83.416ms AV sync issue in stream 0 at 0:00:03.169 : secondary stream video frame timecode differs by +83.408ms AV sync issue in stream 0 at 0:00:03.294 : secondary stream video frame timecode differs by -83.416ms AV sync issue in stream 0 at 0:00:03.336 : secondary stream video frame timecode differs by +333.663ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -208.544ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -291.966ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -333.666ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -250.255ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -125.133ms AV sync issue in stream 0 at 0:00:03.712 : secondary stream video frame timecode differs by -166.833ms |
12th December 2020, 16:22 | #30249 | Link | |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
Quote:
For BD-25/50, I would also set the encoding method to "CQM". I've found this to be the best quality at a given size. BD-RB will encode samples of the source and predict the lowest CQM value (highest quality) that will fit on the target disc. But size prediction can never be perfect, and there is a (slight) chance that the output might be oversized. Luckily NVENCC is fast -- so you can always reencode it to make it a little smaller using the FIXED_CRF hidden option and slightly higher value than was selected. (But don't forget to remove FIXED_CRF after you are done -- or all your BD encodes will use it until you do, resulting is no size control by BD-RB) For ALTERNATE output, you can select a CQM value from the alternate dialog. The lower the number, the higher the quality and the bigger the output file -- but honestly anything below 18 or so (for NVENC) will only make it bigger without any noticable difference in quality. For reasonable quality (equivalent to X264's default) a value of 28 is a good place to start. Last edited by jdobbs; 12th December 2020 at 16:30. |
|
12th December 2020, 21:48 | #30250 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,741
|
mikeq: could be a tsMuxeR muxing issue.
The reported offsets seem to match multiples of 23.976fps frame durations. What has BDInfo to say about the source disc ?
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
13th December 2020, 09:11 | #30251 | Link | |
Registered User
Join Date: May 2006
Posts: 4,026
|
Quote:
|
|
13th December 2020, 20:28 | #30252 | Link | |
Hidef Junkie
Join Date: Dec 2007
Location: San Jose, CA
Posts: 10
|
Quote:
If I extract the streams and rebuild the BluRay - I get a similar problem. |
|
13th December 2020, 22:40 | #30253 | Link | |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
Quote:
I would also add that an accurate evaluation would compare the two encoders as they would be used. You wouldn't trim the borders in a BD backup (if you did the output would be non-compliant) or in a true 1:1 encode of an original. Last edited by jdobbs; 13th December 2020 at 22:53. |
|
14th December 2020, 00:07 | #30254 | Link | |
Registered User
Join Date: May 2006
Posts: 4,026
|
Quote:
Assume a picture with 50% black and 50% active picture area. Now take 2 encoders ('Good' vs 'Poor'). Both encode the static black part perfectly, say with quality score 100. The 'Good' encodes the active picture with quality 80, while the 'Poor' encodes the active picture with quality 60. Case 1: with borders Good (average) = (100+80)/2 = 90 Poor (average) = (100+60)/2 = 80 Difference Good - Poor = 10 Case 2: borders cropped Good (average) = 80 Poor (average) = 60 Difference Good - Poor = 20 Hence for case 2 the quality differeence between the 2 encoders is more prominent. In case 1 the black borders mask the deficiency of the poor encoder. Am I totally mislead? |
|
14th December 2020, 02:47 | #30255 | Link | |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
Quote:
See what I mean? Last edited by jdobbs; 14th December 2020 at 02:52. |
|
14th December 2020, 10:14 | #30256 | Link | |
Registered User
Join Date: May 2006
Posts: 4,026
|
Quote:
Eventually we may now want to compare the resulting file size and find that encoder A produced a file size which is say few % less than B (at 'same' PSNR or SSIM). Hence we conclude that encoder A is more efficient than B. I just wrapped my head around the question whether the conclusion would have been the same with the black borders cropped off because the borders would bias the result unequally for A and B. Confusing myself ... ;-) Many thanks for the enlightening and useful tests. Last edited by Sharc; 14th December 2020 at 14:42. |
|
14th December 2020, 14:52 | #30257 | Link | |
Moderator
Join Date: Oct 2001
Posts: 21,095
|
Quote:
Just for S&G, maybe I'll go back and strip the borders to see what happens. |
|
16th December 2020, 10:27 | #30258 | Link | |
Registered User
Join Date: May 2006
Posts: 4,026
|
Quote:
I aligned for same PSNR as a reference, using the commandline from BD-RB. x264: CRF=22 PSNR=44.81dB SSIM=83.00824601 filesize=3'307'459k 1.000 NVEncC: CQM=25 PSNR=44.82dB SSIM=82.53126698 filesize=4'561'774k 1.379 For same PSNR the video filesize for NVEnc was 38% higher than for x264. For same SSIM it would be even more. No borders in my test movie, but I don't think that this matters much. The big difference seems to be the HW. |
|
16th December 2020, 16:43 | #30259 | Link | |
Registered User
Join Date: Jun 2018
Location: Dorset
Posts: 164
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|