Quantcast KVCD: Loads in TOK, but TMPGEncnc Isn't Running at All? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
07-24-2003, 06:13 AM
HeyJoe HeyJoe is offline
Free Member
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hello all

Just wanted to say that this site and the info you share is outstanding,

I have been reading here for a few weeks or so and have tried many time to convert a video file to fit on 1 disc, I have read just about every guide that I could find here,

Here is where I am at now

I have a 768 mb .avi file(Divx)

I have Tmpgenc v2.59, headac3he, virtualdub, moviestacker v2.0.0(beta 3) avisynth 2.5, tok with the extras

ok, I have followed all the guides and I am still having problems with the encoding, I worked on this most of last week and I had to stop for a few days to get my head right again, so I started again last night and now I just can't get it to go right, I hate to ask questions in any forum especially when I am stuck on something,

I decided that last night I would load the divx avi in vdub and do a full process on the audio and save as wav. now I go to headac3he and make all the settings for destination format is m2 channel mode is dual,

now I go to moviestacker and I get the message avisynth 2.5 is dectected and I ignore it, I load my file and make the change in the guide http://www.angelfire.com/film/rendal...mallguide.html

I now go to my avisynth script, now this is were I think I am having the most problems, I have went off Kwags script and I seen were other people are usng a similiar script:

here is my script

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
AviSource("C:\movies\movie.avi")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften(4, round(1/nf) , round(3/nf) ,0, 2) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

I have set my folders up to look like Kwags script, with the proper filters, I was getting red writing in the test video with my last script I had , evalution division by zero, now it seems with this script the I get it to load in tok but it won't doing anything else, tmpgnc isn't running at all, and I do have my settings all in the right locations,

