Hi, I am used to DVD -> DVDR conversions and have just entered into XviD/DivX to DVDR. I am a newb at this aswell as Avisynth usage in general. Anyway, since I set up all the progs I have been able to convert a few files no problem. Today however, whenever I load my avs and Encode CCE complains that 'couldn't find appropriate codec for YV12'. Now I have read the posts regarding this topic and the clear answer seems to be use the line in avs to convery to YUY, ok. My main concern is why I need to do this now as I never did before. I should mention though that I have recently installed some new software to assist me in the conversion should I experience any problems, the latest being DVD2SVCD. I have succesfully converted 3-4 Xvid/DivX files to DVD without the last line in avs for convert to YUY and they came out good so I am completely :confused: why this has changed other than some rogue setting in DVD2SVCD. Could Avisynth Switcher be responsible? For example the following script allowed me to do 1 pass in CCE on Monday, on Tuesday I had to do it over (as I deleted file by accident) and then CCE complained! AVISource("D:\f4.avi") BicubicResize(704,320,0,0.6,4,0,616,256) AddBorders(8,128,8,128) ResampleAudio(44100) Some help would be greatly appreciated, hope the above is clear. Thanks. P.S Some general hints on any possible improvements to the above script would be great too :)
You need to have a decoder for the YV12 colour space, such as (those that come as part of) xvid or ffdshow, installed, or you get that error message... is it possible that you removed one of these from your system recently/?
--------------------- '97 M3 Coupe JC CAI UUC TSE UUC Clutch Stop Hardwired V-1 B&M SSK 2002 RC51 Yoshimura Exhaust
no - for CCE you should add "ConvertToYUY2" at the end of the script. CCE does not accept YV12, so adding a codec will only slow you down and/or give you inferiour quality.
Sorry, my mistake. That does remind me of something that I was asked by a friend who was staying with me for the last few days (and writing a filter with me): why is the chroma upsampling in this particular conversion in AVISynth not done in such a way as to ensure that the subsequent downsampling from YUY2 to YV12 (as performed either by AVISynth or in this instance by CCE) makes the process lossless? [I think that would require interpolation of chroma values for all the scanlines rather than half of them, but in certain cases -- especially when feeding to an encoder -- that seems preferable?]
Thanks for the replies guys. So the general consensus is that the simple convert line in the avs file is the best and fastest option. Is there anything else that is now necessary in the avs file. My question is, is there a reason why all of a sudden that the same avs file will no longer load into CCE? That is strange. I haven't uninstalled anything to do this. I am sure that it is something to do with DVD2SVCD or maybe, but less likely, Avisynthswitcher. :thanks: Update - Just tried the ConvertToYUY2() in the avs and in the end MPEG file there are some horrible colour distortions. There are red and green smudges present. Then I tried again with the same settings and it seems OK. :scared: