![]() |
Done
I actually managed to get this done.
Changed gripgrop, removed that and added bilinear value and borders and it worked, it is encoding the movie. Before that though it gave an error unable to load plugin line 50. Started encoding the movie at 480x480 cq 90 frame rate 29.97. Have chosen 2 cd's of 800mb each in Tok. IS there something still wrong or it will work. IS Tok an automated process that if it starts i can leave it running and forget about it. |
Prediction
The avs file plays for 10 secs , was readin thru tok's forums and updated the sampler-25.dll file.
Now again it says resolution illegal. The error it gave on line 49, checked the avs created AssumeFPS(29.970) LoadPlugin("") oldfps = framerate interval = round((FrameCount/30)/59.940)/10 nFrames = round(30) SelectRangeEvery( (round(framecount/interval)),nFrames) Where am i going wrong. I removed the line LoadPlugin"" it played the file which was a 18 sec clip. |
Script
This plays well on the media player but on loading to tok again is giving illegal resolution error. Posting both the scripts here,tomo hopefully i can proceed.
the script used ## DLL Section ## # # #### ## Main section and static filters ### # Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v") # undot() Limiter() asharp(1, 4) BilinearResize(448, 446, 0, 1, 720, 478) AddBorders(16, 17, 16, 17) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) # # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) # This will apply variable temporalsoften # and variable blur. # Both filters are active at all times, and work inversely proportional to the # activity, measured from current frame to next frame. ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### Script tok makes ## DLL Section ## # # #### ## Main section and static filters ### # Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v") # undot() Limiter() asharp(1, 4) BilinearResize(448, 446, 0, 1, 720, 478) AddBorders(16, 17, 16, 17) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) # # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) # This will apply variable temporalsoften # and variable blur. # Both filters are active at all times, and work inversely proportional to the # activity, measured from current frame to next frame. ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### AssumeFPS(29.970) LoadPlugin("") oldfps = framerate interval = round((FrameCount/30)/59.940)/10 nFrames = round(30) SelectRangeEvery( (round(framecount/interval)),nFrames) |
Script
Sleep always works.
No more errors with resolution, was some dll file error. Now the movie playes perfectecly in media player. When loaded with Tok, still getting the error for Load PLugin"" created in the avs by Tok. I have downloaded most of the filters i could , so all are now proper acc to the version of avisynth. In file prediction it plays the file with 300 frames and always sets cq at 90 and instead of the movie , the red errors lines in picture. The test m1v file is 1.16mb only. Thanks everyone for thier help, especially dialhot. |
Re: Script
Quote:
Quote:
Man we are not in front of your monitor nor behind your eyes. |
Getting invalid floating point error suddenly.
Nochanges to the script made . Before this i was getting error Cannot load plugin. script line 49 line 49 read LoadPlugin"" Making the d2v and mp2 file again. |
Done
M Asking too many ?'s . Should keep working and when i give up then i shall ask now.
Got it done , its doing the prediction as we speak and no errors. Trial n error is da best. Removed the avisynth dll files from system32 and reinstalled avisynth 2.5. Did the trick. Cheers! |
Resolution
How can we fix the resolution.
In gripgorp values if i have given 720,480 it is encoding in 720,464 480,480 it is encoding in 480,356 352,480 it is encoding in 352,276. |
working with bilinear
used the bilinear script , with that encoding in 480,480.
|
Muxing
Video encoded bt Tok not muxing, it opens bbmpeg and stops.
Tried muxing with bbmpeg, it stops after 54%, that i guess is due to size cos i checked the file it was 3.99gb . HEre is the log of Tok Audio Size: 172,480,256 Required Video Size: 1,451,260,547 Factor: 59.940 Desired Sample Size: 24,211,890 ------------------------------------------------------------- New Faster Prediction ------------------------------------------------------------- Full Sample Next CQ: 70.000. Sample Size: 34,177,094 Small Sample Next CQ: 70.000. Sample Size: 3,430,660 Predicting... Next CQ: 49.590. Sample Size: 22,405,919 Next CQ: 56.258. Sample Size: 25,686,717 Next CQ: 53.092. Sample Size: 24,770,668 Next CQ: 51.803. Sample Size: 24,692,574 Next CQ: 51.017. Sample Size: 24,045,018 Exit Condition: 1.000 % reached ! yahoo ! Tries : 6 Final CQ: 51.017 Total Time For Predicition: 01:51:53 ------------------------------------------------------------- Encoding D:\Encoded\Namak Halal\bilinear_backup.avs ------------------------------------------------------------- Encoding... CQ : 51.017 Final Encoded Size: 1,418,581,458 Muxing ... Total Time (all operations): 10:44:45 Finished So i tried Multiplexing with Tmpgenc but it says illegal audio stream for mpeg. |
Cq
Was just trying out to check the quality if i try and fit in 1 cd.
Takes cq value 17 and image is blurry, anything i can add in the script to increase the quality.Its 168 mins and soung is 164mb.Resolution set at 352x288,mpeg-1. Still trying to mux the other movie i encoded in 2cd's. |
One day some will understand that the chance are poor to obtain answer when they post 5 message in a row.
DFor your last problem : under CQ=60 a video is barely watchable. I am very suprised about the CQ you have ! Can you please fill this form and post the answers : http://www.kvcd.net/forum/viewtopic.php?t=8753 (do a new toppic for that, it will be easier to answer to your problem). |
@All
This new updated guide has many features. Please let me know what you think and if any corrections needed. :) -BP |
Thanks BP ;)
-kwag |
where do I download the Hvorbis.dll/Ac3enc.dll/linfacc.dll? I've looked at Dark Avenger's site and I couldn't find anything.
|
|
I think this guide is for one audio stream... I notice in cqmatic when I calulate the average bitrate, the number when there is 2 audio streams is 150. If I remove one it becomes 300 something... my dvd is 3 hours long. If I only use the one audio stream setting to make the calculation, will there be enough space to add back on the second audio? Or am I better off using file prediction for this project?
|
So you will never end with silly questions ?
If you predict for 1 audio stream, don't be suprised to not have the place to fit the second one in the end ! It can be (because audio streams are generally small compared to the video filesize) but of course, predict for two audio stream is better ! |
OK, here's a newbie question. I'm at the step when you load up TMPGenc for the first time. The step says to go video source>load .avs file here
Now, when I navigate to my avs file (movie.avs) and click ok, the program says that the file can not open or is unsupported. I'm a bit lost. Any help? |
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.