[Mplayer-dvb] Subtitles & audio
Knuts Andy
akke at akke.net
Sun Sep 23 18:28:52 CEST 2001
Hi Arpi,
the subfps thing worked better but not perfect yet .. and i still don't
know how to sync the subtitls on cd2 .. it's 1 .srt subtitle file and 2
.avi files (2cd release) .. but that's not the main problem ..
i'm willing to try to implement the audio part, but i'm not familiar with
audio/video and this PES packat things ..
I just looked into it a bit, you said it should build LPCM packets and
send them to the DVB card using your PES packager. I'm gonna try this
later today, but i can't promise i get it to work(no experience in this
stuff) ...
About the OSD stuff .. VDR (Video Disk Recorder @
http://www.cadsoft.de/people/kls/vdr/) does OSD stuff, you might want to
take a look at their code ....
laterz,
Akke
On Sun, 23 Sep 2001, Arpi wrote:
> Hi,
>
> > i've been experimenting with mplayer a bit .. when playing divx with audio
> > and subtitls using the ffdivx driver the audio and video stay in sync but
> > the subtitls i can't get to stay synced .. after playing for like 20
> > minutes the subtitls are about 30 seconds wrong etc...
> Maybe your subtitle file is for different framerate. try option -subfps
>
> 20min->30sec is about 24<->25fps difference. try -subfps 24
>
> > Now i was thinking about to add subtitles support tot he DVB driver , i
> > have a little experiance with dvb and OSD but i was wondering how hard it
> > would be to add audio support too ? ..
> >
> > I know these are on the TODO list but i can't wait :) hehehehe
>
> Great. I can't do audio support soon, as my card is broken (it has no audio,
> even under win98). I'll try to add OSD soon, but I didn't seen OSD API yet,
> don't know how difficult is it.
>
> If you want help, try to add audio support. It should be an libao2 driver,
> which builds LPCM packets and write them to the right fd (opened at
> libvo/vo_mpegpes.c). It's ugly, but I can't solve it better now.
> The PES packager of vo_mpegpes.c can be used without modification.
>
> > another question i have is: most subtitles are spread as 1 file, but the
> > divx is often a 2 cd release. Is there a way to sync the subtitls with the
> > second cd too ?
> -subdelay
>
>
> A'rpi / Astral & ESP-team
>
> --
> mailto:arpi at thot.banki.hu
> http://esp-team.scene.hu
> _______________________________________________
> Mplayer-dvb mailing list
> Mplayer-dvb at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
>
More information about the MPlayer-dvb
mailing list