View Full Version : avi-file won't load in CCE
mumdigaueln
31st October 2005, 10:23
Hello,
I try to encode an avi-file with a resolution of 512x340 as reported by GSpot. When I load the avs-script (which just contains the AviSource and ConvertToYUY2 line) to CCE SP (version 2.70.02.00) I get the following errror message:
"Frame size 748x128 is not supported. Supported frame size is up to 720x576."
Second problem is that the video's frame rate is 23.976 fps which can't directly be authored by DVDMaestro. I do not want to change the frame rate. Is there a trick (in Avisynth or CCE) that DVDMaestro will accept this video?
Many thanks for any help
mumdigaueln
Wilbert
31st October 2005, 10:38
Please post your script. Does it open in VDub?
mumdigaueln
31st October 2005, 11:32
@Wilbert
This is my script:
loadplugin("E:\Programs\AviSynth\plugins\FFT3DFilter\fft3dfilter.dll")
AviSource("F:\Video\Movie7.avi")
# Deblocking on the source (the threshold is set very high so it will
# only do deblocking if it's really needed)
BlindPP(quant=8, cpu2="xxxxxx", moderate_h=45, moderate_v=55)
Crop(7,0,500,340)
# Optional: Denoise
FFT3DFilter(sigma=2.5,sharpen=0)
# Sharpen (default strength = 100, stronger: 150)
limitedsharpen(ss_x=2.0,ss_y=2.0,strength=100)
BicubicResize(672,416,1/3,1/3,0,0,500,340)
AddBorders(24,32,24,32)
ConvertToYUY2()
But as I told you, I disabled all lines except AviSource and ConvertToYUY2.
I followed your advice and tried to load the script in VirtualDubMod (version 1.5.10.2). I got the following error message:
Avisynth open failure:
Error initializing audio stream decompression:
The requested compression is not possible.
Check to make shure you have the required codec (Microsoft Audio Codec).
This is strange, because GSpot shows as audio codec '0x0161(MSAUDIO2/DIVX, Microsoft Corporation)', and as status 'Codec(s) are installed'.
mumdigaueln
Leak
31st October 2005, 17:16
This is strange, because GSpot shows as audio codec '0x0161(MSAUDIO2/DIVX, Microsoft Corporation)', and as status 'Codec(s) are installed'.
Unless I'm totally wrong, GSpot will show if there's a DirectShow filter available to decode the audio. AviSource needs an ACM (basically the audio part of windows that precedes DirectShow, a la VfW) codec, though.
Try using DirectShowSource on the file...
np: Cage - Perfect World (Hell's Winter)
mumdigaueln
31st October 2005, 18:58
Try using DirectShowSource on the file...
This seems to go in the right direction. I replaced the AviSource line by
DirectShowSource("F:\Video\Movie7.avi", 23.974)
The video now is loaded into CCE, but shows up with wrong frame rate 29.97. Does this is somehow related to the fact that GSpot reports a frame rate of 23.974 and not 23.976 as I would have exspected?
mumdigaueln
mumdigaueln
1st November 2005, 21:52
@Wilbert
I believe to remember that there has been a thread you have been involved in which dealt with a DirectShowSource patch to handle frame rate conversions. I can't find the thread, but do you believe that might help in my situation?
mumdigaueln
Wilbert
1st November 2005, 23:27
I guess CCE always does a telecine on a 23.976 source (that's ok, since DVD should be 29.97 fps). I got that impression by reading the CCE guides on this site, but i never use it, so i'm not totally sure.
As for your script, use
DirectShowSource("F:\Video\Movie7.avi", fps=23.976, convert=true)
as it keeps sync.
mumdigaueln
2nd November 2005, 00:23
I guess CCE always does a telecine on a 23.976 source (that's ok, since DVD should be 29.97 fps). I got that impression by reading the CCE guides on this site, but i never use it, so i'm not totally sure.
As for your script, use
DirectShowSource("F:\Video\Movie7.avi", fps=23.976, convert=true)
as it keeps sync.
Thanks for your reply. CCE is running a large encoding job right now, so I can't test immediately. So two questions in advance:
1. The video has fps 23.974, not 23.976 (which sums up to a difference of 2 seconds for the whole movie): Which one should I use in DirectShowSource?
2. Under Encoder settings, I guess frame rate should be set to 23.976. What about pulldown: 2:3 oder 3.2?
With correct settings, will the video be recognized as 29.97 by DVDMaestro, but played at 23.976 by the DVD-player?
Many thanks for your help.
mumdigaueln
mumdigaueln
3rd November 2005, 01:58
As for your script, use
DirectShowSource("F:\Video\Movie7.avi", fps=23.976, convert=true)
as it keeps sync.
Tried to test your recommandation. I updated to Avisynth 2.5.6a, but 'convert' was not accepted. AFAIK, the filter patch should have been integrated into 2.5.6. If I'm wrong, does anyone has a download link?
Best regards
mumdigaueln
EDIT: It works if one replaces 'convert' by 'convertfps'.
IanB
3rd November 2005, 06:45
For completeness on the original problem"Frame size 748x128 is not supported. Supported frame size is up to 720x576."Was caused because the script had a reportable problem. CCE does not support extended error reporting so to report the error AviSynth renders a short clip with the error text painted in. These clips are generally quite wide and not very high (The text wrapping algorithm used is a bit weak).
mumdigaueln
3rd November 2005, 09:41
For completeness on the original problemWas caused because the script had a reportable problem. CCE does not support extended error reporting so to report the error AviSynth renders a short clip with the error text painted in. These clips are generally quite wide and not very high (The text wrapping algorithm used is a bit weak).
Is there a way to get this error report written to a log file instead?
mumdigaueln
IanB
3rd November 2005, 09:59
Bit of a catch 22 there. Being a COM object frameserver avisynth has no UI and can't afford to assume anything outside that. We can't even add a verb to spec an output log file, if the script won't parse how does the verb get executed.
The best solution is to load troublesome scripts into something that handles extended error processing like VirtualDub and get the error report directly.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.