Thursday, January 25, 2007

Encoding speed / quality control and encode WMV with subtitle

Happy new year! For the first post of 2007, I like to add a example avs script to show how to encode a wmv with subtitle and clarity to the encoding speed / quality setting that you are probably already using.

There are 3 factors that we need to take in considerations for faster encoding :
1). Using plenty target bit rate (based on bit rate encoding) or lower video quality (based on quality encoding). Both of them result in easier to encoding our media files.

2). Using faster encoding setting for Performance of WMEA. It will significantly increase encoding speed and reduce a little video image quality that we can't see.


3). Using faster CPU, RAM and DISK. WMEA supports mulit-core CPU.

To encode WMV with subtitles:
1). Make sure you have installed avisynth 2.5 on your PC.

2). Edit a avs script file named like "example.avs".

3). Inputs lines below:

LoadPlugin("D:\Program Files\AvPack\AviSynth 2.5\plugins\DGDecode.DLL")
LoadPlugin("D:\Program Files\AvPack\AviSynth 2.5\plugins\VSFilter.DLL")
V = MPEG2Source("q:\VTS_01_1.d2v")
A = DirectShowSource ("q:\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3")
AudioDub(V, A)
TextSub("q:\MyNotify.srt")
VobSub("q:\VTS_01_1.sub") #[or TextSub("q:\VTS_01_1.ssa")]

4. Add "example.avs" to WMEA's job list and start[or some other encoders support avs inputs].

2 comments:

Anonymous said...

Your phrase, simply charm

Sam said...

I keep getting "a drm profile has not been set for this session wme assistant" can you help.