17.10.2019, 19:01
Not working Preview and Avisynth preview
Not working Preview and Avisynth preview
|
17.10.2019, 19:01
Not working Preview and Avisynth preview
17.10.2019, 19:16
The Preview crashes since it opens the Avisynth script and that crashes.
Looking at the Avisynth script LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll") SourceFiltered = SourceFiltered.Crop(2,31,-10,-33) Interlaced Yv12 content requires mod4 crop values. see: http://avisynth.nl/index.php/Crop#Crop_restrictions Normally this is not a problem since Hybrid deinterlaced by default and thus it's only restricted to mod2, but since you choose not to deinterlace and clearly didn't know enough about the color sampling you ran into this problem. I could: a. write some code next week (busy over the weekend), to catch this warn the User and not show the preview b. write additional code to do a ConvertToRGB before applying the cropping and convert back afterwards. Normally I would advice against this (due to the impact on the speed), but for preview purposes only it is probably okay. -> not sure how and if I will implement any of these. For the time being make sure to crop the height with mod4 values and the preview should be fine. Cu Selur
17.10.2019, 19:28
Quote:not sure how and if I will implement any of these. For the time being make sure to crop the height with mod4 values and the preview should be fine.Now and always I put mod4 values, but preview not working.
17.10.2019, 19:39
You misunderstood what I wrote:
You resize to mod4, but at least the values you used for cropping for the preview the script was from were mod2. SourceFiltered = SourceFiltered.Crop(2,31,-10,-33) left: 2 top: 62 <- which is mod2 right: 10 bottom: 66 <- which is mod2 For further understanding: What happens is that the fields get separated by SeparateFields() and each field has half of the height of the original, now they get cropped for which the top and bottom values need to be halved to accommodate the halved height. Thus each frame get's cropped at the top by 31 and at the bottom by 33, problem is that the field is still YV12 and thus does not allow cropping by odd numbers. Cu Selur |
« Next Oldest | Next Newest »
|