vdr-plugin-xvdr icon indicating copy to clipboard operation
vdr-plugin-xvdr copied to clipboard

All tuners busy with streamdev-client

Open LubosD opened this issue 11 years ago • 4 comments

I have the following setup:

Main server: various DVB-S positions, streamdev-client to connect to Small server Small server: DVB-T, streamdev-server

XBMC connects to Main server via XVDR.

Once I start using XBMC to tune to DVB-T, then DVB-T stops working after a few channel switches, saying that all tuners are busy. But nothing else is using those DVB-T channels. I can even connect directly to streamdev-server on Small server and it works flawlessly.

The XVDR plugin seems to break the streamdev-client instance somehow so that it thinks it is busy for some reason. This doesn't happen when manually receiving DVB-T channels via streamdev-server on Main server, so it is specific to XVDR.

Log from Main server:

Aug 17 00:03:52 zeus vdr: [2410] XVDR: --------------------------------------
Aug 17 00:03:52 zeus vdr: [2410] XVDR: Started streaming of channel FAJNROCK TV (timeout 3 seconds, priority 50)
Aug 17 00:03:52 zeus vdr: [2662] XVDR: streamer thread started.
Aug 17 00:03:52 zeus vdr: [2661] XVDR: LiveQueue started
Aug 17 00:03:52 zeus vdr: [2662] XVDR: Found available device 5
Aug 17 00:03:52 zeus vdr: [2662] EEPG: setstatus 0
Aug 17 00:03:53 zeus vdr: [2662] EEPG: setstatus 0
Aug 17 00:03:53 zeus vdr: [2662] EEPG: setstatus 1
Aug 17 00:03:53 zeus vdr: [2662] XVDR: adding channel to cache
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Creating demuxers
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Stream: MPEG2VIDEO PID: 3841 0x0 DAR: 0.00 FPS: 0.000 (parsed: no)
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Stream: MPEG2AUDIO PID: 3842 0 Hz, 0 channels, Lang: cze (parsed: no)
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Successfully switched to channel 256 - FAJNROCK TV
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Will wait for first I-Frame ...
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Starting PAT scanner
Aug 17 00:03:53 zeus vdr: [2662] XVDR: done switching.
Aug 17 00:03:53 zeus vdr: [2662] XVDR: --------------------------------------
Aug 17 00:03:53 zeus vdr: [2662] XVDR: NEW AUDIO INFORMATION:
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Channels: 2
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Samplerate: 48000 Hz
Aug 17 00:03:53 zeus vdr: [2662] XVDR: Bitrate: 160000 bps
Aug 17 00:03:53 zeus vdr: [2662] XVDR: --------------------------------------
Aug 17 00:03:54 zeus vdr: [2662] XVDR: --------------------------------------
Aug 17 00:03:54 zeus vdr: [2662] XVDR: NEW PICTURE INFORMATION:
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Picture Width: 720
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Picture Height: 576
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Display Aspect Ratio: 1.78
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Frames per second: 25.00
Aug 17 00:03:54 zeus vdr: [2662] XVDR: --------------------------------------
Aug 17 00:03:54 zeus vdr: [2662] XVDR: streaming of channel started
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Stored channel information in cache:
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Stream: MPEG2VIDEO PID: 3841 720x576 DAR: 1.78 FPS: 25.000 (parsed: yes)
Aug 17 00:03:54 zeus vdr: [2662] XVDR: Stream: MPEG2AUDIO PID: 3842 48000 Hz, 2 channels, Lang: cze (parsed: yes)
Aug 17 00:03:54 zeus vdr: [2662] XVDR: sync found at offset 315 (streamtype: MPEG2AUDIO / 2104 bytes in buffer / framesize: 480 bytes)
Aug 17 00:03:55 zeus vdr: [2292] EEPG: PMT scan idle
Aug 17 00:03:55 zeus vdr: [2292] EEPG: Ended all processing
Aug 17 00:04:07 zeus vdr: [2662] XVDR: sync found at offset 165 (streamtype: MPEG2AUDIO / 2085 bytes in buffer / framesize: 480 bytes)
Aug 17 00:04:12 zeus vdr: [2662] XVDR: streamer thread ended.
Aug 17 00:04:12 zeus vdr: [2661] XVDR: LiveQueue stopped
Aug 17 00:04:12 zeus vdr: [2410] XVDR: --------------------------------------
Aug 17 00:04:12 zeus vdr: [2410] XVDR: Started streaming of channel Ocko Gold (timeout 3 seconds, priority 50)
Aug 17 00:04:12 zeus vdr: [2779] XVDR: streamer thread started.
Aug 17 00:04:12 zeus vdr: [2778] XVDR: LiveQueue started
Aug 17 00:04:20 zeus vdr: [2779] XVDR: streamer thread ended.
Aug 17 00:04:20 zeus vdr: [2778] XVDR: LiveQueue stopped
Aug 17 00:04:20 zeus vdr: [2410] XVDR: --------------------------------------

The first channel ("FAJNROCK TV") worked fine, the following ("Ocko Gold") and any other didn't work any more. Even when I returned to "FAJNROCK TV", it said all tuners busy.

LubosD avatar Aug 16 '14 22:08 LubosD

Ok. Never tried to use the streamdev-client to connect 2 vdr instances, ...

I have the infrastructure to test this, but I'm currently a bit busy. I'll take a look at this ASAP.

Thanks for reporting.

pipelka avatar Aug 20 '14 19:08 pipelka

I have nearly the same setup, but my main server has just one DVB-S card and the small server should deliver two additional DVB-S2 cards.

I connect to the main Server via XVDR and can watch one channel with no harm. If i try to get an second XVDR Connection or an Streamdev-Client connection to the main server while an XVDR Client get an stream, it says "All tuners are busy". If i try to directly connect to the small server, i get an channel stream too, no problems.

If i can deliver more usefull informations, please let me know.

tweippert avatar Dec 11 '14 17:12 tweippert

It's on my todo but I'm currently really busy. Thanks for reminding me ;-)

pipelka avatar Dec 11 '14 18:12 pipelka

Hello pipelka,

Same issue here. I just did a git clone / make / make install for the vdr-plugin-xvdr.

I'm using vdr 2.2.0, vdr-plugin-streamdev (client) 0.6.1 and vdr-plugin-xvdr latest git commit.

I have 4 streamdev-client instances. After switching 4 channels on kodi, xvdr say that all tuners are busy.

Thank you very much for your awesome work!

ghost avatar Feb 20 '16 17:02 ghost