iamsparticuz
8th May 2002, 23:16
Im using the divx 5.0 codec and im trying to encode Snl's 25th anniversary(DVD). Its interlaced NTSC 4:3 29.970 fps. I didn't enable force film. Im encodeing it @ 2cd's with .28 pixels per frame and fast deinterlacing.
When trying to encode in virtual dub i get the error..
"Unable to start video compression error: bad format (-2)"
I got the same error yesterday with both divxenc and virtual dub but after trying out a different version of divxenc it started to encode. I then went back to virtualdub to see if it worked and it did. The movie ended up encoding but it sorted messed up towards the end where there were no more keyframes within the last hour. Im trying to re-encode it again and now im getting the error. Ive never gotten it before. No matter what the bitrate mode i get the error, which leads me to believe its a problem with the avs.
Here it is
---------------------------------
#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("D:\DVDSHI~1\GORDIA~1\mpeg2dec.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#
# SOURCE
mpeg2source("D:\Divx\Divx in Progress\SNL 25th Anniversary.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#InverseTelecine(40,10,15)
# or use
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(6,4,708,470)
#
# DEINTERLACING
#SmartDeinterlace(2,15,true,true,true)
# or use
VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(416,304,0,0.5)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
------------------------------------
Another question that i have is that since the dvd is just the footage from the 25th anniversary, the picture takes up the whole screen and there are no black bars(i forget the term). Do you have to use a filter in vdub in order for it to be widescreened or is there some other way to do it?
I just tried it using full processing mode and i got an "invalid log file" error, which makes no sense because it was 1st pass and there was no previous log file. About a minute ago i tried version 1.01 of "comptest" and it started encoding.
Anyone know why this is?
UPDATE: I woke up the next morning and virtual dub had some error.
When trying to encode in virtual dub i get the error..
"Unable to start video compression error: bad format (-2)"
I got the same error yesterday with both divxenc and virtual dub but after trying out a different version of divxenc it started to encode. I then went back to virtualdub to see if it worked and it did. The movie ended up encoding but it sorted messed up towards the end where there were no more keyframes within the last hour. Im trying to re-encode it again and now im getting the error. Ive never gotten it before. No matter what the bitrate mode i get the error, which leads me to believe its a problem with the avs.
Here it is
---------------------------------
#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("D:\DVDSHI~1\GORDIA~1\mpeg2dec.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("D:\DVDSHI~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#
# SOURCE
mpeg2source("D:\Divx\Divx in Progress\SNL 25th Anniversary.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#InverseTelecine(40,10,15)
# or use
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(6,4,708,470)
#
# DEINTERLACING
#SmartDeinterlace(2,15,true,true,true)
# or use
VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(416,304,0,0.5)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
------------------------------------
Another question that i have is that since the dvd is just the footage from the 25th anniversary, the picture takes up the whole screen and there are no black bars(i forget the term). Do you have to use a filter in vdub in order for it to be widescreened or is there some other way to do it?
I just tried it using full processing mode and i got an "invalid log file" error, which makes no sense because it was 1st pass and there was no previous log file. About a minute ago i tried version 1.01 of "comptest" and it started encoding.
Anyone know why this is?
UPDATE: I woke up the next morning and virtual dub had some error.