Log in

View Full Version : 2 hour file only shows 10 secs in CCE


DMagic1
13th March 2004, 21:47
First let me say I searched but didnt find an answer. Could have been what I searched under.

When ever I add a avs file to CCE it will only show 240 frames and the duration is 00:00:10:00 . I'm using version 2.66 and EclCCE v1.7.

If I use a avi version of the file it shows the correct frames and duration.

Here is the script. I'm not use to using avisynth, I usually used VFAPI Converter in the past. Thanks for any help.

MPEG2Source("F:\movie\Reload.d2v")
Undot()
Asharp(2,4)
Levels(0,1.3,255,0,255)
GripCrop(720,480,overscan=1,source_anamorphic=true,dest_anamorphic=false)
GripSize(resizer="BiCubicResize")
deen("a3d",3,4,1,4) # light cleaning
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
converttoyuy2()

Lagoon
14th March 2004, 01:13
The 10-second video means there is an error in your script, play the .AVS file in a player like MPC, WMP or whatever and read the error it displays.

DMagic1
14th March 2004, 01:23
It says there is no function named "MPEG2Source"

Paced
14th March 2004, 06:56
Originally posted by DMagic1
It says there is no function named "MPEG2Source"

Have you loaded the "mpeg2dec3.dll" plugin into your AVISynth script?

If not, go here: http://www.avisynth.org/warpenterprises/ and download "Mpeg2dec3" for AVISynth 2.5. Extract it to somewhere you'll remember, and add this line to the top of your AVISynth script:

LoadPlugin("C:\xxx\xxx\xxx\mpeg2dec3.dll") [Fill in the 'xxx's :)]

This should fix your problem.

DMagic1
14th March 2004, 09:36
Yea, I came across that solutions after more searches. I still have more issues with this script though.:(

Its now giving the same error, but about Gripcrop.
I'm assuming it will complain about Gripsize next.

I know these are probably noob problems I'm having, but I don't have much experience with avisynth.

Paced
14th March 2004, 10:11
Originally posted by DMagic1
Yea, I came across that solutions after more searches. I still have more issues with this script though.:(

Its now giving the same error, but about Gripcrop.
I'm assuming it will complain about Gripsize next.

I know these are probably noob problems I'm having, but I don't have much experience with avisynth.

You'll need another plugin for GripCrop/Size (by SansGrip), I'm not sure where it can be found though (SansGrip's page is down at the moment - unless he's moved somewhere else). If you have trouble finding it, send me a PM with your e-mail address, and I'll forward it to you.

IHATETYAN
16th March 2004, 06:33
I'm having similar problems except that my source is an AVI (XVID) going to DVD. here is my script:

avisource("C:\Tears.avi")
BicubicResize(720,272)
ConvertToYUY2()
AddBorders(0,104,0,104)
ResampleAudio(44100)


I can finally get CCE to even open the file. Apparently it doesnt like lengthy file names and kept giving me resolution error. But now this VEEERY simple script will only encode 240 frames and then stop

I am running on a dual AMD 2400+
CCESP V.2.67
AVI Synth 2.5

The source video is in the right place. When I open the .avs file in Vdub it returns the error: ACM Failed to suggest a compatible PCM format. it then gives the path of the .avs file, Line1

I have spent 3 hours to day alone on this and I'm stumped???

Paced
16th March 2004, 09:53
@IHATEYAN

Your "Tears.avi" is encoded with AC3 audio, this is what's giving you that 'ACM' error. In order to fix this, go to:

http://fcchandler.home.comcast.net/AC3ACM/index.html

and download/extract/install AC3ACM.zip (v0.7)

VirtualDub will now open the file - but CCE probably still won't. In order to get CCE to open the script properly, you'll need to feed only the video to CCE; you can do this by changing this line in your script:

avisource("C:\Tears.avi")

to

AVISource("C:\Tears.avi", false)

You then let CCE do the conversion. Now, for your audio, you'll need to extract it in VirtualDub (Full Processing Mode -> uncompressed PCM -> Save as Wav). Then use a program such as TMPGEnc/MainConcept/HeadAC3he to convert this new .wav file into whatever format you require for your final output. Finally, remux the video + audio streams together (I use BBMPEG for VCDs/SVCDs) - if you're doing DVD video, you shouldn't need to remux the two streams, since most (DVD authoring) programs these days will remux the streams for you.

Amnon82
16th March 2004, 21:54
If You want to keep the AC3-file use VirtualDubMod for demuxing it.

Open the AVI.
Go to 'Streams\Streamlist'.
Choose the AC3Stream and hit 'Demux'.
Close this window.
Go to 'Video'.
Select 'Direct StreamCopy'
Hit 'F7'.
Save a new AVI.
So You have a AVI without Audiostream and the AC3Stream in two files.

IHATETYAN
18th March 2004, 02:53
well got all the script changes done and downloaded the ACM file. I extracted the audio with Virtualdubmod. However I'm having serious sync issues so I'm guessing that the AC-3 is damaged. But theAudio and Video have the same runtime. I tried runing the file through BeSlice but the resulting file was 30 seconds shotrer thatn the video runtime so I figured that would be really out of sync also. Do you think extracted the AC-3 to a Wave in Vdub and the re-encoding the AC-3 with sonic foundry would help? Well I'm about to find out i guess..

Thanks for helping me to sort out the video issues

edit: I extraced the AC-3 to a 5.1 Wav. Is there a way to take this file a reconvert it back to AC-3 I tried BeSweet but teh resulting file was shorter than the original. and Sonic Foundry will only take a PCM WAV

Buggle
7th April 2004, 11:45
I realize this threat is becoming rather old, but I experienced thesame, and found out the following fixes at least the video part:

avisource("E:\Movies\Flames.avi",audio=false)

this way CCE won't bother about the audio, and you don't have to install any unneccesary codecs.