I know that I seen this script was MPEG2Source("D:blah blah and I seen form another person they switched it with the AviSource("C:blah.avi")

is this a problem?

I have also used the avisynth 2.08
with Kwags 2.08 script with no luck, I even went to the load a KVCD templete and try to encode and it didn't work either,

Am I way off?

Thanks

HeyJoe!!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-24-2003, 06:24 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi HeyJoe,

Two things:
(1) Get TMPEG 2.58, or another version ABOVE 2.59, because 2.59 has bugs on MPEG-1.
(2) Change your line:
AviSource("C:\movies\movie.avi")
to read:
AviSource("C:\movies\movie.avi", false)

That should fix your problem.

-kwag
Reply With Quote
  #3  
07-24-2003, 06:53 AM
HeyJoe HeyJoe is offline
Free Member
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I will give it a shot right now, Thank you very much for the help

I will report back

HeyJoe!!
__________________
I did not have sexual relations with that woman, Miss Lewinsky.- Bill Clinton
Reply With Quote
  #4  
07-24-2003, 04:19 PM
HeyJoe HeyJoe is offline
Free Member
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag

I got TMPGEnc 2.58 as you suggested, after looking more about tmpgenc I see were the 2.59 did have alot of bugs,

Well after going through all the software trying to find any errors I had in my setups, I think I narrowed it down to the readavs plug in, I am now converting the file as I type and have about 4 hours left. so I will know if it worked,

got a question, now that I have my script, that does take place of the kvcd templates, the script is just a form of the kvcd template?

Well let you know sometime tonight if it worked, just looked out the window and looks as a storm is on its way, hope I don't get a power outage

Thanks again

HeyJoe!!
__________________
I did not have sexual relations with that woman, Miss Lewinsky.- Bill Clinton
Reply With Quote
  #5  
07-24-2003, 05:33 PM
HeyJoe HeyJoe is offline
Free Member
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Got another question

right now I am at the part in tmpgenc were it takes 5 plus hours, now with only 10% of this part done my video file is already 114mb, by the time it gets done won't this file be to big to put on a cdr? or does it still compress more after this is done? sorry 1st timer here.

my original avi is 2:07 run time and 679MB big

Just asking would hate to encode for upteen hours and still not what were try to accomplish

Thanks again

HeyJoe!!
__________________
I did not have sexual relations with that woman, Miss Lewinsky.- Bill Clinton
Reply With Quote
  #6  
07-24-2003, 06:21 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You can stop your encode

Did you see all the threads about "File size prediction" (there is a forum for this here).

You have to use tools such as Tok or CQMatic in order to find the correct CQ to use for an encoded movie that fit on your CD.
Reply With Quote
  #7  
07-25-2003, 03:29 AM
HeyJoe HeyJoe is offline
Free Member
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I stop it as soon as I wrote the question, I know it was way off, I have followed the guide divx to kvcd and I didn't really see understand how to check the CQ, I have been looking through the forum to see how to use TOK to find the CQ, now do I load the script I posted above in moviestacker and make the .avs then open TOK and go to prediction? I am lost on that one,

Now as for CQmatic, nice guide on it but only about DVD rips, I use alot of .avi's, and don't see how to use it with them,


believe it or not I have been trying to do all of this on my own with all the reading for here to get me started and now I have found myself needing some direction.

I don't know even what I am suppose to do with CQ right now, I have worked on this all day and my eyes hurt, so I am taking a break until tomorrow afternoon and hope to get a fresh start on it with some guidance,

Pretty bad when you try to lay down in bed and all you can think about is what did I not do and how to I make it work, then you get up at 4 am because you can't sleep and try it again... I am a type of person that won't give up and must figure out how things work.....

so right now I have the script I need but I do believe all is left is for me to figure out the CQ,

Any help would be great

HeyJoe!!

-running on caffeine and sugar
__________________
I did not have sexual relations with that woman, Miss Lewinsky.- Bill Clinton
Reply With Quote
  #8  
07-25-2003, 04:34 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
How can you check the video size while TMPGEnc is encoding Would be good to know.
__________________
AudioSlave
Reply With Quote
  #9  
07-25-2003, 06:04 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@HeyJoe,

CQMatic will handle Divx (avi) if Tmpgenc can play it as input. After
you've rested try CQMatic. It's very accurate in predicting video
filesize. You can have CQMatic do "Full Encode" and it will
complete the video file automatically Use MovieStacker
first to determine movie time and average bitrate. I also use
VCDhelp's bitrate calculator to compare numbers

-bp
Reply With Quote
  #10  
07-25-2003, 06:32 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audioslave
How can you check the video size while TMPGEnc is encoding Would be good to know.
Simple : when TMPGEnc is at 10% of the encoding and your video file is already 150 Mb, you can surely say "the entire movie won't fit on a CD', and stop the work )
Reply With Quote
  #11  
07-25-2003, 06:59 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by audioslave
How can you check the video size while TMPGEnc is encoding Would be good to know.
Simple : when TMPGEnc is at 10% of the encoding and your video file is already 150 Mb, you can surely say "the entire movie won't fit on a CD', and stop the work )
only removing doubts Phil:
if the remainder parts of the movie have more action
than the first parts the encoder still encoding in this proportional way?
the bitrate between min and max values don't change
the value to use what the scene that is encoded need?

hey,don't know if i was clear in my questions?!?!?
Reply With Quote
  #12  
07-25-2003, 07:06 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
When I'm encoding the movie with TMPGEnc I can't see the size of the temporary file... If I stop the encode I can see file size, but then it's not much use.
__________________
AudioSlave
Reply With Quote
  #13  
07-25-2003, 07:19 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
@jorel

The method isn't 100% accurate of course, but if at 10% of the time you already have a MPEG that does 20% of the wanted size, chances are very very poor to have success a the end.

@audioslave
You mean that during all the encodind, the size of the file stay to 0 and doesn't grow up continuously ? Hum... go to winXP my pal !
Reply With Quote
  #14  
07-25-2003, 07:32 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ Phil,
thanks, clear as always.
very logical answer!


@audioslave
where are your "tempemporary file" folder for tmpgenc?
try to see the size in the temp folder that you choose!
Reply With Quote
  #15  
07-25-2003, 09:31 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
Isn't there a way of seeing the file size in Win98 during encoding
__________________
AudioSlave
Reply With Quote
  #16  
07-25-2003, 12:52 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audioslave
@Dialhot
Isn't there a way of seeing the file size in Win98 during encoding
No, it isn't.
Reply With Quote
  #17  
07-25-2003, 11:44 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ audioslave..

Quote:
@Dialhot
Isn't there a way of seeing the file size in Win98 during encoding
I hear you !!

I too, have windows 98, and for a while I couldn't figure out what the heck
Kwag was talking about, when he said (in so many words) "..and if
you see you file size %10 @ 150MB.." yada, yada..,
In short, I realized he was not using windows 98. I think that only w2k
and xp can do this, do the the OS variation and so forth. Anyways..

If you are a programmer (didn't say guru) you could benefit with this same
idea. IF you calc your ( "total HD space" - your "hd free or left" ) and inlc
a timer. Then, you could run the app while test encoding faze, and get a
very close, if not accurate readout!!

I hope you can program. You should be able to do it quickly, in:
* Delphi
* VB
* C++
* anything that compiles to a final .exe (and incorporates a timer control)

So, please try it out. Should work!! Realy !!

That's about it !!
-vhelp
Reply With Quote
  #18  
07-25-2003, 11:54 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Hay BP..

Can you give me an example of HOW TO use vcdhelp's Java Bitrate, using
an example of your own doing ??

I ask, cause I'm in the middle of developing my own (ben reading up around
here and other websites on this tool. I got something (22k in size, so far)
and I like it, but I have a couple of questions on one calc forumla (works,
but i need to understand it) Anyways..

I D/L'ed vcdhelps, to use offline, but I'm having problems understanding its
user input requirements.

OH, and I'd like to see how my calc's number add up, in comparison to
vcdhelp's.

I would love your (or any) input on this, thanks a bunch,
-vhelp

EDIT: - - snapshot pic image of my homebrew app, comming..
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: is the bitrate actually running at 1800kbs? Fistandantilus Video Encoding and Conversion 3 09-12-2003 03:39 AM
KVCD: Why am I Running out of memory? Bilal Video Encoding and Conversion 1 06-13-2003 12:16 AM
KVCD: ToK loads tmpgenc 4 times? pixeldotz Video Encoding and Conversion 4 05-16-2003 10:08 AM
KVCD.Net New Portal is up and running! kwag Off-topic Lounge 0 03-11-2003 02:19 AM
KVCD: Number of p picture in GOP loads as 5823 f_cleta Video Encoding and Conversion 2 07-12-2002 10:21 PM




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