Log in

View Full Version : how check subtitles placement realtime?


jriker1
17th November 2016, 00:38
I have an AVI file and I have an AC3 file and I have a ASS file. The ASS file is foreign subtitles and they are off from the source video. I can't seem to play the file realtime and it's all jerky making seeing where to adjust the start/end times for each subtitle difficult. Heck even just identifying the first one to see if I can do a global shift for say 5 seconds and they will all align is tough. Is there a way to play a segment of a script realtime? Like some kind of pre-buffer that will buffer the content and then play it? For reference script is:

LoadPlugin("D:\Program Files (x86)\AviSynth+\plugins64+\LSMASHSource.dll")
V=AVISource("video.avi")
A=LWLibavAudioSource ("test-2channel.ac3")
AudioDub(V,A)

TextSub("video-forced.ass")

Thanks.

JR

kuchikirukia
17th November 2016, 00:43
Aegisub

sneaker_ger
17th November 2016, 09:19
Where's the bottleneck? If it's the video just re-encode to a format that's faster to decode (e.g. lower resolution, low bitrate x264 --tune fastdecode) then load that in Aegisub as suggested by kuchikirukia. Or load just the audio in Aegisub.

jriker1
18th November 2016, 00:37
Thanks, I'll load the audio and video separately in Aegisub and eliminate AVISynth from the equation. CPU runs at 100% when trying to run the above script.