Hi,
I'm trying to convert some music videos (in vob format) recorded in my standalone dvd Recorder (TV source is analog) to Divx format to play them on a portable video player.
I've tried Dr Divx which gives good results but the crop/resize/deinterlaced included in the codec are hell damn slow.
So I'm trying with VirtualDub filters which is a lot faster (about 5 times the Dr Divx).
Now, I'm trying to do the same with avisynth script to expect a little speed improvement.
Here is my avisynth script:
This script runs quite well, but I'd just wanted some advices about this script. Do I use good plugins or in good order in my script to achieve best quality ?Code:video=Mpeg2Source("c:\divx\nolwen.d2v") audio=Wavsource("c:\divx\nolwen T01 2_0ch 256Kbps 48KHz.wav") audiodub(video,audio) LeakKernelDeint(order=1,threshold=10,sharp=true,forcecpu=2) Crop(18,80,-8,-84) #new resolution 694x412 LanczosResize(384,172)
I create my d2v with DGIndex with the following settings:
->Video->IDCT Algorihtm->32 Bit MMX
->Video->YUV->RGV -> TV SCale
And for the Divx Codec (6.4.0) I use these settings:
Certification Profile: Portable
Bitrate: 800 Kbps 1 pass
Encode Mode: Balanced
Bidirectional: Disabled
Keyframes: 150
Threshold: 50 %
Noise reduction: disabled
Quantification: H263
Progressive source
Improvements: Disabled
Is it good to have a decent quality without too much macroblocks (especially in dark uniform parts of the video) ???
+ Reply to Thread
Results 1 to 14 of 14
-
-
Constant bitrate encoding will not get you the best quality. Use 2-pass variable bitrate (will take twice as long to convert), or single pass quality mode (you get the quality you ask for but you don't know the final file size).
-
Each pass has the same speed or the analysis pass is much faster than the encoding one ?
-
Ok, With Divx 6.4.0 I noticed they have added a new option: Fist Pass (Fast)
Which takes about 10 minutes to process a 3 min 40 s video. And the second pass runs at normal speed so this new way seems ok for me.
But now, I have another video which I can't get rid of Macroblocks even with a 2 pass. This videos use a lot of flashes, water effects and pyrotechnics.
It's final resolution is 384*164.
Here is some screens of the video:
What filters/presses can I add to try to reduced these blocks a max as I can ?
Thanks -
Some of those macroblocks may be in your MPEG source. Given the size of the sample images I'm guessing they are from the MPEG file, not the shrunken Divx file.
You can use MSU's Deblocking or Smart Deblocking filters in VirtualDub to remove macroblocks in your source. -
You also have to remember that those images are double what you have endoded them to. If you are already in avisynth, try blockbuster, just to save you going out to virtualdub, or having to change colourspace to use the MSU filters in avisynth.
Read my blog here.
-
Thanks,
I found a great filter ( Deblock() )provided with dgdecode.dll for avisynth. It does a very great job for the video.
One last question: I have another video capped from a vhs but the are some analog noise (poor tv quality at home).
When I do a 2 pass encode, do I need to enable the denoise in divx for the first pass ???? -
Originally Posted by cd090580
-
Originally Posted by guns1inger
Similar Threads
-
New AVISynth UI
By tin2tin in forum Latest Video NewsReplies: 23Last Post: 19th Jan 2012, 01:53 -
Mkv 2 Divx 6.0 with hardcoded subs through Avisynth and FFMpeg
By a6point6 in forum Video ConversionReplies: 3Last Post: 31st May 2010, 06:40 -
avisynth
By sportflyer in forum Newbie / General discussionsReplies: 1Last Post: 16th Feb 2010, 04:36 -
AVIsynth help!
By helper in forum Newbie / General discussionsReplies: 11Last Post: 15th Oct 2008, 03:35 -
Avisynth 3.0
By nbi in forum LinuxReplies: 1Last Post: 30th Oct 2007, 16:50