[Mplayer-dvb] vdr -sub
tarass at club-internet.fr
tarass at club-internet.fr
Sun Mar 14 22:51:43 CET 2004
Le 03/14/2004 09:38 PM, Dave Chapman a joliment écrit :
> For example, if you record something from a DVB broadcast, you could get
> the time starting at "18:52:11" (i.e. 18 hours, 52 minutes, 11
> seconds). But the subtitle file you are using starts the first subtitle
> at time zero.
Ok now I understand where the problem comes from.
> Therefore, the subtitles will never get displayed by mplayer. The
> solution is to change your subtitle file so that it starts at the first
> time displayed on the OSD by MPlayer.
>
> When you create an AVI file, the PTS values are probably rewritten to
> start from zero, which is why the subtitles then work.
>
> If you use the latest CVS version of dvbtextsubs, then there is a
> -keeppts option that writes the original PTS values in the subtitle
> file. This solves the problem.
But MPsub format gives relative position of subtitles,
that is to says, the ellpsed time between to subtitles to display.
For example for spumus xml file gives :
<?xml version="1.0" encoding="iso-8859-1" ?>
<subpictures>
<stream forced="no">
<spu lang="fr" start="00:00:21.960" end="00:00:24.840">
<line row="22" col="01"><white>La couleur pourpre</white></line>
</spu>
<spu lang="fr" start="00:02:04.320" end="00:02:06.480">
<line row="22" col="01"><white>Ma soeur, on me l'ôtera
pas.</white></line>
</spu>
<spu lang="fr" start="00:02:06.840" end="00:02:08.400">
<line row="22" col="01"><white>Makidada.</white></line>
</spu>
And the MPsub file gives :
21,96 2,88
La couleur pourpre
99,48 2,16
Ma soeur, on me l'ôtera pas.
0,36 1,56
Makidada.
Then how to begin the mpsub file in absolute format ?
I try to dvb-mplex the vdr file in an mpg, like in the way to do a DVD,
because then I can encode the produced mpg file with the -sub option.
But dvb-mplex gives this kind of error message in the middle of the muxing.
Error in MPEG stream at offset (bits) 550277797 : supposed marker bit
not found
Why ?
And How to make a dvd then ?
Thanks for your help.
Nicolas.
--
Powered .~.
by Linux /V\
------ // \\
solutions for /( )\
smart penguins ^`~'^
More information about the MPlayer-dvb
mailing list