Hallo,
in der Konfig-Datei steht noch was von AC3. Das habe ich probiert aber man hört nicht. Habe getestet
mit foobar und VLC.
Man sieht das Daten im VLC ankommen, die Datenrate passt auch, aber die Lautsprecher sind stumm.
Hat jemand einen Tipp?
Hier mal meine apache-Konfig:
Code
<Location /radio>
Order Deny,Allow
Deny from all
Allow from 192.168.10.0/24
Allow from 192.168.13.0/24
Allow from ::1
Allow from 127.0.0.1
<If "%{HTTP:Icy-MetaData} in {'1'}">
SetEnv "MetaData" "1"
</If>
# If you prefer RDS data
SetEnv RDS 1
#SetEnv TVHEADEND "http://localhost:9981/stream/channelname"
SetEnv TVHEADEND "http://127.0.0.1:3000"
SetEnvIf REQUEST_URI "BR-KLASSIK$" PROGRAMMNO=S19.2E-1-1093-28403.ts AC3=1
SetEnvIf REQUEST_URI "DASDING" PROGRAMMNO=S19.2E-1-1093-28471.ts
SetEnvIf REQUEST_URI "SWR3" PROGRAMMNO=S19.2E-1-1093-28468.ts
SetEnvIf REQUEST_URI "1LIVE" PROGRAMMNO=S19.2E-1-1093-28475.ts
# The radio stations are called e.g.
# /radio/SWR1%20BW
# if you want to fetch a radio channel named "SWR1 BW" in tvheadend
# Only A-Z/a-z/0-9, space and "-" are possible due to the regex.
# Change names containing other characters in tvheadend frontend
# You can also use http://localhost:9981/stream/channelnumber
# and use channel numbers
# SetEnvIf REQUEST_URI "°([-A-Za-z0-9_ ]*)$" PROGRAMMNO=$1 AC3=1
#SetEnvIf REQUEST_URI "([-A-Za-z0-9_ ]*)$" PROGRAMMNO=$1
# SetEnvIf REQUEST_URI "([-A-Za-z0-9_ ]*)$" PROGRAMMNO=$1
Options +ExecCGI
Action ts2shout /cgi-bin/ts2shout virtual
SetHandler ts2shout
</Location>
Alles anzeigen
Hier das Log:
Code
ts2shout version v0.88-6-gf423008 compiled 18.05.2020 15:22 started
MPEG streaming without shoutcast support, audio only in CGI mode with RDS support.
extract_pat_payload(): programme has transport_stream_id: 1093
add_channel(): Subscribing to MPEG-TS PID 1030 (Type CHANNEL_TYPE_PMT)
add_payload_from_pmt(): Found mp1/mp2 audio stream in PID 1031 (service_id 28468)
add_channel(): Subscribing to MPEG-TS PID 1031 (Type CHANNEL_TYPE_PAYLOAD)
Synced to MPEG-1 layer 2, 320 kbps, 48000 Hz, Stereo
SDT: Stream is station SWR3 from network ARD SWR.
add_cache() warning: Cannot open cache file /var/tmp/ts2shout.cache (trying to create): No such file or directory
EIT: Current transmission `Die Morningshow'
RDS: RDS data found, using RDS instead of EIT.
RDS: DIE MORNINGSHOW
umschalten auf AC3-Sender
AC-3 streaming without shoutcast support, audio only in CGI mode with RDS support.
write_streamdata: Error or EOF on STDOUT(?) during write.
curl_download: Terminated after fetching 19.92 MB and writing 3.28 MB. Exiting.
extract_pat_payload(): programme has transport_stream_id: 1093
add_channel(): Subscribing to MPEG-TS PID 130 (Type CHANNEL_TYPE_PMT)
add_payload_from_pmt(): Found AC-3 audio stream in PID 132
add_channel(): Subscribing to MPEG-TS PID 132 (Type CHANNEL_TYPE_PAYLOAD)
Synced to AC-3, 448 kbit/s, 48000 Hz, channels: L/R (2/0)
SDT: Stream is station BR-KLASSIK from network ARD BR.
EIT: Current transmission `Allegro'
^C
Alles anzeigen