Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Video Edit Software


Commercial message



Video Edit Software Discuss, remove subtitles at International Chat: Software related forum; I have an avi that has margins or borders above and below the main body of the picture. In the the lower margin is oriental subtitles. How can these be removed if at all. Tried region remove in vdub but no go?Thanks in advance.


Reply
 
Thread Tools
Old 27-10-2004   #1 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
remove subtitles

I have an avi that has margins or borders above and below the main body of the picture. In the the lower margin is oriental subtitles. How can these be removed if at all. Tried region remove in vdub but no go?Thanks in advance.
crazypete44 is offline   Reply With Quote
Old 28-10-2004   #2 (permalink)
CDFreaks Resident
 
btspm's Avatar
 
Join Date: Feb 2004
Location: Porn Valley, CA, USA
Posts: 527
Re: remove subtitles

You can run it through avisynth with the proper script to create your own border over the offending area. I've used it on analog captures to remove the fuzz at the bottom of the screen. Can't remember the command, but google should point you in the right direction.
__________________
Help! Help! I'm being repressed!
btspm is offline   Reply With Quote
Old 28-10-2004   #3 (permalink)
CD Freaks Member
 
Join Date: Feb 2001
Posts: 204
Re: remove subtitles

Quote:
Letterbox simply blackens out the top top and the bottom bottom, and optinally left and right side of each frame. This has a couple of uses: one, it can eliminate stray video noise from the existing black bands in an image that's already letterboxed; two, it can eliminate the garbage lines that often appear at the bottom of the frame in captures from VHS tape.
Code:
Letterbox (clip, int top, int bottom, [int left], [int right], int "color")
No need to search google... it is covered in the AVISynth docs.
celtic_druid is offline   Reply With Quote
Old 28-10-2004   #4 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Thank you both for the info. Will check it out in a couple or three days . Have to go out of town and will attempt this procedure as soon as I get back. Thanks again
crazypete44 is offline   Reply With Quote
Old 29-10-2004   #5 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

I've had a look at avisynth and it looks a bit complicated for me. I'm somewhat of a newbie at this but am willing to try.Is there a link to help me get started on how to begin with scripts and plugins etc?This looks like it may take a while to figure out and as I said in the previous post I'm away a couple days. So bear with me and if there is an easier way that you know please let me know. Thankyou again
crazypete44 is offline   Reply With Quote
Old 29-10-2004   #6 (permalink)
CDFreaks Resident
 
btspm's Avatar
 
Join Date: Feb 2004
Location: Porn Valley, CA, USA
Posts: 527
Re: remove subtitles

http://www.doom9.org is a good resource. If you find a sample script, just edit the line pointing to the .avi to be opened and add the letterbox line from celtic_druid's post. Then just open the .avs in virtualdub and resave in direct stream copy mode.
__________________
Help! Help! I'm being repressed!
btspm is offline   Reply With Quote
Old 29-10-2004   #7 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Hello again. I do have avisynth as part of DVD2SVCD program. Can I use it or does it have to be in a separate folder or partition to work proper separately? I have been at Doom9 and this still looks kinda difficult but like I said I give it a go.Thanks
crazypete44 is offline   Reply With Quote
Old 29-10-2004   #8 (permalink)
CD Freaks Member
 
Join Date: Feb 2001
Posts: 204
Re: remove subtitles

If you can run an AVISynth script (which if DVD2SVD works you can) then there is no need to re-install it.
Try a simple script like just: version()

Do NOT set VDub to direct streaming copy. AVISynth serves raw video, direct stream it and you have one giant file. You need to set it to fast recompress then configure your desired codec.

Your script is just:
avisource("whatever.avi")
Letterbox(0,bottom,0,0)

Only thing that you need to change is whatever.avi to the real avi and bottom to whatever value is required like say 16 or 32.
celtic_druid is offline   Reply With Quote
Old 30-10-2004   #9 (permalink)
CDFreaks Resident
 
btspm's Avatar
 
Join Date: Feb 2004
Location: Porn Valley, CA, USA
Posts: 527
Re: remove subtitles

Quote:
Originally Posted by celtic_druid
Do NOT set VDub to direct streaming copy. AVISynth serves raw video, direct stream it and you have one giant file. You need to set it to fast recompress then configure your desired codec.
I advise using direct stream copy without knowing his preference for encoder/technique. @crazypete: if that is your normal preference, then by all means, do fast recompress with your codec of choice within vdub. But if you like to use xvid w/ auto gk for example, (or nero or tmpegenc or cce or anything else you might use) then save in vdub uncompressed or at least with a lossless codec. No reason to compress twice and lose quality.
__________________
Help! Help! I'm being repressed!
btspm is offline   Reply With Quote
Old 01-11-2004   #10 (permalink)
CD Freaks Member
 
Join Date: Feb 2001
Posts: 204
Re: remove subtitles

If you want to use something else to encode or whatever then why open it in VDub in the first place?

