On Wed, 2010-02-10 at 11:18 +0200, Rolf Ahrenberg wrote:
On Tue, 9 Feb 2010, L. Hanisch wrote:
I received your sample and it looks like a valid TS with PAT, PMT and PCR, so the plugin has nothing else to do as to pass it through to the vdr (hopefully).
In the meanwhile, one could also try out the IPTV plugin without any ffmpeg hassle by using a script that tunes the device and then simply:
cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1
Ok, did some reading of the manual..
cat /dev/video0 | nc -vv -u 127.0.0.1 ${PORT} &
Should work..
Now says:
localhost [127.0.0.1] 4321 (rwhois) open sent 573440, rcvd 0
Then gets killed, or nc stops..
Logs say:
Feb 10 09:41:30 oac vdr: [31783] switching to channel 409 Feb 10 09:41:30 oac vdr: [12720] transfer thread ended (pid=31783, tid=12720) Feb 10 09:41:30 oac vdr: [31783] buffer stats: 33652 (1%) used Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 0 Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetChannel(): IPTV| S1P1|EXT|streamsvideo.sh|951 Feb 10 09:41:30 oac vdr: [31783] IPTV: cPidScanner::SetChannel(): IPTV| S1P1|EXT|streamsvideo.sh|951 Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 0 Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 1 Feb 10 09:41:30 oac vdr: [12724] transfer thread started (pid=31783, tid=12724) Feb 10 09:41:30 oac vdr: [12725] receiver on device 10 thread started (pid=31783, tid=12725) Feb 10 09:41:30 oac vdr: [12725] IPTV: cIptvUdpSocket::OpenSocket() Feb 10 09:41:30 oac vdr: [12725] IPTV: cIptvSocket::OpenSocket() Feb 10 09:41:30 oac vdr: [12725] IPTV: cSidScanner::SetStatus(): 1 Feb 10 09:41:30 oac vdr: [31783] [xine..put] Detected HD OSD, size > 752x1072, using setup values 752x647 Feb 10 09:41:30 oac vdr: [12727] IPTV streamer thread started (pid=31783, tid=12727) Feb 10 09:41:30 oac vdr: [12728] EnigmaNG effects thread started (pid=31783, tid=12728) Feb 10 09:41:30 oac vdr: [31783] EnigmaNG: cPluginSkinEnigma::LoadChannelLogo: LOGO "Hauppuage-test.xpm" NOT FOUND in /usr/share/vdr/skinenigmang/[hq]logos Feb 10 09:41:30 oac vdr: [12722] TS buffer on device 1 thread ended (pid=31783, tid=12722) Feb 10 09:41:30 oac vdr: [12721] buffer stats: 32336 (1%) used Feb 10 09:41:30 oac vdr: [12721] receiver on device 1 thread ended (pid=31783, tid=12721) Feb 10 09:41:32 oac vdr: [12725] IPTV: cPidScanner::Process: Found lower Apid: 0x1100 instead of 0xFFFF Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::Process(): Pid=0 Tid=00 Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::SetChannel() Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::SetStatus(): 0 Feb 10 09:41:32 oac vdr: [12725] IPTV: cPidScanner::Process: Found lower Vpid: 0x1011 instead of 0xFFFF Feb 10 09:41:33 oac vdr: [12725] ERROR: Skipped 36 bytes to sync on TS packet Feb 10 09:41:33 oac vdr: [12725] IPTV: cSidScanner::SetStatus(): 0 Feb 10 09:41:33 oac vdr: [12727] IPTV streamer thread ended (pid=31783, tid=12727) Feb 10 09:41:33 oac vdr: [12725] IPTV: cIptvSocket::CloseSocket() Feb 10 09:41:33 oac vdr: [12725] receiver on device 10 thread ended (pid=31783, tid=12725) Feb 10 09:41:35 oac vdr: [12728] EnigmaNG effects thread ended (pid=31783, tid=12728)