View Full Version : Subtitles with AVISynth
Metroidn1f
19th September 2010, 22:15
I was just wondering if there is a way or a filter that I can get to remove subtitles with avisynth without have to crop out part of the video.
Thanks.
Metroidn1f
Assassinator
20th September 2010, 01:00
When the subtitles are overlayed onto the video, whatever underneath is permanently lost, and there's pretty much no way to recover that data.
There isn't any filter to remove hardsubs for you (at least not that I know of). As for "a way"... if you're really good with avs scripting, I guess you can attempt some trippy stuff with masktools and interpolation or something. Though I doubt you'll be able to get anywhere near a perfect result. You're much better off finding a video without the hardsubs, if possible.
(That's assuming you mean hardsubs ofcourse. Removing softsubs is trivial).
cretindesalpes
20th September 2010, 07:08
A plug-in not for Avisynth, but for Virtualdub. It doesn't do miracles and may be a bit painful to use :
http://compression.ru/video/subtitles_removal/index_en.html
If you want to replace the original subtitles with other subtitles, you can also try the BlurSubtitle script :
http://forum.ripp-it.com/BlurSubtitleavsi-Script-video-AviSynth-t23190.html
StainlessS
20th September 2010, 07:34
Can I suggest you look here:
(http://forum.doom9.org/showthread.php?t=154559)
Not wonderful but perhaps your best bet.
Metroidn1f
20th September 2010, 22:03
I am not talking about hard coded subtitles, I am talking about subtitles that are muxed into the video. For example, you know how everything in a video has an ID? Video would be ID 1, Audio would be ID 2 and for the subtitles it would be ID 3. I know that you can do it with a demuxer, but I don't want to waste all that time.
So there is no filter that can remove subtitles by there ID?
StainlessS
20th September 2010, 22:43
Oh,ok, just de-mux, re-mux.
Perhaps ProjectX to de-mux (extract the elementary streams), & I personally use TMPGenc for muxing.
EDIT: As far as Avisynth is concerned, the subs are hard coded, they have been
layered onto the video, you need to remove them before giving them to Avisynth.
It hardly takes any time (worth mentioning) to re-mux even a full DVD.
zee944
21st September 2010, 08:24
I am not talking about hard coded subtitles, I am talking about subtitles that are muxed into the video. For example, you know how everything in a video has an ID? Video would be ID 1, Audio would be ID 2 and for the subtitles it would be ID 3. I know that you can do it with a demuxer, but I don't want to waste all that time.
So there is no filter that can remove subtitles by there ID?
If you're talking about DVD subtitles, then all this has nothing to do with AviSynth nor the video file. If you don't want to demux you can use DVD copier/rebuilder softwares like Cyberlink PowerDVD Copy, Pinnacle InstantCopy etc. In most of them you can untick the unwanted subs and make a new copy of the DVD without compression, also keeping the menus, extras intact. Quite simple actually if you have the appropriate software at hand.
Metroidn1f
21st September 2010, 23:10
I am making a video encoder using. I want to use avisynth files with x264. I have no problem using it. It is not about DVD Subtitles, it is about the video file itself. For example, a mkv file has Video (ID 1) Audio (ID 2) and some sort of text (ID 3) I want to use avisynth to remove them. I don't want to use a different program. That is why I asked if there is a way to remove muxed in subtitles with avisynth via built in or filter.
Is projectX a filter for AviSynth?
Ghitulescu
23rd September 2010, 15:35
An MKV file with subtitles is originated from another source, usually a DVD/BD. Start from there with any tool like autogk, megui and so on.
Metroidn1f
25th September 2010, 17:36
I want to make my own program though to do this. So there is no way of removing subtitles of any way with AVISynth?
zee944
25th September 2010, 18:08
I want to make my own program though to do this. So there is no way of removing subtitles of any way with AVISynth?
This has nothing to do with AviSynth.
StainlessS
26th September 2010, 04:26
Avisynth Edits video, not video container files.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.