VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. 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:
    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)
    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 ?

    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) ???
    Quote Quote  
  2. 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).
    Quote Quote  
  3. Each pass has the same speed or the analysis pass is much faster than the encoding one ?
    Quote Quote  
  4. Each pass takes about the same amount of time.
    Quote Quote  
  5. 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
    Quote Quote  
  6. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    None. These have come from the Divx encoding after avisynth has passed the video to Divx. You need to use a higher bitrate when encoding to reduce these.
    Read my blog here.
    Quote Quote  
  7. 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.
    Quote Quote  
  8. Ok I will Try these filters. Macroblock are probably in the source files (I can't see them while playing in PowerDVD). And here the jpeg compression for the screen probably increase them a lot.
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.
    Quote Quote  
  10. 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 ????
    Quote Quote  
  11. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    If you have an avisynth script, try peachsmoother for noise removal. Does wonders on VHS material.
    Read my blog here.
    Quote Quote  
  12. Originally Posted by cd090580
    When I do a 2 pass encode, do I need to enable the denoise in divx for the first pass ????
    Settings that effect the picture should be the same for both passes. It's up to you to decide whether the filter helps or hurts your video. Keep in mind that removing noise will also remove small details.
    Quote Quote  
  13. Originally Posted by guns1inger
    If you have an avisynth script, try peachsmoother for noise removal. Does wonders on VHS material.
    PeachSmoother doesn't work (SSE failed). I will try with denoiser embedded in divx codec
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!