digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Illegal Floating Decimal Point Calculation Order? (http://www.digitalfaq.com/archives/encode/1624-kvcd-illegal-floating.html)

Jellygoose 11-18-2002 10:08 AM

KVCD: Illegal Floating Decimal Point Calculation Order?
 
Hi all!

I'm trying to convert a High Quality DivX File (640x480) into KVCD (704x480)...

At 91% I always get the error "Illegal Floating Decimal Point Calculation Order"... and the encoding stops... any ideas??

Boulder 11-18-2002 12:33 PM

Do you use Avisynth and if so, what's your script?

Jellygoose 11-18-2002 01:15 PM

Yes I do use avisynth... here's the script...

LoadPlugin("E:\MPEG-Tools\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
AviSource("E:\von Stefan\Phenomenon - German CD-2.avi")
BicubicResize(656,528,0,0.6,2,0,636,480)
TemporalSmoother(2,2)
AddBorders(24,24,24,24)
#Trim(0,87576).FadeOut(150)
ConvertToRGB24 # For TMPGEnc or VFAPI
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
#== If you want this 'fix' permanently, edit the INI-file:
#== Under [AVSscript] set CCEcrashfix=1

Nothing wrong with that as I think... :(

Boulder 11-18-2002 02:35 PM

You could check out the frame where the error occurs with VirtualDub. Maybe there's something wrong with the source there.

Jellygoose 11-18-2002 04:53 PM

hmm I already checked... plays fluently in WMP and Virtual Dub... No errors at all...

Is there a possibility to leave that one frame out of encoding?
Some Avisynth function??

Jellygoose 11-18-2002 05:40 PM

:roll: Ok I found This :

FreezeFrame
FreezeFrame(clip, int first_frame, int last_frame, int source_frame)

The FreezeFrame filter replaces all the frames between first-frame and last-frame with a copy of source-frame. The sound track is not modified. This is useful for covering up glitches in a video in cases where you have a similar glitch-free frame available.


Sounds good to me, I tried it with this script... :

LoadPlugin("E:\MPEG-Tools\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
AviSource("E:\von Stefan\Phenomenon - German CD-2.avi")
BicubicResize(656,528,0,0.6,2,0,636,480)
TemporalSmoother(2,2)
AddBorders(24,24,24,24)
FreezeFrame("E:\von Stefan\Phenomenon - German CD-2.avi",79750,80000,79500)#Trim(0,87576).FadeOut(150)
ConvertToRGB24 # For TMPGEnc or VFAPI
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
#== If you want this 'fix' permanently, edit the INI-file:
#== Under [AVSscript] set CCEcrashfix=1

But I think I did something wrong... TMPGEnc gives me the error :

Invalid Arguments to function Freeze frame...

Jellygoose 11-18-2002 06:00 PM

Please help? What's wrong with the script??

Makes me feel :evil: :evil: :twisted: :roll: 8O :?: :?:

Boulder 11-19-2002 05:24 AM

Well, I don't know about FreezeFrame as I've never tried it. I would simply skip the defective frame (if it's just one frame where TMPGEnc crashes every time) with the Trim function.

Trim(0,90000) + Trim(90002,0) would skip frame number 90001.

bman 11-19-2002 11:11 AM

Quote:

Originally Posted by Boulder
Well, I don't know about FreezeFrame as I've never tried it. I would simply skip the defective frame (if it's just one frame where TMPGEnc crashes every time) with the Trim function.

Trim(0,90000) + Trim(90002,0) would skip frame number 90001.

What about an audio ?
It'll scip an audio too ????

bman

Boulder 11-19-2002 12:15 PM

Yep, that's what it does. I do lots of TV captures and end up clipping the commercials off with Trim.

Avisynth 2.06 supports compressed audio, this usually means MP3, so it'll skip that as well. AC3 audio is not supported but I think that the new forthcoming Avisynth 2.5 (currently in alpha stage) supports that too.

You'll get an error in VDub if Avisynth can't decompress the audio so you'll know if you can use Trim.


All times are GMT -5. The time now is 06:46 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.