Log in

View Full Version : DVD-RB HC encoding fails when using Bitrate redistribution


krosswindz
8th November 2007, 07:28
I am a n00b when it comes to using DVD Rebuilder. I am trying to backup a movie using DVD Rebuilder using HC encoder. I trying to use Bitrate redistribution. But every single time It aborts with the following error "encoder doesn't appear functional".


[01:41:51] One Click encoding activated...
-----------------
[01:41:51] Phase I, PREPARATION started.
- DVD-RB v1.26.3
- AVISYNTH 2.5.5.0
- HC v0.21.0.0 encoder selected
- AVS Filters are enabled.
- "Movie and Menus Only" mode is enabled.
- Source: JOHNNY_ENG_REDONE
- VTS_01: 148,097 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 13,765 frames.
-- Building .AVS and .ECL files
- VTS_02: 2,503,166 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 242,585 frames.
-- Building .AVS and .ECL files
- VTS_03: 785,283 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 79,555 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 59.3%
- Overall Bitrate : 2,630/2,104Kbs
- Space for Video : 3,597,976KB
- Redistributing using Base_Q: 49
-- V020003_REDIST no .M2V, retrying.
-- V020003_REDIST no .M2V, retrying.
- Failed to create M2V: V020003_REDIST
- The encoder doesn't appear functional.
- Aborting...
- Blanking all EXTRA Segments


Looking at the input given to HC encoder, seems like HC encoder is looking for VXXXXXX_REDIST.avs files but there are only VXXXXXXXXXXX.avs files in the working directory.


*PROFILE FAST
*INFILE D:\DVD-RB Working\D2VAVS\V020003_REDIST.avs
*OUTFILE D:\DVD-RB Working\D2VAVS\V020003_REDIST.m2v
*BITRATE 0
*MAXBITRATE 3999
*WAIT 0
*CUSTOMMATRIX
08 16 19 22 26 28 32 38
16 16 22 24 28 32 38 44
19 22 26 28 32 38 44 48
22 22 26 32 38 44 48 54
22 26 32 38 44 48 54 64
26 32 38 44 48 54 64 74
32 38 44 48 54 64 74 84
38 44 48 54 64 74 84 94

16 20 24 28 36 42 46 52
20 24 28 36 42 46 52 58
24 28 36 42 46 52 58 62
28 36 42 46 52 58 62 68
36 42 46 52 58 62 68 78
42 46 52 58 62 68 78 88
46 52 58 62 68 78 88 99
52 58 62 68 78 88 99 99
*BIAS 20
*CQ_MAXBITRATE 4.9
*LUMGAIN 0
*ASPECT 16:9
*NOSCD
*GOP 15 2
*NOVBV
*INTERLACED


Any help in fixing this is much appreciated.

Sharc
8th November 2007, 07:54
You should upgrade and try again.
DVD-RB 1.26.5
avisynth 2.5.6 or 2.5.7.

krosswindz
9th November 2007, 02:24
I upgraded DVD-RB 1.26.5 and avisynth 2.5.7 and I still have same problem.

The files are created v0xxxxxxxxxxxxxxx.* and that is something different. Any help is appreciated


[20:13:49] One Click encoding activated...
-----------------
[20:13:49] Phase I, PREPARATION started.
- DVD-RB v1.26.5
- AVISYNTH 2.5.7.0
- HC v0.21.0.0 encoder selected
- AVS Filters are enabled.
- Source: JOHNNY_ENG_REDONE
- VTSM_02: 108,435 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 10,764 frames.
-- Building .AVS and .ECL files
- VTS_02: 2,503,166 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 242,585 frames.
-- Building .AVS and .ECL files
- VTSM_03: 38,838 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 4,167 frames.
-- Building .AVS and .ECL files
- VTS_03: 10 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 1 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 86.8%
- Overall Bitrate : 3,770/3,016Kbs
- Space for Video : 3,954,332KB
- Analyzing VTS_02 for optimal CQ factor.
-- TargetSize (sectors):1,974,582
-- Sampling 2535 of 253349 frames.
-- V02_Q_ANALYSIS no .M2V, retrying.
-- V02_Q_ANALYSIS no .M2V, retrying.
- Failed to create M2V: V02_Q_ANALYSIS
- The encoder doesn't appear functional.
- Aborting...
- CQ Value selected: 3.3
- Redistributing using Final_Q: 33
- Aborted during REDISTRIBUTION.
- HIGH/LOW/TYPICAL Bitrates: 4,806/1,178/3,016 Kbs
[20:17:57] Phase I, PREPARATION completed in 4 minutes.
Aborted.



*PROFILE BEST
*INFILE D:\DVD-RB Working\D2VAVS\V02_Q_ANALYSIS.avs
*OUTFILE D:\DVD-RB Working\D2VAVS\V02_Q_ANALYSIS.m2v
*BITRATE 0
*MAXBITRATE 4930
*WAIT 0
*CUSTOMMATRIX
08 16 19 22 26 28 32 38
16 16 22 24 28 32 38 44
19 22 26 28 32 38 44 48
22 22 26 32 38 44 48 54
22 26 32 38 44 48 54 64
26 32 38 44 48 54 64 74
32 38 44 48 54 64 74 84
38 44 48 54 64 74 84 94

