Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: jormaii on September 22, 2009, 19:12:07

Title: DVB subtitles with VDR 1.6. and vompserver 0.3.1
Post by: jormaii on September 22, 2009, 19:12:07
Hi, played with qt vomp a bit and tried to get dvb subtitles visible with phonon. It seems that subtitle pid is not present or can not be detected by xine backend. However xine backend (with Kaffeine) detects subtitles from streamdev server TS stream. I inspected the sources and seems that there should be PMT scanner in vomp server for scanning correct pids to be streamed to vomp client. Do you agree?

I'm just wondering how the MVP client can show subtitles?

I'm new with subtitles implementation so and I can totally wrong, in that case could you give me some hints?
Title: Re: DVB subtitles with VDR 1.6. and vompserver 0.3.1
Post by: MartenR on September 26, 2009, 04:57:17
vomp does transfer the subtitle pid at least in the standrard client. Vomp uses other mechanisms for determination of  the pid than the pmt (except for ts recordings).
I think there are two possibilities, qtvomp does not ask the server for streaming the subtitle pid or the missing pmt prevents xine from detection. However all necessary mechanisms are included in the 0.3.1 protocoll version.

Marten
Title: Re: DVB subtitles with VDR 1.6. and vompserver 0.3.1
Post by: jormaii on September 28, 2009, 19:57:59
I think problem is that pid containing pmt is not broadcasted.

Should the vompserver be changed broadcast it automatically? Another possibility is to implement logic for subscribing relevant pids into client side. I tried to analyse the stream coming from vompserver with dvbsnoop and didn't find pmt.

How does mvp find subtitle pids, maybe same logic can be used to subscribe relevant pids from vompserver?

I implemented an ugly hack to qtvomp to use ts stream from streamdev server. With that I got subtitles working - but I think better solutions is to use vompserver.
Title: Re: DVB subtitles with VDR 1.6. and vompserver 0.3.1
Post by: MartenR on September 29, 2009, 02:14:15
Of course vomp does not stream the original pmt, since it contains all pids on the transponder. Vomp uses its protocoll command getchannelpids for this purpose.
Title: Re: DVB subtitles with VDR 1.6. and vompserver 0.3.1
Post by: jormaii on September 30, 2009, 20:37:17
I think I'll try to generate pmt pid from available pids and send it in beginning of TS stream, I assume it will help phonon xine backend to find subtitle pids.

...

So I modified qtvomp to generate pat/pmt into beginning of stream. Now xine shows subtitles correctly.

But I think that TS stream vompserver sends should include PAT/PMT pid too to make it standard compliant. So that all players supporting TS playback can play the stream.