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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
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")
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 |
|
|
|
|
|
#2 | Link |
|
Yes, I'm weird.
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 |
|
|
|
![]() |
| Tags |
| ass, avs synth, megui |
| Thread Tools | |
| Display Modes | |
|
|