Also if you left it default then it would be RAW RGB24, which seeing how the original is most likely YV12 you would actually be losing quality anyway.
celtic_druid is offline   Reply With Quote
Old 01-11-2004   #11 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Thanks again for your info but this all seems way above me. Ive never done scripting before. DVD2SVCD does it for me. Import the avi and dvd2svcd pretty well does the rest , scripting included.I tried a simple script like avisource("mymovie.avi") in notepad and saved it as a .avs file then tried to open it but none of my players would play it???Is that what I am supposed to do. Sorry for sounding like a complete newb but this all kinda new to me . I usually use tmpeg for encoding but also use dvd2svcd from time to time. I can use some simple vdub routines like extracting audio, spitting and joining avi"s and tried region remove plugin with decent success but it takes a lot of tries and reading alot of terminallogy ,that I don't understand ,at first. I'll give it another go tonight time permitting and report back asap. Thanks again
crazypete44 is offline   Reply With Quote
Old 03-11-2004   #12 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Sorry. But I cannot get this to work. I checked my system32 folder and the avisynth.dll file is there so I assume that the scripting should work.When I try and open the .avs file in vdub I get this error message- AVIsource open failure- avisource autodetect:couldn't open file-Error code 2- (d:\encoded movies\robo.avs,line1) . This is a bit frustrating and I don't want all you wonderful people to spend too much time on this.If you have any ideas I'll give it one last go. Thank you in advance
crazypete44 is offline   Reply With Quote
Old 03-11-2004   #13 (permalink)
CD Freaks Member
 
Join Date: Feb 2001
Posts: 204
Re: remove subtitles

Means that it couldn't find the avi. If the script is in the same directory as the avi then avisource("whatever.avi") should work, that is if the avi is named whatever.avi otherwise you need to specify the full path so avisource("f:\ull path\whatever.avi")

AVISynth is pretty good with errors if it was a problem with the audio or video codec it would say.
celtic_druid is offline   Reply With Quote
Old 03-11-2004   #14 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Hello again. I finally got it to work? Don't really know why it wouldn't before. I cut a 2 min piece of the file for testing purposes.Wrote out the script in the same folder as the avi, opened it in vdub and after a few number changes in the script- avisource("d:\encoded movies\robo.avi") next line-letterbox(0,50,0,0) voila the subtitles are gone.Go figure. Now there seems to be some question as how to process the avi. Direct stream copy or fast recompress. I use tmpege to encode. I strip out the audio with vdub and save wave then convert to ac3 with ffmpeg or besweet then encode video only in tmpege then author with tmpeg author. If any of this sways your decision as to what process to use in vdub I'd be grateful for your input. As always thank you very much.
crazypete44 is offline   Reply With Quote
Old 04-11-2004   #15 (permalink)
CD Freaks Member
 
Join Date: Feb 2001
Posts: 204
Re: remove subtitles

Forget about VDub. TMPGEnc accepts AVS files as input itself. If you use Express you can have it encode the audio to AC3. If you want to keep using ffMPEG, then I would use AVS2WAV to decode the script or just save out a wav with VDub, might also be possible to use the version of ffmpeg modified to handle avisynth scripts.

For TMPGEnc 2.5.x you might want to add converttoRGB24() as if I recall correctly v2.5.x prefers RGB24 input. You could have just use VDub to remove the subs, seeing as how you are going to have to convert to RGB anyway. Just open the file. Set to full processing. Use the Fill filter to remove the sub section and then frameserve to TMPGEnc.

If you don't want audio in the AVS file then add killaudio() or change avisource("whatever.avi") to avisource("whatever.avi",false)
celtic_druid is offline   Reply With Quote
Old 06-11-2004   #16 (permalink)
CD Freaks Rookie
 
Join Date: Mar 2004
Location: Canada
Posts: 47
Re: remove subtitles

Just finished burning the encoded avi and everything looks just great. When I initially encoded just the video and stripped the audio with vdub and converted to ac3 , then authored with Tmpeg the audio gradually got out of sync more and more as the flic progressed even though the original avi was fine, so I just wrote out the script like you said again and encoded both audio and video at the same time in tmpeg2.5 and all came out fine. Thank you all for your help. It was most welcome. This forum is the best
crazypete44 is offline   Reply With Quote
Old 06-02-2005   #17 (permalink)
New on Forum
 
Join Date: Feb 2005
Posts: 1
Re: remove subtitles

hello, i was wondering particularly if i could get hold of crazypete! i consider myself waynewbie after i checked out avisynth, but am also eager to try this method. if anybody feels like spending some time on me i'd be so very grateful, as for my dilemma, i am nearly precisely in the same boat as pete was, except worse, for i still can't understand what to do after reading this thread, but i am a fast learner, i swear! i have been to videohelp, tried virtualdub mod and so forth and i am stuck stuck stuck. thanx for your time!
fizzgigg is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DVDFab - How do I remove subtitles from appearing on my Video iPod? simsim2 Portable audio and video players 4 30-06-2007 15:52
How do I remove internal subtitles in ConvertxtoDVD? Antonio_LA VSO Software 7 27-06-2007 16:02
I had to Remove AnyDVD after problems and I clicked remove registration info as well. TechGuy100 AnyDVD 4 21-01-2007 01:02
How to remove it ALL? :( Bob! Newbie Forum 7 20-05-2006 03:39
FULL DISC back remove Subtitles batman2k1 DVD2One 1 29-07-2003 18:39


All times are GMT +2. The time now is 11:44.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0