Discussion:
[Mjpeg-users] Adding subtitles using mplex, or any other utility
daveh
2013-03-29 15:15:55 UTC
Permalink
Sirs

I have been using mplex to "stitch together" m2v and mp2 files into an
editable stream.

First I use Projectx to clean up a Humax .ts file, then I use mplex to
multiplex them back together. A typical command line I would use is

mplex -f 8 -o file.mpg file.m2v file.mp2

This works a treat, unfortunetely, however, I now need to add subtitles
[file.sup and / or file.sup.IFO]

Please, what is the best and easiest way to do this?

Thanks in advance

Dave Hansford
Bernhard Praschinger
2013-04-21 08:34:25 UTC
Permalink
Hallo

Sorry for the long delay, but I was offline for quite some time.
Post by daveh
I have been using mplex to "stitch together" m2v and mp2 files into an
editable stream.
First I use Projectx to clean up a Humax .ts file, then I use mplex to
multiplex them back together. A typical command line I would use is
mplex -f 8 -o file.mpg file.m2v file.mp2
This works a treat, unfortunetely, however, I now need to add subtitles
[file.sup and / or file.sup.IFO]
Please, what is the best and easiest way to do this?
I guess the people from the dvdauthor, or project X mailinglist can
provide better help.

Do you have a sample subtile file ? I don't have a sample. You probably
need to convert the file.sup to something spumux understands.
If they are in a suitable format you probably just multiplex them into
the steam with spumux.

I hope that helps.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: ***@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard
mksoft
2013-04-21 15:03:59 UTC
Permalink
Post by Bernhard Praschinger
Post by daveh
I have been using mplex to "stitch together" m2v and mp2 files into an
editable stream.
First I use Projectx to clean up a Humax .ts file, then I use mplex to
multiplex them back together. A typical command line I would use is
mplex -f 8 -o file.mpg file.m2v file.mp2
This works a treat, unfortunetely, however, I now need to add subtitles
[file.sup and / or file.sup.IFO]
Please, what is the best and easiest way to do this?
I guess the people from the dvdauthor, or project X mailinglist can
provide better help.
It's been some time since I added subtitles to a movie - and I didn't
include many, so creating the pictures by hand and writing the
spumux-file was not too much work.
Does your file contain the subtitles in a text-format or does it look
more like pictures?
Post by Bernhard Praschinger
Do you have a sample subtile file ? I don't have a sample. You probably
need to convert the file.sup to something spumux understands.
If they are in a suitable format you probably just multiplex them into
the steam with spumux.
I think spumux is able to work with text-files as long as you also
provide it with a font to use. It then should automatically render the
text into the images to be included in the video.

I recommend reading the "handling text-based subtitles"-part from the
spumux-manpage.

Regards,

Markus
Bernhard Praschinger
2013-04-23 06:02:55 UTC
Permalink
Hallo
Post by mksoft
Post by Bernhard Praschinger
Post by daveh
Please, what is the best and easiest way to do this?
I guess the people from the dvdauthor, or project X mailinglist can
provide better help.
It's been some time since I added subtitles to a movie - and I didn't
include many, so creating the pictures by hand and writing the
spumux-file was not too much work.
Does your file contain the subtitles in a text-format or does it look
more like pictures?
I think generating text based subtitle and let spumux do the work is
easier. If you have more subtitle a program like gnome-subtitles is very
helpful when you can view the video and just type in the subtitles.
Post by mksoft
Post by Bernhard Praschinger
Do you have a sample subtile file ? I don't have a sample. You probably
need to convert the file.sup to something spumux understands.
If they are in a suitable format you probably just multiplex them into
the steam with spumux.
I think spumux is able to work with text-files as long as you also
provide it with a font to use. It then should automatically render the
text into the images to be included in the video.
spumux is able to work with text based files. You just need to follow
the part your refer below with the text based subtitles. That works well.
With converting I did mean something like that the subtiles exist in a
certain picture whatever form, with information when to display. But in
different format than spumux understand. I found a hint on the web that
it is possible to convert subtitles from a transport stream directly to
a format suitable to spumux. But that information might be old.
Post by mksoft
I recommend reading the "handling text-based subtitles"-part from the
spumux-manpage.
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: ***@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

Loading...