View previous topic :: View next topic |
Author |
Message |
ufayzull n00b

Joined: 30 Sep 2004 Posts: 54
|
Posted: Thu May 05, 2005 6:35 pm Post subject: multiplexing subtitles |
|
|
is there an easy way to multiplex subtitles to a video stream?
this is the script i used to get the subtitles from a dvd
Code: |
tccat -i /dev/dvd -T 1,-1 | tcextract -x ps1 -t vob -a 0x20 > subtitles.ps1
|
now i need to multiplex them with a processed video stream. |
|
Back to top |
|
 |
flazz Guru


Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Fri May 06, 2005 3:33 pm Post subject: |
|
|
what container are you using?
if you are using ogg ogmmerge has support for it. |
|
Back to top |
|
 |
ufayzull n00b

Joined: 30 Sep 2004 Posts: 54
|
Posted: Fri May 06, 2005 3:55 pm Post subject: |
|
|
flazz, i'm putting it back into .vob so i can make a dvd out of it.
i extracted mpeg video, ac3 audio, and the subtitles (using the line above). deleted original vob files, did some work on mpeg video, now i wanted to put everything back together. i thought if it is so easy to extract audio/video/subtitle streams from vob files it should be as easy to multiplex them back into a vob file but it looks like transcode cannot multiplex subtitles into vob (at least tcmplex and mplex do not mention it on man files).
there are some programs that do that (spumux from dvdauthor) but they require their own format different from the one tcextract gave me (i think). so if anyone knows how i could easly convert into a different format, please post it here. |
|
Back to top |
|
 |
albright Advocate


Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun May 08, 2005 8:10 pm Post subject: transcode *can* encode subtitles but ... |
|
|
If you want to take a dvd and encode it with subtitles, this works:
transcode -i in.vob -M 4 -J extsub=0 -y mpeg2enc,ac3 -F 8 -E 48000 -o outfiles
This makes two files: outfiles.m2v and outfiles.ac3 (video and audio streams).
[The -M is there to help audio / video sync problems].
The subtitles (stream 0 here) are hard encoded into the output video.
But there is a problem with this method. After I mplex the m2v and ac3 files back
together into outfile.mpg and use dvdauthor to create a dvd file structure, dvdauthor
gives a warning:
WARN: not a valid dvd framerate ...
The resultant dvd plays fine on computers but has an annoying tiny jerk every second
on a commercial dvd player and a TV (mine anyway). The frame rate is 24 fps and I
don't see how to use transcode to change this (nor do I know what the right value would
be: 30 fps ??)
Anyone know what's going on here.
Because otherwise this transcode method is great. You end up with highly compressed but
v. high quality video -- normally I can get two feature length films on one DVD-R ... |
|
Back to top |
|
 |
benhanson00 n00b

Joined: 07 Mar 2005 Posts: 3
|
Posted: Mon May 09, 2005 8:17 pm Post subject: transcode |
|
|
There is a transcode switch for resampling to 29.97 framerate. It should be in the man page. |
|
Back to top |
|
 |
|