Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2013, 07:54   #1  |  Link
pyrobooby
Registered User
 
pyrobooby's Avatar
 
Join Date: Oct 2012
Location: Shanghai, China
Posts: 8
Karaoke Subtitle Encode Problem

Hi, everyone!
I'm working with a karaoke ASS subtitle file with particle effect code(file size: 100MB+).
What I want to do is to hardsub the MV. So I write the following code:
Code:
Loadplugin("D:\Program Files\megui_svn\VSFilter.dll")
Directshowsource("E:\mv.mp4")
textsub("E:\mv.ass")
Then I drag the avs script to MeGUI. It takes a pretty long time before the preview window shows up. So does the queue and the encoding(about 10 fps). Pretty slow for my laptop and the video file:
CPU:i5-2450M RAM:8G DDR3 Windows 7 x64 Ultimate 6.1.7601
media info(sorry I don't have an English version):
文件格式 : AVC
文件格式/信息 : Advanced Video Codec
格式简介 : High@L3.1
格式设置, CABAC : yes
格式设置, ReFrames : 1 frame
编码设置ID : avc1
编码设置ID/信息 : Advanced Video Coding
长度 : 3分 32秒
码率 : 2 243 Kbps
最大码率 : 3 749 Kbps
画面宽度 : 1 280像素
画面高度 : 720像素
画面比例 : 16:9
帧率模式 : 恒定
帧率 : 24.000 fps
色彩空间 : YUV
色度抽样 : 4:2:0
位深度 : 8位
扫描方式 : 逐行扫描
bits/(pixel*frame)(数据密度) : 0.101
大小 : 56.7 MiB (92%)

What slows down the speed?
directshowsource, textsub, or both?

I tried to google and it is suggested that use ffmpeg import plugin and assrender for sub.
Any thoughts, Any help?
Thanks in advance!

Last edited by pyrobooby; 30th April 2013 at 08:00. Reason: accuracy
pyrobooby is offline   Reply With Quote
Old 30th April 2013, 12:19   #2  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
First you should use FFMS2. It's frame accurate and more stable than DSS.

The slow down problem you encountered because of karaoke effect. You could try xy-VSFilter or AssRender to speed up thing a bit. Note that AssRender is a C plugin so you need to use LoadCPlugin(path\to\assrender.dll) to load it.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Reply

Tags
ass, avs synth, megui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.