| View previous topic :: View next topic |
| Author |
Message |
RCMN Apprentice


Joined: 08 Jun 2003 Posts: 203 Location: fr-paris us-minneapolis
|
Posted: Sun Jan 29, 2006 10:47 pm Post subject: hardcode subtitle to avi,mpeg,etc.. |
|
|
i found only one thread that mention how to hardcode subtitle to an AVI .it says using spumux from dvdauthor.But it doesn't seems to work properly.I remember once i used mplayer or mencoder to add subs.But i can't find anything now.
If someone as a good solution for that please let me know.I want hardcode the subs so i can view them with my standalone dvd/dvix player. |
|
| Back to top |
|
 |
RCMN Apprentice


Joined: 08 Jun 2003 Posts: 203 Location: fr-paris us-minneapolis
|
Posted: Mon Jan 30, 2006 6:06 pm Post subject: |
|
|
| someone ?any idea ? |
|
| Back to top |
|
 |
DooBeDooBeDo Apprentice


Joined: 21 Aug 2002 Posts: 194 Location: UK
|
Posted: Mon Jan 30, 2006 9:38 pm Post subject: |
|
|
| avidemux |
|
| Back to top |
|
 |
RCMN Apprentice


Joined: 08 Jun 2003 Posts: 203 Location: fr-paris us-minneapolis
|
Posted: Mon Jan 30, 2006 10:13 pm Post subject: |
|
|
I'm using avidemux2 for almost everything i can do with it, witch rencode the avix that i can't read with my player .The only thing i found with avidemux2 it the VOB->subvob and the ocr ->vob srt.
but i have .sub already and i just want hardcode it in the avi .So just rencode and avi to an other avi .And hardcode the .sub in that "new" avi.
'm not certain of the steps i should use... |
|
| Back to top |
|
 |
robbar Apprentice


Joined: 21 Aug 2004 Posts: 156 Location: Saarbruecken, Germany
|
Posted: Tue Jan 31, 2006 3:58 am Post subject: |
|
|
| I tried doing something similar some time ago (vobsub -> srt -> hardcode avi). Unfortunately, I couldn't get the first part of the conversion done so I can't give you any real hints but back then I searched the forums by the terms "mencoder subtitles" and there were some threads about your problems. Perhaps you give that a try. Hopefully, you'll found the stuff that helps you. |
|
| Back to top |
|
 |
mean Guru

Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Jan 31, 2006 4:55 am Post subject: |
|
|
you can do
avi+vobsub ->mpeg/vob
directly |
|
| Back to top |
|
 |
Master of the Darkside n00b

Joined: 02 Sep 2004 Posts: 58 Location: Iasi, Romania
|
Posted: Tue Jan 31, 2006 6:08 am Post subject: |
|
|
you can do it with mencoder
example:
| Code: |
mencoder -ovc frameno -o frameno.avi -oac copy movie.avi
|
that will give you the vbitrate parameter which you will use for recoding the movie (hardcoding a subtitle requires recoding the avi).
after that,
| Code: |
mencoder -o output.avi -sub movie.sub -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=816:mbd=2:trell -vf expand=640:480 movie.avi
|
you should replace vbitrate=816 with the value given by the first command. the expand option resizes your video to a 4:3 so the hardcoded subs will fall onto the black band below (ofcourse you have to adapt it to the size of your avi).
the other options are quality related so feel free to tweak those yourself. in the above example they-re pretty much set for maximum quality.
have fun! _________________ No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought |
|
| Back to top |
|
 |
RCMN Apprentice


Joined: 08 Jun 2003 Posts: 203 Location: fr-paris us-minneapolis
|
Posted: Tue Jan 31, 2006 9:02 am Post subject: |
|
|
| thank you ,this is very helpfull !!! |
|
| Back to top |
|
 |
KaZeR Apprentice

Joined: 04 Feb 2004 Posts: 241 Location: Au fond, à droite.
|
Posted: Wed Nov 08, 2006 4:45 am Post subject: |
|
|
What about using the ogg media format?
ogmmerge -o output.ogm input.avi input-lang1.srt input-lang2.srt
It take 20 seconds to merge a 1h movie.
And subtitles are in a stream, not in the picture, which allows you to change their appearance upon reading. Very handy. _________________ Foo. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3536 Location: in the Dutch Mountains ;-)
|
Posted: Wed Nov 08, 2006 8:03 am Post subject: |
|
|
| KaZeR wrote: | What about using the ogg media format?
And subtitles are in a stream, not in the picture, which allows you to change their appearance upon reading. Very handy. |
Indeed, but almost certainly not supported by his standalone DVD/DivX player... _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
KaZeR Apprentice

Joined: 04 Feb 2004 Posts: 241 Location: Au fond, à droite.
|
Posted: Sun Nov 19, 2006 5:25 am Post subject: |
|
|
I should have read the first post more carefully, you're right  _________________ Foo. |
|
| Back to top |
|
 |
|