After a second furious night of coding I give you version 0.0.1 of libdvb. It's available from:
http://jemmari.tky.hut.fi/dvb/libdvb-0.0.1.tar.gz Now it should work even when the "old" filter mode is in use. It seems the old filter mode doesn't set the payload_start bit in TS packets, which confused my TS demuxer a bit. This new version uses section filters to work around the problem. I also implemented partial NIT decoding. NOTE: You have to tune to a channel with [sct]zap for dvbscan to work. Here's what dvbscan prints out on my cable network: Cheers, Juha jey@jemmari:~/libdvb$ czap "YLE TV1" using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' tuning to 130000000 Hz status 00 | signal 8888 | snr b3b3 | ber 00001c92 | unc 0000007f | status 1f | signal ffff | snr dfdf | ber 00001c92 | unc 00000002 | FE_HAS_LOCK jey@jemmari:~/libdvb$ ./dvbscan -p Found PAT. Transport stream: 0x1001, network PID: 0x0010, 10 programs Found NIT for network 0x3301. Found SDT. Transport streams: 0x2001: Orig. network id: 0x20F6 Cable frequency: 120.000 MHz Cable symbol rate: 6900.000 ksym/s Services: 0x0121: YLE Rinnakkainen [Provider: YLE], digital television service Maximum bitrate: 44 kB/s Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data 0x0114: YLE VEGA+ [Provider: YLE], digital radio sound service PCR PID: 0x0081 Maximum bitrate: 27 kB/s System clock accuracy: 10 x 10^-0 ppm Stream PID 0x0297, ISO/IEC 13818-3 Audio Language code: fin 0x0113: YLEN KLASSINEN [Provider: YLE], digital radio sound service PCR PID: 0x0081 Maximum bitrate: 31 kB/s System clock accuracy: 10 x 10^-0 ppm Stream PID 0x0296, ISO/IEC 13818-3 Audio Language code: fin 0x0112: YLE AINO [Provider: YLE], digital radio sound service PCR PID: 0x0080 Maximum bitrate: 27 kB/s System clock accuracy: 10 x 10^-0 ppm Stream PID 0x028D, ISO/IEC 13818-3 Audio Language code: fin 0x0110: YLE PEILI [Provider: YLE], digital radio sound service PCR PID: 0x0080 Maximum bitrate: 27 kB/s System clock accuracy: 10 x 10^-0 ppm Stream PID 0x028C, ISO/IEC 13818-3 Audio Language code: fin 0x00D1: YLE Teema [Provider: YLE], digital television service PCR PID: 0x0084 Maximum bitrate: 968 kB/s Stream PID 0x0204, ISO/IEC 13818-2 Video Stream PID 0x02B2, ISO/IEC 13818-3 Audio Language code: fin Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data Stream PID 0x0FBB, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: fin Subtitle composition page id: 0x0001 Subtitle ancillary page id: 0x0032 Stream PID 0x0FBC, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: swe Subtitle composition page id: 0x0002 Subtitle ancillary page id: 0x0032 Stream PID 0x0C26, ISO/IEC 13818-6 type B Stream PID 0x0C30, ISO/IEC 13818-1 private_sections 0x00C1: YLE24 [Provider: YLE], digital television service PCR PID: 0x0083 Maximum bitrate: 959 kB/s Stream PID 0x0203, ISO/IEC 13818-2 Video Stream PID 0x02A8, ISO/IEC 13818-3 Audio Language code: fin Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data Stream PID 0x13A3, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: fin Subtitle composition page id: 0x0001 Subtitle ancillary page id: 0x0032 Stream PID 0x13A4, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: swe Subtitle composition page id: 0x0002 Subtitle ancillary page id: 0x0032 Stream PID 0x0C26, ISO/IEC 13818-6 type B Stream PID 0x0C30, ISO/IEC 13818-1 private_sections 0x0051: YLE FST [Provider: YLE], digital television service PCR PID: 0x0082 Maximum bitrate: 999 kB/s Stream PID 0x0202, ISO/IEC 13818-2 Video Stream PID 0x029E, ISO/IEC 13818-3 Audio Language code: swe Stream PID 0x029F, ISO/IEC 13818-3 Audio Language code: fin Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data Stream PID 0x0BD3, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: fin Subtitle composition page id: 0x0001 Subtitle ancillary page id: 0x0032 Stream PID 0x0BD4, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: swe Subtitle composition page id: 0x0002 Subtitle ancillary page id: 0x0032 Stream PID 0x0C27, ISO/IEC 13818-6 type B Stream PID 0x0C28, ISO/IEC 13818-6 type B Stream PID 0x0C32, ISO/IEC 13818-1 private_sections Stream PID 0x0C31, ISO/IEC 13818-1 private_sections Stream PID 0x0C26, ISO/IEC 13818-6 type B Stream PID 0x0C30, ISO/IEC 13818-1 private_sections 0x0021: YLE TV2 [Provider: YLE], digital television service PCR PID: 0x0081 Maximum bitrate: 999 kB/s Stream PID 0x0201, ISO/IEC 13818-2 Video Stream PID 0x0294, ISO/IEC 13818-3 Audio Language code: fin Stream PID 0x0295, ISO/IEC 13818-3 Audio Language code: swe Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data Stream PID 0x07EB, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: fin Subtitle composition page id: 0x0001 Subtitle ancillary page id: 0x0032 Stream PID 0x07EC, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: swe Subtitle composition page id: 0x0002 Subtitle ancillary page id: 0x0032 Stream PID 0x0C26, ISO/IEC 13818-6 type B Stream PID 0x0C30, ISO/IEC 13818-1 private_sections 0x0011: YLE TV1 [Provider: YLE], digital television service PCR PID: 0x0080 Maximum bitrate: 999 kB/s Stream PID 0x0200, ISO/IEC 13818-2 Video Stream PID 0x028A, ISO/IEC 13818-3 Audio Language code: fin Stream PID 0x028B, ISO/IEC 13818-3 Audio Language code: swe Stream PID 0x0911, ISO/IEC 13818-1 PES packets containing private data Stream PID 0x0403, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: fin Subtitle composition page id: 0x0001 Subtitle ancillary page id: 0x0032 Stream PID 0x0404, ISO/IEC 13818-1 PES packets containing private data Subtitle type: 0x11 Subtitle language: swe Subtitle composition page id: 0x0002 Subtitle ancillary page id: 0x0032 Stream PID 0x0C27, ISO/IEC 13818-6 type B Stream PID 0x0C28, ISO/IEC 13818-6 type B Stream PID 0x0C32, ISO/IEC 13818-1 private_sections Stream PID 0x0C31, ISO/IEC 13818-1 private_sections Stream PID 0x0C26, ISO/IEC 13818-6 type B Stream PID 0x0C30, ISO/IEC 13818-1 private_sections -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.