Dampfradioforum
https://www.dampfradioforum.de/

Deutschen WRN-Kanal mit eigenem Modulator abbilden.
https://www.dampfradioforum.de/viewtopic.php?f=34&t=23039
Seite 1 von 1

Autor:  Ronaldo [ Mi Dez 16, 2015 18:46 ]
Betreff des Beitrags:  Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Hallo,

den deutschen WRN-Kanal gibt es ja nicht mehr und der englische wird wegen Sparmaßnahmen der Kurzwellensender auch immer uninteressanter. Sogar unser Kabelnetzbetreiber hat den WRN schon aus der UKW-Liste genommen. Wer hat schon mal so einen "WRN"-Heimkanal mit dem eigenen Modulator nachgebildet. Welche Software nutzt Ihr dazu? Spontan würde ich einen Raspberry und Cronjobs nehmen, aber vielleicht geht das auch eleganter?

Ronaldo.

Autor:  Ronaldo [ Do Dez 17, 2015 19:47 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Ein Versuch macht klug. Hier ein Ausschnitt des aktuellen Sendeplanes der deutschsprachigen Kurzwelle, umgesetzt als LInux cronjob.

>crontab -e

Code:
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h  dom mon dow   command

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# TRT World deutsch 12:30-13:30 UTC
29 13 * * * killall vlc
30 13 * * * cvlc rtmp://do.trtcdn.com/rd/trtvotworld &
29 14 * * * killall vlc

# Frei

# R. Rumaenien Int. 15:00 - 16:00 UTC
00 16 * * * cvlc http://stream2.srr.ro:8052 &
59 16 * * * killall vlc

# R. Taiwan Int. 16:00 - 17:00 UTC
00 17 * * * cvlc mms://media.ccdntech.com/wmtencoder/rti/cbs3.wmv &
59 17 * * * killall vlc

# Frei

# IRIB 17:23 - 18:21 UTC
23 18 * * * cvlc mms://77.36.153.27:8081 &
21 19 * * * killall vlc

# TRT 18:30 - 19:30 UTC
22 19 * * * cvlc rtmp://do.trtcdn.com/rd/trtvotworld &
29 20 * * * killall vlc

# Restlaufzeit Radio Rumaenien Int. bis 20:00 UTC
30 20 * * * cvlc http://stream2.srr.ro:8052 &
59 20 * * * killall vlc

# R. Ukraine Int  20:00-21:00 UTC
00 21 * * * cvlc http://91.194.250.169:8000/ur4-mp3 &
59 21 * * * killall vlc

# R. Horizonte 21:00 UTC
00 22 * * * cvlc mms://72.55.165.46/horizonefm &
00 23 * * * killall vlc

# Frei

# -------------------------------------------------------


Leider gibt es bei cronjobs keine feinere Auflösung als den Minutentakt. WICHTIG ! Ich bin darauf reingefallen. Die Jobwarteschlange wird nicht FIFO abgearbeitet! Also immer eine Minute zwischen des Streams Platz lassen, sonst killt man gleich seinen neuerstellten Job und der Modulator hat nichts zu modulieren. Vielleicht hat ja jemand noch eine bessere Idee zur Umsetzung? Was noch fehlt wäre ein Podcastgrabber für radio360.com der die Freiräume zwischen den Streams ausfüllt.

Ronaldo.

Autor:  Ronaldo [ Fr Dez 18, 2015 12:36 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Hallo,

leider kommen die Streams der Sender mit unterschiedlicher Lautstärke an. Für eine Anpassung beziehungsweise Normalisierung des Modulationsgrades bietet es sich an, die NF-Ausgabe per cronjob zu optimieren.

Eine Erhöhung erziehle ich auf meinem System mit dem Kommando amixer sset Speaker 70% In die crontab
eingefügt könnte eine Anpassung so aussehen.

Code:
# IRIB 17:23 - 18:21 UTC
23 18 * * * cvlc mms://77.36.153.27:8081 &
23 18 * * * amixer sset Speaker 70%
21 19 * * * killall vlc
21 19 * * * amixer sset Speaker 50%

# TRT 18:30 - 19:30 UTC
22 19 * * * cvlc rtmp://do.trtcdn.com/rd/trtvotworld &
29 20 * * * killall vlc


Der NF-Pegel wird hier um 18:23 (17:23 UTC) um 20% erhöht und um 19;21 (18:21 UTC) wieder auf 50% herabgesetzt.

Autor:  olli0371 [ Di Dez 22, 2015 17:26 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Hallo,

was machst du da genau? WRN hab ich noch nicht gehört.

Grüße
Oliver

Autor:  Ronaldo [ Di Dez 22, 2015 19:39 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

olli0371 hat geschrieben:
Hallo,
was machst du da genau?


Bitte spezifiziere deine Frage.

olli0371 hat geschrieben:
Hallo
WRN hab ich noch nicht gehört.


Das soll nicht so bleiben, auch wenn es keinen deutschen Kanal mehr gibt. http://www.wrn.org

Grüße
Ronaldo

Autor:  olli0371 [ Di Dez 22, 2015 22:09 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Hi,

ich denke nun ist es klar. WRN stellt verschiedene Internet Radiistreams zusammen. Du versuchsr per cronjob nacheinander verschiedene Streams abzuspielen. - Interessant :super:
Ich nutze hier Audials auf einem Smartphone zum Streamen, das geht ganz gut.

Gruß
Oliver

Autor:  Ronaldo [ Do Mär 31, 2016 17:52 ]
Betreff des Beitrags:  Re: Deutschen WRN-Kanal mit eigenem Modulator abbilden.

Update der Cronjobs für Sommersendeperiode 2016.

Code:
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h  dom mon dow   command

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# TRT World deutsch 11:30-12:30 UTC
29 13 * * * killall -9 vlc
30 13 * * * cvlc rtmp://do.trtcdn.com/rd/trtvotworld &
29 14 * * * killall -9 vlc

# R. Rumaenien Int. 14:00 - 15:00 UTC
00 16 * * * cvlc http://stream2.srr.ro:8052 &
59 16 * * * killall -9 vlc

# R. Taiwan Int. 16:00 - 17:00 UTC
00 18 * * * cvlc mms://media.ccdntech.com/wmtencoder/rti/cbs3.wmv &
59 18 * * * killall -9 vlc

# IRIB Sunday 17:23 - 18:21 UTC
23 19 * * 7 cvlc mms://77.36.153.27:8081 &
23 19 * * 7 amixer sset Speaker 145
21 20 * * 7 killall -9 vlc
21 20 * * 7 amixer sset Speaker 100

# TRT Monday - Saturday 17:23 - 18:30 UTC
23 19 * * 0-6 cvlc rtmp://do.trtcdn.com/rd/trtvotworld &
29 20 * * 0-6 killall -9 vlc

# Rest Radio Rumaenien Int. bis 19:00 UTC
30 20 * * * cvlc http://stream2.srr.ro:8052 &
59 20 * * * killall -9 vlc

# R. Ukraine Int  19:00-20:00 UTC
00 21 * * * cvlc http://91.194.250.169:8000/ur4-mp3 &
00 21 * * * amixer sset Speaker 145
59 21 * * * killall -9 vlc
59 21 * * * amixer sset Speaker 100

# KBS World 20:00-21:00 UTC
00 22 * * * cvlc mms://live.kbs.gscdn.com/world_rki2 &
59 22 * * * killall -9 vlc


# -------------------------------------------------------


Einen schönen Radioabend & Gruß
Ronaldo

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/