Project

General

Profile

Analogue TV (SCART) to TVHeadend

Added by Kev S about 10 years ago

Does anyone have any ideas how I can get TVHeadend to view the contents of a SCART capable device?

Basically I want to record the output of our Sky+ HD box in the lounge and record some programmes / view the live Sky output via TVHeadend / XBMC.

My housemate has a "hauppauge hd pvr" which happens to have output a .ts file when you do "cat /dev/video0 > foo.ts" on my Raspberry Pi so the thoughts I've had are...

1. Install TV Headend on the Pi - No dice as there is no tuner in it...
2. Find an analogue USB device - don't seem to be any about since DSO and in any case would I be able to access the composite input?
3. On demand stream the Hauppage - i.e. if I connect to rtsp://pi:9090/ it starts catting the output of /dev/video0 to my media centre (a Revo in a different room) - I think this is the most likely to work but I'm struggling to find such a relay server - anyone any ideas?
4. Setup VLC to Multicast relay - I got something out of this but was breaking up something rotten - but this would need to be always on and as soon as the Sky box is placed in standby the output from /dev/video0 fails and vlc bombs out. (Plus I'd rather not have the bright blue light on 24/7 - Is it possible for Multicast to do the same as 3. - i.e. only open the input when someone is trying to view)
5. A hardware SCART to Multicast server - there seems to be mentions of a few around a decade ago but they've either vanished or are stupid money (£2,000)
6. A DVB-T Modulator - possible but way too expensive (£350+!) and would require the Pi running TVHeadend for my Revo to connect to.

Opening the .ts file in TSReader shows

Program Association Table

PAT Version Number: 1
Transport Stream ID: 1 (0x0001)

PMT PID 256 (0x0100) - Program 1 
Program Map Table(s)

Program Number: 1

Stream Type: 0x1b H.264 Video PID 4113 (0x1011)
H.264 Video: Resolution 720 x 576

Stream Type: 0x0f ISO/IEC 13818-1 Reserved PID 4352 (0x1100)
Service Description Table

Event Information Table

MPEG-2 Statistics

Table    Sections Processed    CRC Errors
PAT    3.3k    0
CAT    0    0
PMT    3.3k    0
NIT    0    0
SDT    0    0
EIT    0    0

Continuity errors: 0
TEI errors: 0
Calculated multiplex rate: 4084321 bps
General Information

Source: Transport Stream File
Tuner: n/a
Signal: n/a
Network Type: Unknown
Run Time: 000:01:14
PID Usage Chart

0 (0.26% ~ 0.01 Mbps)    
0 MPEG-2 Program Assocation Table
256 (0.26% ~ 0.01 Mbps)    
256 MPEG-2 PMT for program 1
4113 (96.58% - 3.65 Mbps)    
4113 H.264 Video for program 1
4352 (2.89% ~ 0.11 Mbps)    
4352 ISO/IEC 13818-1 Reserved for program 1