[Mplayer-dvb] Subtitles & audio
Arpi
arpi at thot.banki.hu
Sun Sep 23 17:35:02 CEST 2001
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
More information about the MPlayer-dvb
mailing list