Hallo,
ich würde gerne einen VDR 2.2.0 mit streamdev-server 0.6.1+git20150213-3 unter Raspbian Stretch benutzen, um mittels ts2shout 0.71+git20190405-1 Audioströme im SHOUTcast-Format auf Squeezebox-Clients abspielen zu können. Leider kommen bislang beim Client keine Audiodaten an; er steigt deshalb nach einer Weile mit Timed out waiting for data aus.
Laut Apache-Log auf dem Server scheint ts2shout den Audiostrom zu erkennen, danach aber nur noch "nutzlose" SDT-Einträge und EIT-Einträge für "andere" Sender auf dem gleichen Transponder zu sehen. Von den gut 13 MB Daten der ersten Minute werden 0 MB weitergeleitet:
[Mon Jul 08 09:10:48.972470 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:48.971401 2019] [ts2shout:info] [pid 14037] init_structures(): Subscribing to MPEG-TS PID 0, 17, 18 (CHANNEL_TYPE_PAT, CHANNEL_TYPE_SDT, CHANNEL_TYPE_EIT): /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:48.973004 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:48.971988 2019] [ts2shout:info] [pid 14037] Streaming with shoutcast StreamTitles in CGI mode.: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:50.397138 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:50.396600 2019] [ts2shout:info] [pid 14037] add_channel(): Subscribing to MPEG-TS PID 3100 (Type CHANNEL_TYPE_PMT): /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:50.597860 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:50.597299 2019] [ts2shout:info] [pid 14037] add_payload_from_pmt(): Found mp1/mp2 audio stream in PID 3101: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:50.599049 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:50.597492 2019] [ts2shout:info] [pid 14037] add_channel(): Subscribing to MPEG-TS PID 3101 (Type CHANNEL_TYPE_PAYLOAD): /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:50.599389 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:50.597698 2019] [ts2shout:info] [pid 14037] Synced to MP1/MP2 audio in PID 3101 stream: 0xc0: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:50.599710 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:50.597782 2019] [ts2shout:info] [pid 14037] MPEG-1 layer 2, 192 kbps, 48000 Hz, Stereo: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:51.602720 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:51.602053 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:10:55.916469 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:55.915869 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:56.117319 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:56.116731 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `BAYERN 3 - und DU mittendrin!': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:57.338199 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:57.337642 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `B5 Bayern': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:57.338888 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:57.337803 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `Bayern plus - Der Vormittag': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:10:57.339272 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:10:57.338213 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:11:03.103254 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:03.102152 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:03.612006 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:03.611475 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `Live nach Neun': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:04.527448 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:04.526706 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:11:10.197925 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:10.197212 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:11.402636 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:11.402107 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `radioWissen': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:11.602683 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:11.602005 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:11:24.525903 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:24.525416 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:24.628871 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:24.628453 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `Philharmonie': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:25.951332 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:25.950841 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:11:45.915786 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:45.915298 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:47.036735 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:47.036281 2019] [ts2shout:info] [pid 14037] EIT: Current transmission `Giraffe, Erdm\xc3\xa4nnchen & Co': /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:47.241739 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:47.241253 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
...
[Mon Jul 08 09:11:51.620220 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:51.619750 2019] [ts2shout:info] [pid 14037] SDT: Warning: Stream (also) contains unkown service with id 0x19: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:53.072842 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] AH01215: [Mon Jul 08 09:11:53.072285 2019] [ts2shout:info] [pid 14037] curl_download: streaming error after fetching 13.30 MB and writing 0.00 MB. Exiting.: /usr/lib/cgi-bin/ts2shout
[Mon Jul 08 09:11:53.081112 2019] [cgi:error] [pid 13666] [client 10.0.1.107:46392] End of script output before headers: ts2shout
Alles anzeigen
Meine Konfigurationsdatei für Apache sieht so aus:
<VirtualHost *:80>
LogLevel debug
ServerName radio.my.lan
ServerAdmin webmaster@my.lan
DocumentRoot /var/www/html
<Directory "/var/www/html">
Require all denied
</Directory>
<Location /shoutcast>
Require ip 10.0.0.0/16
#<If "%{HTTP:Icy-MetaData} in {'1'}">
# SetEnv "MetaData" "1"
#</If>
SetEnv "MetaData" "1"
SetEnv TVHEADEND "http://localhost:3000/TS"
SetEnvIf REQUEST_URI "°([-A-Za-z0-9_ ]*).ts$" PROGRAMMNO=$1 AC3=1
SetEnvIf REQUEST_URI "([-A-Za-z0-9_ ]*).ts$" PROGRAMMNO=$1
Options +ExecCGI
Action ts2shout /cgi-bin/ts2shout virtual
SetHandler ts2shout
</Location>
</VirtualHost>
Alles anzeigen
Und die URI in meinem Eintrag in der Favoritenliste auf dem Logitech Media Server ist
Was mache ich falsch?