Quantcast Problems Converting 640x359 Divx File Using CCE and Avisynth - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
09-08-2003, 12:54 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-08-2003, 01:15 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #3  
09-08-2003, 04:36 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
09-08-2003, 04:47 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #5  
09-08-2003, 05:24 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6  
09-08-2003, 05:55 PM
Racer99 Racer99 is offline
Free Member
 
Join Date: Sep 2002
Location: Massachusetts
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rs008f

gripCrop(720, 480, overscan=0,source_anamorphic=true,dest_anamorphic= true)
GripSize(resizer="BicubicResize")
The only time I've every had a problem with this error is when my GripCrop line was 720,480. Try changing it to 704,480. If you insist on using 720, then use the Bilinear resize lines and AddBorders genereated from Moviestacker.

Racer99
Reply With Quote
  #7  
09-08-2003, 06:04 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 !
Reply With Quote
  #8  
09-08-2003, 07:20 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
AVISource("cap.avi",false,"YUY2")
It works. I don't even have to add the line swapuv() anymore. Thanks.
Reply With Quote
  #9  
09-08-2003, 07:37 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rs008f
AVISource("cap.avi",false,"YUY2")
It works. I don't even have to add the line swapuv() anymore. Thanks.
Happy to read that.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Divx (avi) to KVCD? voyager13 Video Encoding and Conversion 4 04-26-2006 03:56 AM
Avisynth: Problems converting to PocketPC format jmjarvis Avisynth Scripting 1 05-30-2004 12:41 PM
Problems with converting from XVID to VCD HiTMaN Video Encoding and Conversion 4 07-12-2003 09:52 AM
Problems converting Xvid to VCD TheDJ Video Encoding and Conversion 6 05-20-2003 11:24 AM
BeSweet: Converting wav file from Divx black prince Audio Conversion 1 09-05-2002 08:05 PM




 
All times are GMT -5. The time now is 04:18 AM  —  vBulletin © Jelsoft Enterprises Ltd