binister
19th May 2008, 18:44
Info: Captured VHS tapes w/ Canopus ADVC110 via Firewire to my PC. Using aviSynth for resizing/etc and HC Encoder/CCE for encoding to MPEG2.
Issue: I get an aviSynth "frame error" in my encoding apps when opening the source AVIs with the Cedocida codec but the Canopus codec works fine. The really strange part is both codecs work fine with the same clips when opened in VirtualDub. The error in my encoding apps always occurs around the time another AVISource() call is made and always during the first pass of a multipass encoding.
Can someone with Cedocida do a quick test for me?
1. Create a 3 minute test clip from any DV AVI file (make sure it has a 4CC code of dvsd and is opened by Cedocida). It seems like anything less than 3 minutes doesn't have a problem.
2. Create two directories "Tape01" and "Tape02"
3. Copy the test clip to two files called clip01.avi and clip02.avi in both of the Tape01 and Tape02 directories (you should now have 2 directories with 2 clips in each directory).
4. Create an avs script called "base.avs" in both Tape01 and Tape02 directories that looks like this:
Code:
function openSource() {
source = AVISource("clip01.avi") + AVISource("clip02.avi")
return source
}
5. Create an avs script called "clip.avs" in both the Tape01 and Tape02 directories that looks like this:
Code:
Import("base.avs")
clip = openSource()
clip
6. Create another avs script called "movie.avs" next to the Tape01 and Tape02 directories:
Code:
clip1 = AVISource("Tape01/clip.avs")
clip2 = AVISource("Tape02/clip.avs")
movie = clip1+clip2
movie
These are really stripped down scripts but they should work in our test.
7. Finally try to encode the movie.avs file in either CCE or HC Encoder using 2-Pass VBR. Give it a try 2 or 3 times. For some reason my encode process crashes around the 80-100% mark during the first pass. You will notice I have some nested avs scripts referenced in there. That along with the Cedocida decode codec is what seems to cause aviSynth to panic. If I merge all of those scripts into a single script I don't have any problems.
Thanks!
Issue: I get an aviSynth "frame error" in my encoding apps when opening the source AVIs with the Cedocida codec but the Canopus codec works fine. The really strange part is both codecs work fine with the same clips when opened in VirtualDub. The error in my encoding apps always occurs around the time another AVISource() call is made and always during the first pass of a multipass encoding.
Can someone with Cedocida do a quick test for me?
1. Create a 3 minute test clip from any DV AVI file (make sure it has a 4CC code of dvsd and is opened by Cedocida). It seems like anything less than 3 minutes doesn't have a problem.
2. Create two directories "Tape01" and "Tape02"
3. Copy the test clip to two files called clip01.avi and clip02.avi in both of the Tape01 and Tape02 directories (you should now have 2 directories with 2 clips in each directory).
4. Create an avs script called "base.avs" in both Tape01 and Tape02 directories that looks like this:
Code:
function openSource() {
source = AVISource("clip01.avi") + AVISource("clip02.avi")
return source
}
5. Create an avs script called "clip.avs" in both the Tape01 and Tape02 directories that looks like this:
Code:
Import("base.avs")
clip = openSource()
clip
6. Create another avs script called "movie.avs" next to the Tape01 and Tape02 directories:
Code:
clip1 = AVISource("Tape01/clip.avs")
clip2 = AVISource("Tape02/clip.avs")
movie = clip1+clip2
movie
These are really stripped down scripts but they should work in our test.
7. Finally try to encode the movie.avs file in either CCE or HC Encoder using 2-Pass VBR. Give it a try 2 or 3 times. For some reason my encode process crashes around the 80-100% mark during the first pass. You will notice I have some nested avs scripts referenced in there. That along with the Cedocida decode codec is what seems to cause aviSynth to panic. If I merge all of those scripts into a single script I don't have any problems.
Thanks!