View Full Version : ConvertToRGB() Question
andre3000
21st October 2002, 03:27
I am encoding a movie and have set max avg bitrate and min avg bitrate to 2450. Usually when I encode CCE would crash. I tried all the different methods to try and fix it by reading these forums. None worked so I tried this one method were I would add ConvertToRGB() as the last line of avs. This time the rip went through. Now I read the faq on what it does, but I am not sure exactly why it seemed to fix my problem. Also is there any downside to using ie loss of quality, incompatability with some stand alones etc. BTW The CCE crash only happens when I try and encode with Max and Max avg bitrate set to the same number. But for some reason ConvertToRGB() solves this problem.
SansGrip
21st October 2002, 03:51
andre3000: I would add ConvertToRGB() as the last line of avs. This time the rip went through.
I too have no idea why this would fix the CCE crash -- either CCE is buggy or perhaps it's using a buggy DirectShow filter to convert the input to RGB (it shouldn't, but I have no idea how CCE works. My wallet doesn't stretch that far ;)). You may want to ask about this in the CCE forum, since this doesn't appear to be an Avisynth issue.
As far as a downside goes, the only real disadvantage is that Avisynth is converting from YUV2 to RGB and then CCE is converting it back to YUV2. This is a somewhat lossy process, but probably isn't anything to worry about since you're only doing it once.
Incidentally, why set the min and max to the same value? Isn't that what CBR mode is for? :)
andre3000
21st October 2002, 04:09
Originally posted by SansGrip
Incidentally, why set the min and max to the same value? Isn't that what CBR mode is for? :)
well i just started making backups and was told that CBR stood for "Crapped Beyond Repair" and was basically not as good as multi pass VBR. So I never actually looked into that. Backups seem to come out very nice though. I tend to give it 5 passes to be on the safe side, and everything looks aok :).
Anyway thanks for the info and I guess I will keep using the same method unless I see some problems with it.
andre3000
21st October 2002, 04:10
btw can a moderator please move this to the CCE forum or should I just start the same thread there?
SansGrip
21st October 2002, 04:18
andre3000: well i just started making backups and was told that CBR stood for "Crapped Beyond Repair" and was basically not as good as multi pass VBR.
I may be misunderstanding something, but it would seem to me that if you set the minimum and the maximum bitrates to the same value, you're getting CBR anyway since the encoder has no room to adjust the bitrate.
Using VBR with min = max is a strange thing to do, since the whole point of variable bitrate is that, well, the bitrate can vary ;)
Since you're doing 5 passes it would be my contention that using CBR mode would produce the same result and be 5 times faster. But I might be wrong.
andre3000
21st October 2002, 04:49
Originally posted by SansGrip
andre3000: well i just started making backups and was told that CBR stood for "Crapped Beyond Repair" and was basically not as good as multi pass VBR.
I may be misunderstanding something, but it would seem to me that if you set the minimum and the maximum bitrates to the same value, you're getting CBR anyway since the encoder has no room to adjust the bitrate.
Using VBR with min = max is a strange thing to do, since the whole point of variable bitrate is that, well, the bitrate can vary ;)
Since you're doing 5 passes it would be my contention that using CBR mode would produce the same result and be 5 times faster. But I might be wrong.
You probably understand right, I am new to this so probably misunderstood the whole concept. I appreciate the info. :).
ps. thanks for being polite while handing me my a$$ ;).
SansGrip
21st October 2002, 05:00
ps. thanks for being polite while handing me my a$$ ;).
You're welcome :D
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.