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 19th September 2010, 22:15   #1  |  Link
Metroidn1f
Registered User
 
Join Date: Aug 2010
Location: Hamilton, Ontario, Canada
Posts: 15
Subtitles with AVISynth

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
Metroidn1f is offline   Reply With Quote
Old 20th September 2010, 01:00   #2  |  Link
Assassinator
Registered User
 
Assassinator's Avatar
 
Join Date: Aug 2008
Posts: 31
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).
Assassinator is offline   Reply With Quote
Old 20th September 2010, 07:08   #3  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
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/subtitle.../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/BlurSubtitl...th-t23190.html
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding
cretindesalpes is offline   Reply With Quote
Old 20th September 2010, 07:34   #4  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Can I suggest you look here:


Not wonderful but perhaps your best bet.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 20th September 2010, 22:03   #5  |  Link
Metroidn1f
Registered User
 
Join Date: Aug 2010
Location: Hamilton, Ontario, Canada
Posts: 15
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?
Metroidn1f is offline   Reply With Quote
Old 20th September 2010, 22:43   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 21st September 2010 at 02:53.
StainlessS is offline   Reply With Quote
Old 21st September 2010, 08:24   #7  |  Link
zee944
Registered User
 
Join Date: Apr 2007
Posts: 240
Quote:
Originally Posted by Metroidn1f View Post
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.
zee944 is offline   Reply With Quote
Old 21st September 2010, 23:10   #8  |  Link
Metroidn1f
Registered User
 
Join Date: Aug 2010
Location: Hamilton, Ontario, Canada
Posts: 15
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?
Metroidn1f is offline   Reply With Quote
Old 23rd September 2010, 15:35   #9  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
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.
Ghitulescu is offline   Reply With Quote
Old 25th September 2010, 17:36   #10  |  Link
Metroidn1f
Registered User
 
Join Date: Aug 2010
Location: Hamilton, Ontario, Canada
Posts: 15
I want to make my own program though to do this. So there is no way of removing subtitles of any way with AVISynth?
Metroidn1f is offline   Reply With Quote
Old 25th September 2010, 18:08   #11  |  Link
zee944
Registered User
 
Join Date: Apr 2007
Posts: 240
Quote:
Originally Posted by Metroidn1f View Post
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.
zee944 is offline   Reply With Quote
Old 26th September 2010, 04:26   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Avisynth Edits video, not video container files.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Reply

Tags
avisynth, filters, subtitles

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 03:42.


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