[vlc] Re: Streaming a dvb-t channel with vlc?

Jean-Paul Saman saman at natlab.research.philips.com
Thu Oct 2 17:50:54 CEST 2003


jusuomin at abo.fi wrote:
> Quoting Jean-Paul Saman <saman at natlab.research.philips.com>:


> OK. I tried the CVS version, and by commenting out the DVB-S part of
> ioctl_SetFrontend I got the tuning to work. (Well, at least it reports
> that tuning was succesful.)
> 
Applied changes to the dvb plugin so that it can tune to DVB-T now. 
Added some messages to check if tuning went alright, cleanup some 
messages. Could you test the new CVS version???

> I think there should propably be a test to see what kind of a dvb card
> (DVB-T/S/C) you have, and set up the dvb_frontend_parameters structure
> according to that?

We already do that in modules/access/dvb/access.c however it tuned 
wrongly. Tuning to DVB-T is simpler then to DVB-S as it turns out now. 
You gave me a good hint when you talked about looking in dvbtune's 
source code. Thanks !

> I still have a problem, though. I don't get any output (video, that is..)

Unfortunately I can only test DVB-S here and am going home now for the 
weekend. Next week monday I'll be able to help you again.

> Screen dump:
> 
> [root at blumlein vlc]# vlc -vvv --program 512
> terrestrial:714000000:0:3:27500000 --lnb-lof2=715000000
> --lnb-lof1=9750000 --lnb-slof=11700000

I think you can safely use --probe on the commandline for the dvb plugin.

> [00000306] dvb input debug: ioctl_SetFrontend: tuning status == 0x1f!!!
> ...tuning succeeded
> [00000306] dvb input debug: setting filter on PAT
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 0
> [00000015] main module debug: using access module "dvb"
> [00000306] main input debug: looking for demux module
> [00000306] main input debug: probing 34 candidates

Looks promissing. Go now to the menu View|Program and select a program 
that you want to view.

> [00000306] ts_dvbpsi input debug: Processing PAT version 0
> [00000306] ts_dvbpsi input debug: New program: 0
> [00000306] ts_dvbpsi input debug: New program: 17
> [00000306] ts_dvbpsi input debug: New program: 33
> [00000306] ts_dvbpsi input debug: New program: 81
> [00000306] ts_dvbpsi input debug: New program: 193
> [00000306] ts_dvbpsi input debug: New program: 209
> [00000306] ts_dvbpsi input debug: New program: 272
> [00000306] ts_dvbpsi input debug: New program: 274
> [00000306] ts_dvbpsi input debug: New program: 275
> [00000306] ts_dvbpsi input debug: New program: 276
> [00000306] ts_dvbpsi input debug: New program: 289
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 256
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 257
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 260
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 265
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 266
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 267
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 262
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 263
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 264
> [00000306] dvb input debug: Opening demux device /dev/dvb/adapter0/demux0
> [00000306] dvb input debug: ioctl_SetDMXFilter: DMX_PES_OTHER for PMT 259


> [00000306] mpeg_system input warning: first packet for PID 256 received
> by TS demux
> libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0)
> [00000306] ts_dvbpsi input debug: Processing PMT for program 17 version 12
> [00000306] ts_dvbpsi input warning: Unknown codec/type for Private PES
> stream
> [00000306] mpeg_system input warning: first packet for PID 257 received
> by TS demux
> libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0)
> [00000306] ts_dvbpsi input debug: Processing PMT for program 33 version 19
> [00000306] ts_dvbpsi input warning: Unknown codec/type for Private PES
> stream
> [00000307] gtk interface warning: cannot determine input method
> [00000307] gtk interface debug: stream has changed, refreshing interface
> [00000306] mpeg_system input warning: first packet for PID 260 received
> by TS demux
> libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0)
> [00000306] ts_dvbpsi input debug: Processing PMT for program 81 version 23
> [00000306] ts_dvbpsi input warning: Unknown codec/type for Private PES
> stream
> [00000306] mpeg_system input warning: first packet for PID 265 received
> by TS demux
> libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0)
> [00000306] ts_dvbpsi input debug: Processing PMT for program 193 version 24
> [00000306] ts_dvbpsi input warning: Unknown codec/type for Private PES
> stream

That are a lot of TS discontinuitis that is worrying. Could it be that 
you selected the wrong program ??
-- 
Kind greetings,

Jean-Paul Saman


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list