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:
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
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)
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
Comment