16 20 24 28 36 42 46 52
20 24 28 36 42 46 52 58
24 28 36 42 46 52 58 62
28 36 42 46 52 58 62 68
36 42 46 52 58 62 68 78
42 46 52 58 62 68 78 88
46 52 58 62 68 78 88 99
52 58 62 68 78 88 99 99
*BIAS 20
*CQ_MAXBITRATE 3.3
*LUMGAIN 0
*ASPECT 16:9
*GOP 15 2
*INTERLACED

Sharc
9th November 2007, 06:59
HC might have a problem with reloading avisynth. Apparently this happens with certain systems. What does the info line in the HC GUI tell?

You may want to send a PM to hank315. He might be able to help with a special build.

krosswindz
9th November 2007, 08:53
HC might have a problem with reloading avisynth. Apparently this happens with certain systems. What does the info line in the HC GUI tell?

You may want to send a PM to hank315. He might be able to help with a special build.

The info line first shows:


ERROR, Can't process AVS file, wait for Avisynth error message


then it changes to


ERROR, Script error: syntax error.


If I dont select bitrate redistribution everything works perfectly.

Boulder
9th November 2007, 12:36
Check the DVD-RB working folder, there should be an .avs file which is being used in the redistribution phase (I don't remember the exact name). Post the contents of that file here. There's something wrong in the script itself.

krosswindz
9th November 2007, 20:43
Check the DVD-RB working folder, there should be an .avs file which is being used in the redistribution phase (I don't remember the exact name). Post the contents of that file here. There's something wrong in the script itself.

There are a lot of .avs files. I dont know which avs file you want. I am listing the contents of the entire directory of the D2VAVS, if you tell me which one I will post the contents of that file.


Volume in drive D has no label.
Volume Serial Number is 44A9-3D62

Directory of D:\DVD-RB Working\D2VAVS

11/09/2007 02:40 PM <DIR> .
11/09/2007 02:40 PM <DIR> ..
11/09/2007 02:40 PM 0 dir.txt
11/09/2007 02:34 AM 682 HC.INI
11/09/2007 02:34 AM 682 HC01.INI
11/09/2007 02:36 AM 60,192 REBUILDER.ECL
11/09/2007 02:36 AM 15,063 REBUILDER.INF
11/09/2007 02:36 AM 1,268 REDISTRIBUTION.TXT
11/09/2007 02:34 AM 1,158,406 V02.D2V
11/09/2007 02:32 AM 622 V02000000001001.AVS
11/09/2007 02:32 AM 1 V02000000001001.FLG
11/09/2007 02:32 AM 621 V02000100002001.AVS
11/09/2007 02:32 AM 1 V02000100002001.FLG
11/09/2007 02:32 AM 636 V02000200003001.AVS
11/09/2007 02:32 AM 1 V02000200003001.FLG
11/09/2007 02:32 AM 638 V02000300004001.AVS
11/09/2007 02:32 AM 715 V02000300004001.FLG
11/09/2007 02:32 AM 642 V02000400004002.AVS
11/09/2007 02:32 AM 16,497 V02000400004002.FLG
11/09/2007 02:32 AM 644 V02000500004003.AVS
11/09/2007 02:32 AM 8,320 V02000500004003.FLG
11/09/2007 02:32 AM 644 V02000600004004.AVS
11/09/2007 02:32 AM 1,573 V02000600004004.FLG
11/09/2007 02:32 AM 644 V02000700004005.AVS
11/09/2007 02:32 AM 7,839 V02000700004005.FLG
11/09/2007 02:33 AM 644 V02000800004006.AVS
11/09/2007 02:33 AM 44,356 V02000800004006.FLG
11/09/2007 02:33 AM 644 V02000900004007.AVS
11/09/2007 02:33 AM 9,139 V02000900004007.FLG
11/09/2007 02:33 AM 644 V02001000004008.AVS
11/09/2007 02:33 AM 4,017 V02001000004008.FLG
11/09/2007 02:33 AM 644 V02001100004009.AVS
11/09/2007 02:33 AM 5,330 V02001100004009.FLG
11/09/2007 02:33 AM 645 V02001200004010.AVS
11/09/2007 02:33 AM 11,999 V02001200004010.FLG
11/09/2007 02:33 AM 646 V02001300004011.AVS
11/09/2007 02:33 AM 6,448 V02001300004011.FLG
11/09/2007 02:33 AM 646 V02001400004012.AVS
11/09/2007 02:33 AM 5,421 V02001400004012.FLG
11/09/2007 02:33 AM 646 V02001500005001.AVS
11/09/2007 02:33 AM 18,070 V02001500005001.FLG
11/09/2007 02:33 AM 646 V02001600005002.AVS
11/09/2007 02:33 AM 24,661 V02001600005002.FLG
11/09/2007 02:34 AM 646 V02001700005003.AVS
11/09/2007 02:34 AM 9,698 V02001700005003.FLG
11/09/2007 02:34 AM 646 V02001800005004.AVS
11/09/2007 02:34 AM 15,067 V02001800005004.FLG
11/09/2007 02:34 AM 646 V02001900005005.AVS
11/09/2007 02:34 AM 16,913 V02001900005005.FLG
11/09/2007 02:34 AM 646 V02002000005006.AVS
11/09/2007 02:34 AM 4,121 V02002000005006.FLG
11/09/2007 02:34 AM 646 V02002100005007.AVS
11/09/2007 02:34 AM 4,783 V02002100005007.FLG
11/09/2007 02:34 AM 646 V02002200006001.AVS
11/09/2007 02:34 AM 20,956 V02002200006001.FLG
11/09/2007 02:34 AM 646 V02002300006002.AVS
11/09/2007 02:34 AM 6,479 V02002300006002.FLG
11/09/2007 02:34 AM 631 V02002400007001.AVS
11/09/2007 02:34 AM 180 V02002400007001.FLG
11/09/2007 02:34 AM 306 V03.D2V
11/09/2007 02:34 AM 622 V03000000001001.AVS
11/09/2007 02:34 AM 1 V03000000001001.FLG
11/09/2007 02:32 AM 51,276 W02.D2V
11/09/2007 02:31 AM 638 W02000000001001.AVS
11/09/2007 02:31 AM 962 W02000000001001.FLG
11/09/2007 02:31 AM 641 W02000100001002.AVS
11/09/2007 02:31 AM 538 W02000100001002.FLG
11/09/2007 02:32 AM 642 W02000200002001.AVS
11/09/2007 02:32 AM 1,300 W02000200002001.FLG
11/09/2007 02:32 AM 642 W02000300003001.AVS
11/09/2007 02:32 AM 1,300 W02000300003001.FLG
11/09/2007 02:32 AM 642 W02000400004001.AVS
11/09/2007 02:32 AM 1,300 W02000400004001.FLG
11/09/2007 02:32 AM 642 W02000500005001.AVS
11/09/2007 02:32 AM 1,300 W02000500005001.FLG
11/09/2007 02:32 AM 642 W02000600006001.AVS
11/09/2007 02:32 AM 1,409 W02000600006001.FLG
11/09/2007 02:32 AM 642 W02000700007001.AVS
11/09/2007 02:32 AM 104 W02000700007001.FLG
11/09/2007 02:32 AM 642 W02000800007002.AVS
11/09/2007 02:32 AM 1,302 W02000800007002.FLG
11/09/2007 02:32 AM 643 W02000900008001.AVS
11/09/2007 02:32 AM 1,249 W02000900008001.FLG
11/09/2007 02:34 AM 19,849 W03.D2V
11/09/2007 02:34 AM 639 W03000000001001.AVS
11/09/2007 02:34 AM 1,354 W03000000001001.FLG
11/09/2007 02:34 AM 642 W03000100002001.AVS
11/09/2007 02:34 AM 1,407 W03000100002001.FLG
11/09/2007 02:34 AM 642 W03000200003001.AVS
11/09/2007 02:34 AM 1,406 W03000200003001.FLG

Boulder
9th November 2007, 21:32
I don't see anything related to redistribution there. What is the name of the avs file that is being loaded in HC in the redistribution phase?

krosswindz
10th November 2007, 10:29
I don't see anything related to redistribution there. What is the name of the avs file that is being loaded in HC in the redistribution phase?

If I use this option

REDIST_USE_FINAL_Q=1

the file HC is looking for is


INFILE D:\DVD-RB Working\D2VAVS\V02_Q_ANALYSIS.avs


without the option the file HC is looking for is


INFILE D:\DVD-RB Working\D2VAVS\V020003_REDIST.avs


These files are never being created.

Boulder
10th November 2007, 13:10
Try pausing HC while its GUI window is open, you should then be able to see what the script contains.

krosswindz
11th November 2007, 05:53
Try pausing HC while its GUI window is open, you should then be able to see what the script contains.

This what the script contains.


#------------------
# AVS File Created by DVD Rebuilder
# VOBID:04, CELLID:01
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("D:\DVD-RB Working\D2VAVS\V02.D2V", cpu=2)
AVSFilter01=c:f:p:ColorMatrix(mode="Rec.601->Rec.709", scaling=1, interlaced=false)
AVSFilter02=c:f:i:ColorMatrix(mode="Rec.601->Rec.709", scaling=1, interlaced=true)
AVSFilter03=f:YLevelsS(16, 1.2, 255, 0, 255)
AVSFilter04=f:Tweak(hue=2, sat=1.1)
AVSFilter05=f:dull = last
AVSFilter06=f:sharp = dull.LimitedSharpenFaster(strength=90)
AVSFilter07=f:Soothe(sharp,dull,30)
trim(3,717).SelectRangeEvery(150,15)
ConvertToYV12(interlaced=true)

Boulder
11th November 2007, 10:00
Your filter editor items seem to be all screwed up..

krosswindz
11th November 2007, 10:58
Your filter editor items seem to be all screwed up..

Thanks for your help really appreciate it. I think I might have fixed the problem.

jdobbs
13th November 2007, 01:30
These files are never being created The files are created for temporary use and removed afterwards.