MOV to Mpeg4 using Avisynth and MainConcept

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RazorHolt
    Junior Member
    Junior Member
    • Aug 2005
    • 6

    MOV to Mpeg4 using Avisynth and MainConcept

    Hello everyone,

    I'm trying to encode a MOV file to mpeg-4/H.264 using Avisynth and Mainconcept Mpeg4. I use Avisynth to add a logo and also to resize the video.
    I've tried many AviSynth filters to improve the quality of the encoded file but I'm still not very impressed.

    File Input: MOV, 44MB
    File Output: Mpeg4, 17MB (size desired)


    Avisynth script:

    LoadVFAPIPlugin("C:\Program Files\AviSynth 2.5\plugins\QTReader.vfp","QTReader")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix\Release\ColorMatrix.dll")

    video = QTReader("C:\movie\mymovie.mov")
    video = video.FlipVertical
    video = video.BilinearResize(800,450)
    video = video.colormatrix()

    logo = ImageSource("C:\movie\watermark\logo.png")
    logomask = ImageSource("C:\movie\watermark\logo-mask.png")
    Overlay(video, logo, mask=logomask)

    Mainconcept Setting


    Output format
    |
    |- MPEG type: H.264 High
    |- Stream type: Program (Video+Audio)
    |- Video mode: NTSC
    |- Audio mode: Layer 2

    Video
    |
    |- Width: 800
    |- Height: 450
    |- Bitrate: 880
    |- Frane rate: 23.97
    |- Deinterlacing: None
    |- Passes: 2
    |
    |- Advanced
    |
    |- Basic Settings
    | |
    | |- Frame/Field Encoding: Progressive
    | |
    | |- Keyframe Interval: 10
    | |- Set Keyframe at scene change: off
    | |
    | |- Birate Mode: Variable birate
    | |- Average Bitrate: 880
    | |- Maximum Birate: 1400
    |
    |
    |
    |- Advanced Video Settings
    |
    |- Profile: high
    |- Level: 4.1
    |
    |- IDR Interval: 10
    |- Reordering Delay: 1
    |
    |- use B-Slices: off
    |- Multiple Slices: off
    |
    |- Reference Frames: 16
    |- Spatial Range: 64
    |- Search Mode: 8x8
    |- Subpixel Mode: Full
    |
    |- Rate Distorsion Optimization: on
    |- Fast Intra Decisions: off
    |- Fast Inter DecisionS: off

    My questions are:

    1. Is there any other filters I should add to pre-process the input file?
    2. Is my MainConcept software properly configured?


    Thank you very much for your help .


    - Dan
  • jeo
    Digital Video Expert
    Digital Video Expert
    • Feb 2004
    • 745

    #2
    tests with some filters in post #4.

    avisynth 2.5 have "auto load" and when the filter is inside the AviSynth 2.5 plugins folder,is not needed to load any filter with command lines like:
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix\Release\ColorMatrix.dll")
    only put all filters needed inside that folder.

    and if needed,read in the faq "Q1.15: How do I use a plugin compiled for v2.0x in v2.5x ?"

    regards
    still sending greens(you can't see but can feel)

    geriatric rock fan

    Comment

    • RazorHolt
      Junior Member
      Junior Member
      • Aug 2005
      • 6

      #3
      Thanks Jeo for your reply.

      I spent the whole week-end trying the filters that you recommended but the results were the same. I think that Mainconcept is not really appropriate for the encoding in high rates.

      In fact, I get a better image quality result with WME. The fade in/out are horribly handled by Mainconcept, in high rates at least.

      So, is wmv the best container for streaming in high quality?

      - Dan

      Comment

      • jeo
        Digital Video Expert
        Digital Video Expert
        • Feb 2004
        • 745

        #4
        i never did a single wvm encode and don't know the quality but mainconcept is not good.
        i'm sure that tmpgenc is really better(or CCE).

        i'm not expert in avis or wmv files(or other).

        hint: read the LT. Columbo guides,he have extreme knowledge and will help you more than i.

        regards
        still sending greens(you can't see but can feel)

        geriatric rock fan

        Comment

        Working...