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. |
26th April 2015, 13:57 | #22703 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
Quote:
Thanks. |
|
26th April 2015, 19:18 | #22704 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
Tweak Alternate
Is there something changed in "TWEAK_ALTERNATE"?
Just noticed that, in some cases, BD-RB set rc-lookahead to 24. This happens when i use CRF 18. Set CRF to 20, rc-lookahead is 40. The default for rc-lookahead is 40, am i right? Thought i did this tweak somewhere in the past succesfully... LASTCMD: "C:\BD_Rebuilder\tools\x264.exe" "D:\BD-RB WORK\WORKFILES\VID_00000.AVS" --preset slow --bluray-compat --ref 4 --b-adapt 1 --b-pyramid none --weightp 1 --slow-firstpass --qpmin=0 --crf 18 --level 4.1 --qpfile "D:\BD-RB WORK\WORKFILES\VID_00000.CHP" --aud --nal-hrd vbr --pic-struct --vbv-bufsize 30000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 30000 --threads auto --slices 4 --thread-input --vbv-maxrate 40000 --vbv-bufsize 40000 --rc-lookahead 40 --stats "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264.stats" --output "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264" Mediainfo: ... / rc_lookahead=24 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=40000 / ... INI file: Last edited by Glarioo; 26th April 2015 at 19:27. |
26th April 2015, 20:44 | #22705 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
BD Rebuilder never changes rc-lookahead -- so the default (for the given quality preset) will always be used (unless you change it). The default value you reference [40] would be applied for the "medium" preset. I believe the default for "--preset slow" (your example command line) is "--rc-lookahead 50".
None of the presets defaults to "--rc-lookahead 24" -- so I have no idea how that could get there unless it is specifically called out with a tweak. IMHO it's better to always leave rc-lookahead at its default. Here's some info I found online -- I can't vouch for its currency, but it's probably still accurate: Code:
–preset Use a preset to select encoding settings [medium] Overridden by user settings - ultrafast: –no-8x8dct –aq-mode 0 –b-adapt 0 –bframes 0 –no-cabac –no-deblock –no-mbtree –me dia –no-mixed-refs –partitions none –ref 1 –scenecut 0 –subme 0 –trellis 0 –no-weightb –weightp 0 - veryfast: –no-mbtree –me dia –no-mixed-refs –partitions i8x8,i4x4 –ref 1 –subme 1 –trellis 0 –weightp 0 - faster: –no-mbtree –no-mixed-refs –refs 2 –subme 4 –weightp 1 - fast: –rc-lookahead 30 –ref 2 –subme 6 - medium: Default settings apply. - slow: –b-adapt 2 –direct auto –me umh –rc-lookahead 50 –ref 5 –subme 8 - slower: –b-adapt 2 –direct auto –me umh –partitions all –rc-lookahead 60 –ref 8 –subme 9 –trellis 2 - veryslow: –b-adapt 2 –bframes 8 –direct auto –me umh –me-range 24 –partitions all –ref 16 –subme 10 –trellis 2 –rc-lookahead 60 - placebo: –bframes 16 –b-adapt 2 –direct auto –slow-firstpass –no-fast-pskip –me tesa –me-range 24 –partitions all –rc-lookahead 60 –ref 16 –subme 10 –trellis 2 Last edited by jdobbs; 26th April 2015 at 21:28. |
26th April 2015, 22:31 | #22706 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I'd have to look at the code (probably somewhere in encoder.c) but IIRC, keyint 24 would clamp rc-lookahead to 24.
__________________
Groucho's Avisynth Stuff |
26th April 2015, 23:44 | #22708 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
Quote:
@Glarioo If Groucho2004 is correct, then you can just modify the ALTERNATE preset so it is using auto-GOP. Just add: vKeyint=Auto to the preset description you are using in ALTERNATE.TXT. That will set the keyint parameter to 10x the frame rate (so it would be 240 rather than 24). Of course that could limit seeking accuracy to about 10 seconds (depending on the player). The only time you wouldn't want to do that is if you are trying to maintain Blu-ray compatibility in your ALTERNATE backup. Last edited by jdobbs; 26th April 2015 at 23:54. |
|
27th April 2015, 17:55 | #22709 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
Blu-ray compatibility in alternate backup is not so important to me, i play my mkv backups on a Dune mediaplayer.
I'm gonna add vKeyint=Auto --rc-lookahead 50 in TWEAK_ALTERNATE and do a test tonight. Jdobbs, Groucho2004 and Sharc: thanks for your for your expert explanation. Tomorrow i'm gonna let you know what the results are. Last edited by Glarioo; 27th April 2015 at 19:55. |
27th April 2015, 19:57 | #22710 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
vKeyint=Auto --rc-lookahead 50 didn't do it.
TWEAK_ALTERNATE=--vbv-maxrate 40000 --vbv-bufsize 40000 --rc-lookahead 50 vKeyint=Auto LASTCMD: "C:\BD_Rebuilder\tools\x264.exe" "D:\BD-RB WORK\WORKFILES\VID_00000.AVS" --preset slow --bluray-compat --ref 4 --b-adapt 1 --b-pyramid none --weightp 1 --slow-firstpass --qpmin=0 --crf 18 --level 4.1 --aud --nal-hrd vbr --pic-struct --vbv-bufsize 30000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 30000 --threads auto --slices 4 --thread-input --vbv-maxrate 40000 --vbv-bufsize 40000 --rc-lookahead 50 vKeyint=Auto --stats "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264.stats" --output "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264" Media info: .../ keyint=24 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=40000 /... |
27th April 2015, 20:46 | #22711 | Link |
Registered User
Join Date: Dec 2011
Posts: 148
|
Searching on the internet give me some info:
1. keyint=250 / keyint_min=25 2. keyint=240 / keyint_min=24 I've used the first for a test and this was the result: INI: TWEAK_ALTERNATE=--vbv-maxrate 40000 --vbv-bufsize 40000 --rc-lookahead 50 --keyint 250 --min-keyint 25 LASTCMD: "C:\BD_Rebuilder\tools\x264.exe" "D:\BD-RB WORK\WORKFILES\VID_00000.AVS" --preset slow --bluray-compat --ref 4 --b-adapt 1 --b-pyramid none --weightp 1 --slow-firstpass --qpmin=0 --crf 18 --level 4.1 --aud --nal-hrd vbr --pic-struct --vbv-bufsize 30000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 30000 --threads auto --slices 4 --thread-input --vbv-maxrate 40000 --vbv-bufsize 40000 --rc-lookahead 50 --keyint 250 --min-keyint 25 --stats "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264.stats" --output "D:\BD-RB WORK\WORKFILES\VID_00000.AVS.264" Mediainfo: ... / keyint=250 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=40000 / ... Only min-keyint didn't change. Last edited by Glarioo; 27th April 2015 at 20:59. |
27th April 2015, 21:14 | #22712 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
I don't use BD Rebuilder so I think others will be better suited to advise you on the proper settings.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 27th April 2015 at 22:15. |
|
27th April 2015, 21:51 | #22713 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
Quote:
It's done that way on purpose so you can create your own presets if you want. Last edited by jdobbs; 28th April 2015 at 00:01. |
|
27th April 2015, 23:39 | #22715 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
Yes. I start with those settings -- and then override those that I want when BD compatibility isn't necessary. I spent a lot of time developing a balance of settings that I believe to give the best results -- and maintains compatibility on the widest variety of players. For example: b-pyramid causes issues on some players (it shouldn't -- but it does). You might want to get better quality with "preset slow" -- but it sets "ref 5" -- which is illegal for BD at 1080p -- so I specifically override it (I like having control and not trusting overall settings like "--bluray-compat" when I'm not checking the code with every release).
Working with these settings for the past several years, responding to bug and incompatibility reports, and knowing the impact is why BD Rebuilder backups always work -- where other software backups sometimes don't. I personally like to keep BD compatibility in my ALTERNATE backups -- so I can simply mux-and-burn later if I want. Overriding BD compatibility gives very little benefit in most circumstances -- so what's the point? The one obvious exception might be GOP size -- that's why I put that option in the ALTERNATE file. I also have a hidden option that allows you to set b-pyramid to "strict" rather than "none". Last edited by jdobbs; 28th April 2015 at 00:23. |
28th April 2015, 18:19 | #22716 | Link | |
Registered User
Join Date: Dec 2011
Posts: 148
|
Quote:
Is it also possible to change min-keyint? And how do i add that? |
|
28th April 2015, 21:13 | #22717 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
I was just wondering why you leave --bluray-compat in, although you set all parameters explicitly anyway for the reasons you explained. But of course double stitching does no harm at all. |
|
28th April 2015, 22:56 | #22718 | Link |
Registered User
Join Date: Mar 2011
Posts: 11
|
Error in attempt to MKVMERGE.
hello
I need help with the following error: [23:24:09] Extracting A/V streams [VID_00108] - Error in attempt to MKVMERGE. [23:25:42] - Failed to retrieve audio, aborted I've never had this error What I can do? thanks in advance |
28th April 2015, 23:17 | #22719 | Link |
Registered User
Join Date: Jan 2010
Location: USA, Oregon
Posts: 791
|
Failed to retrieve audio during extract(or muxing for that matter) is usually a sign of a bad copy. But without more of your log, or settings, it's hard to say.
__________________
Only one rooster, need be in the hen house... |
28th April 2015, 23:28 | #22720 | Link | |
Registered User
Join Date: Mar 2011
Posts: 11
|
Quote:
[04/28/15] BD Rebuilder v0.50.01 [15:03:59] Source: THE_PRINCESS_AND_THE_FROG_2009_ - Input BD size: 35,19 GB - Approximate total content: [03:45:27.428] - Target BD size: 46,26 GB - Windows Version: 6.1 [7601] - Quality: High Quality (Default), Two Pass - Decoding/Frame serving: X264/LAVF - Audio Settings: AC3=0 DTS=0 HD=0 Kbs=640 [15:04:00] PHASE ONE, Encoding - [15:04:00] Blanking: VID_00067 (1 of 69) - [15:04:00] Processing: VID_00100 (2 of 69) - [15:04:00] Extracting A/V streams [VID_00100] - [15:04:46] Reencoding video [VID_00100] - [15:04:46] Reencoding secondary video [TRK_02] - [15:07:08] Keeping original video (no reencode) - [15:07:08] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:07:08] Multiplexing M2TS - [15:07:39] Processing: VID_00101 (3 of 69) - [15:07:39] Extracting A/V streams [VID_00101] - [15:07:58] Reencoding video [VID_00101] - [15:07:58] Reencoding secondary video [TRK_02] - [15:08:27] Keeping original video (no reencode) - [15:08:27] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:08:27] Multiplexing M2TS - [15:08:38] Processing: VID_00102 (4 of 69) - [15:08:38] Extracting A/V streams [VID_00102] - [15:08:51] Reencoding video [VID_00102] - [15:08:51] Reencoding secondary video [TRK_02] - [15:09:12] Keeping original video (no reencode) - [15:09:12] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:09:12] Multiplexing M2TS - [15:09:19] Processing: VID_00103 (5 of 69) - [15:09:19] Extracting A/V streams [VID_00103] - [15:09:43] Reencoding video [VID_00103] - [15:09:43] Reencoding secondary video [TRK_02] - [15:10:37] Keeping original video (no reencode) - [15:10:37] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:10:37] Multiplexing M2TS - [15:10:51] Processing: VID_00104 (6 of 69) - [15:10:51] Extracting A/V streams [VID_00104] - [15:11:11] Reencoding video [VID_00104] - [15:11:11] Reencoding secondary video [TRK_02] - [15:11:44] Keeping original video (no reencode) - [15:11:44] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:11:44] Multiplexing M2TS - [15:11:55] Processing: VID_00105 (7 of 69) - [15:11:55] Extracting A/V streams [VID_00105] - [15:12:33] Reencoding video [VID_00105] - [15:12:33] Reencoding secondary video [TRK_02] - [15:14:23] Keeping original video (no reencode) - [15:14:23] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:14:23] Multiplexing M2TS - [15:14:48] Processing: VID_00106 (8 of 69) - [15:14:48] Extracting A/V streams [VID_00106] - [15:15:47] Reencoding video [VID_00106] - [15:15:47] Reencoding secondary video [TRK_02] - [15:19:04] Keeping original video (no reencode) - [15:19:04] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:19:05] Multiplexing M2TS - [15:19:46] Processing: VID_00107 (9 of 69) - [15:19:46] Extracting A/V streams [VID_00107] - [15:20:09] Reencoding video [VID_00107] - [15:20:09] Reencoding secondary video [TRK_02] - [15:20:53] Keeping original video (no reencode) - [15:20:53] Processing audio tracks - Track 4354 (spa): Keeping original audio - [15:20:53] Multiplexing M2TS - [15:21:05] Processing: VID_00108 (10 of 69) - [15:21:05] Extracting A/V streams [VID_00108] - Error in attempt to MKVMERGE. [15:22:55] - Failed to retrieve audio, aborted |
|
|
|