Log in

View Full Version : extracting subs from vob and hardcoding them into avi/vob w/o compression


MaxT
16th January 2006, 19:35
Hi all :)

Got a tricky (for me) question.

Say, I got my DVD here with video, audio and some subs. I "rip" that DVD to my HDD in IFO mode (making sure I got only 1 subtitle in the resulting VOB file by using Stream Processing mode).

So, I got that +4gb VOB file with video/audio and 1 subtitle in it.

Question is : How to get an AVI/VOB file out of it that have hardcoded subtitle in it? I do not interested in any compression method (otherwise I would use AutoGK but it doesn't allow me to NOT use any of the compression methods).

Purpose : I will be then reencode that AVI/VOB with hardcoded subs for my PSP (Playstation portable).

Note : I've heard something about SubRip etc, but I wanted to be sure if there is any easier way to do what I'm trying to archive. And please, if you got some solution, please try to make it as clear as possible, preferably step-by-step. I'm not that familiar with tools you've probably used for a long time. Thanks in advance :)

Lil' Jer
16th January 2006, 21:47
Question is : How to get an AVI/VOB file out of it that have hardcoded subtitle in it? I do not interested in any compression method (otherwise I would use AutoGK but it doesn't allow me to NOT use any of the compression methods).

You can't do this without reencoding the video to add the subs.


Purpose : I will be then reencode that AVI/VOB with hardcoded subs for my PSP (Playstation portable).

Why don't you just add the subs when you encode the final file? Why do you need a middle step?

MaxT
16th January 2006, 22:04
1) Direct stream wont work if I wanted to save that VOB as AVI?
2) Because the app that I got for PSP do all the job (converting, finding the right ratio, calculating bitrate so I can fit it on my memory stick, mux video and audio into its own format...

Lil' Jer
16th January 2006, 22:07
1) Direct stream wont work if I wanted to save that VOB as AVI?

No. You have to reencode the video to add the subs. Adding subs to video changes the video so direct stream copy doesn't work.


2) Because the app that I got for PSP do all the job (converting, finding the right ratio, calculating bitrate so I can fit it on my memory stick, mux video and audio into its own format...

Does it accept avisynth input? Using VSFilter and the TextSub command you can add the subtitles to the video and feed it to the encoder. Secondly what is this app?

MaxT
17th January 2006, 02:05
1) ah, I see. thanks :)
2) http://forums.ps2dev.org/viewtopic.php?p=33071#33071

Lil' Jer
17th January 2006, 03:03
Well if it accepts avisynth input I'd recommend using VSFilter/TextSub to add the subtitles and frameserve it to the encoder. If not you can just use feed the avisynth script to something like virtualdub and encode with a lossless codec like Huffyuv and then feed it to the encoder.

Lil' Jer
17th January 2006, 03:07
Okay having checked out the program you can feed it avisynth scripts so that seems to be your easiest option.

MaxT
18th January 2006, 10:28
Thanks for the input :)