Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th April 2006, 20:01   #1  |  Link
jriker1
Registered User
 
Join Date: Dec 2003
Posts: 485
Imagereader and odd video size

I have a 320x240 video. I converted it with imagewriter to individual frames. Frames show they are still 32x240 individual tiff files. Did some work and then used imagereader in AVISynth to convert the individual frames back to AVI format. Did so running the AVS file through DIVX Converter and CCE with no resizing at max settings. The output I get is 288x224. Anyone know what's up here?

avs file is simple (tried both below):
#imagereader("i:\\t\\t\\%06d_filtered.tif", 0, 45433,29.97)
ImageSource("i:\t\t\%06d_filtered.tif", 0, 45433, 29.97)

Thanks.

JR
jriker1 is offline   Reply With Quote
Old 16th April 2006, 20:18   #2  |  Link
Richard Berg
developer wannabe
 
Richard Berg's Avatar
 
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
ImageReader takes its size from the first image in the series. Make sure it's really the right size. What does Info() say?
Richard Berg is offline   Reply With Quote
Old 17th April 2006, 22:18   #3  |  Link
jriker1
Registered User
 
Join Date: Dec 2003
Posts: 485
Well that's odd. If I change the script to the following:

#imagereader("i:\\t\\t\\%06d_filtered.tif", 0, 45433,29.97).Crop(4,2,316,238)
imagereader("i:\\t\\t\\%06d_filtered.tif", 0, 45433,29.97).Info
#ImageSource("i:\t\t\%06d_filtered.tif", 0, 45433, 29.97).Crop(4,2,-0,-0)

CCE comes back and sees it as 320x240. Wasn't working before however now it seems to return the right dimensions even without the info() in there. Other issue is if I have either of the crop settings above on there it goes back to 304x288 in CCE. Not sure where it's getting that dimension from.

Last edited by jriker1; 18th April 2006 at 00:12.
jriker1 is offline   Reply With Quote
Old 18th April 2006, 00:48   #4  |  Link
Richard Berg
developer wannabe
 
Richard Berg's Avatar
 
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
CCE probably has some restrictions on its image format, e.g. mod16. Use VDub or WMP to debug Avisynth.
Richard Berg is offline   Reply With Quote
Old 18th April 2006, 01:21   #5  |  Link
jriker1
Registered User
 
Join Date: Dec 2003
Posts: 485
If I open the script in WMP it looks good and the properties show 316x238 which is exactly what I would expect it to be after cropping. CCE still returns 304x288 for the video size. I'm beginning to expect it's a size defined based on an error condition however it's opening fine in WMP.
jriker1 is offline   Reply With Quote
Old 18th April 2006, 02:16   #6  |  Link
jriker1
Registered User
 
Join Date: Dec 2003
Posts: 485
I believe this to be a bug in CCE. If I open the script in CCE and uncheck DVD complaince, it sets the video to 304x288. If I check and uncheck the resize button, it resets to 316x238 which is the correct measurement.
jriker1 is offline   Reply With Quote
Old 19th April 2006, 01:59   #7  |  Link
jriker1
Registered User
 
Join Date: Dec 2003
Posts: 485
Still no dice. Even after CCE properly identified the video size, it still came back at 304x228. Even more wierdness. With info on top of the crop it shows the video size of 316 x 240 however everything else says the video and image is 304 x 228. I am also getting some wrapping of the left side of the video on the right. Will upload a sample when I can. This site is running slow and keeps timing out.

Last edited by jriker1; 19th April 2006 at 02:56.
jriker1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.