digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Subtitles (http://www.digitalfaq.com/archives/subtitles/)
-   -   Guide: How to rip subtitle from avi (http://www.digitalfaq.com/archives/subtitles/8385-guide-how-rip.html)

wgamer 02-29-2004 02:13 AM

Guide: How to rip subtitle from avi
 
:?:

it is displayed when playing avi

but not after encoding as kvcd

Dialhot 02-29-2004 07:08 AM

What a big amount of details ! It's amazing ! We really can't know from where to start.

Do you REALLY expect someone to give you a solution on a problem you don't even describe ?

wgamer 02-29-2004 09:12 AM

well

the avi has got the subtitle.

when i use the avs script and encode the avi
in tmpg the mpeg does not have the subtitle .

when i encode the avi in tmpeg the ordinary way the subtitle
is present.

wgamer 02-29-2004 09:32 AM

yahoo!

just finished encoding the avi in tmpg with plain vanilla kvcd template.

no avs script. mpg was very jerky after muxing. so searched

forum. found the recommended settings of sansgrip. muxed again

and voila. 700 mb mpg. with subtitles. no jerks. no delayed seek.

but i would still like to know what is the RIGHT way to add subtitles

from avi to kvcd. coz i want change the way it looks. thnks

Dialhot 02-29-2004 08:56 PM

When do you plan to explain HOW this subtitles are provided with your avi ? There is a dozen of method to have subtitles in avis !

wgamer 03-01-2004 11:46 AM

i dont know

i just play the movie and it appears

:oops:

could u provide a link for identifying these methods so that
i can get back to you

thnks

Dialhot 03-01-2004 11:51 AM

There is not. You do'nt even know if the subtitles are in a separate file or in the avi ?

wgamer 03-01-2004 12:01 PM

ok i have got just the avi

there is no separate subtitle file

the subtitle is appearing in a black band
below the picture

Dialhot 03-01-2004 12:15 PM

Either the file is an ogm container and not an avi or the subtitles are actually into the picture and there is nothing to do to have them on Tmpgenc !

Can you open the file in virtualdbmod and verify in the "stream list" window if the avi embbed a subtitle stream ?

Anerboda 03-01-2004 06:03 PM

Quote:

Originally Posted by wgamer
well

the avi has got the subtitle.

when i use the avs script and encode the avi
in tmpg the mpeg does not have the subtitle .

when i encode the avi in tmpeg the ordinary way the subtitle
is present.

If the subs are in the black borders of the avi, it could be that you crop those borders in your avs script and then add new borders later in your script..??

Just a wild guess :D

Anerboda

rds_correia 03-01-2004 07:01 PM

Yes,
It seems like the avi has hardcoded subtitles on the bottom black band.
When you crop the boarders with a script, the subs are gone right?
If so there are only 2 ways:
Either you try an OCR program like subrip (which I think only works with
VOB/IFO but could be mistaken).
Or you try to find a file with the subs in text mode and use TextSub by Gabest to hardencode
them again after you crop with the script.
Please note that I'm note sure if you are legally entitled to download a subtitle
text file for your movie...
Maybe Phil or one of the guys knows that better than me.
Also I'm presuming that you are talking about an holywood movie otherwise you won't
find a subtitle text file anywhere.
Hope I helped.
Cheers

Dialhot 03-01-2004 07:27 PM

Quote:

Originally Posted by rds_correia
Please note that I'm note sure if you are legally entitled to download a subtitle text file for your movie...

Two things : either the movie is out of copyright, and so is the subtitles. Or the film is a commercial one so it doesn't matter if it's legal to use the subtitles or not ;-)

wgamer 03-01-2004 11:40 PM

ok the problem is bcoz of the grip filter.



the resln of the avi is 512x384

in tmpg without using any of grip lines in avs size is 512x384. the subtitles appear.

after using gripcrop frame size is 352x240. the picture is centered without the subtitles.

i did not use any templates for this test

here is the script i used:

ConvertToYV12()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
Tweak(cont=1)
#GripCrop(352, 240, overscan=1, source_anamorphic=false)
#GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
#GripBorders()

BTW should the gripcrop and gripsize not be used immediately after the avisource command.

the reason being once the image is cropped to the
right size the area to which the other filters are applied is reduced and therefore encoding is faster. :?:

Dialhot 03-02-2004 04:25 AM

Quote:

Originally Posted by wgamer
BTW should the gripcrop and gripsize not be used immediately after the avisource command.

No.

Quote:

the reason being once the image is cropped to the
right size the area to which the other filters are applied is reduced and therefore encoding is faster. :?:
The first 3 filters are there to reduce/remove the DCT block of the source and they can't work if the geometry of the image have been changed.
And in a general way, the idea of "small picture = faster encoding" is rarely the good way. fast encoding, okay, but uglier result also.
Generally the place of each line in an optimal script was tested and disccused a lot before the script is released (even if that do not prevent you to make your own tests for sure).


All times are GMT -5. The time now is 03:24 PM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2022 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2022 Jelsoft Enterprises Ltd.