![]() |
Problems converting 640x359 Divx file using CCE and Avisynth
I'm using vmesquita's script excluding the filtering lines, below are the crucial lines
#Resize, overscan and borders gripCrop(720, 480, overscan=0,source_anamorphic=true,dest_anamorphic= true) GripSize(resizer="BicubicResize") GripBorders() swapuv() #To correct colors in Divx 3 videos ConvertToYUY2() When I import this scrip into CCE, it gave me an error saying "Frame size 868x56 is not supported. Supported frame is up to 720x576." I suspect it's because the Divx video has an unusual resolution of 640x359(almost 16:9). What can I do in the script so I can import it into CCE. 640x360 Divx video works fine using identical scripts. |
This a filter error I see in TMPGEnc.
"Filter error: Attempted to request an YV12 frame that wasn't mod2 in width and height!" I think this a AVISource problem. it doesn't support the resolution 640x359. Is there an alternative to AVISource that I can use with Divx avi? |
Either you source nor your target are anamorphic. So set both parameters of gripcrop to "false".
But your problem is elsewhere. Open your script directly in wmp and you will see it in red letters :!: |
What I see is on my second post. "Filter error: Attempted to request an YV12 frame that wasn't mod2 in width and height!" It points out to the line AVISource.
Also isn't anamorphic 16:9? is 640x360 16:9. hence anamorphic? |
Do not mistaken 16:9 and anamorphic.
Anamorphic is a 16:9 picture streched into a 4:3 box. That is why you can see a picture is anamorphic by the "conehead" effects. Here you have a W/H ratio of 640/360 = 1.77777778 = .... 16/9 ! Your message error is "very" clear : you have a picture with one dimension not "mod2" that means "not modulo 2" or if you prefer that can't be divided by 2 (even). Try this : AVISource("cap.avi",false,"YUY2") If it doesn't work, you will need to frameserve from vdub. |
Re: Problems converting 640x359 Divx file using CCE and Avis
Quote:
Racer99 |
No Racer, the error here isn't "illegal frame size" but "can't produce a YV12 picture if one of the dimension isn't even".
That is a requisite of YV12 color space : all sizes must be even ! |
AVISource("cap.avi",false,"YUY2")
It works. I don't even have to add the line swapuv() anymore. Thanks. |
Quote:
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.