Editing Multimedia

From Chaosdorf Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
[[File:Pulseaudio.png|thumb|right|PulseAudio Volume Control]]
[[File:Pulseaudio.png|thumb|right|PulseAudio Volume Control]]


The Hackcenter area of our space is equipped with a powerful sound system. four ceiling- and wall-mounted speakers (JBL control), accompanied by a subwoofer in the right front corner are wired to four amplifiers located in the server room.
The front area of our space is equipped with a powerful sound system. Seven wall-mounted speakers (JBL control), accompanied by a subwoofer beneath the stairs are wired to four amplifiers located in the server room.


=== PulseAudio ===
=== PulseAudio ===
Use [[Wikipedia:PulseAudio|PulseAudio]] for playback from your machine or MPD/VLC/Kodi.


see [[Host:RackPi#Nutzung_Audio_Interface]]
PULSE_SERVER=pulse vlc
 
There are three output devices available:
# ''Upmix'' for background music
# ''Hackcenter'' for showing stuff in the back of the room, only the speaker near the TV is used
# ''Presentation'' for showing stuff in the lounge, using the three speakers at the screen
# ''Surround'' for pass-through of multi-channel audio (theatric)
 
For example, use the following command to create a remote sink on your machine:
pacmd load-module module-tunnel-sink server=pulse # sink=hackcenter
 
Then, switch the desired stream to the new sink. Use can use <tt>pavucontrol</tt> for that.
 
'''Warning:''' Remember to lower your playback volume before switching outputs to prevent damaging everyones ears.
 
Um vom lokalen Capture-Device an den Mischer zu streamen, nutze folgendes Kommando:
parec --latency-msec=50 | pacat --latency-msec=50 --server=pulse


=== MPRIS auf MQTT publishen ===
=== MPRIS auf MQTT publishen ===
Line 19: Line 36:


=== ALSA ===
=== ALSA ===
PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound in the [[Hackcenter]]. To override these, use the PulseAudio mixer interface.
PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound both in the [[Laptop Lounge|Lounge]] and in the [[Hackcenter]]. To override these, use the PulseAudio mixer interface.
There's a web interface at https://pulseweb.chaosdorf.space.
There's a web interface at https://pulseweb.chaosdorf.space.


=== MPD ===
=== Musik ===
[[File:ympd.png|thumb|right|300px|Unser Web Interface]]
[[File:ympd.png|thumb|right|300px|Unser Web Interface]]
Zum Musikhören: Die Verstärker über die Schalterleiste in der Ecke einschalten, sicherstellen, dass Input 1 ausgewählt ist und [[sobek]] an ist. Die Anlage ist an den Multimedia-Server angeschlossen, auf dem ein [https://www.musicpd.org/ MPD] als Jukebox läuft.
Zum Musikhören: Die Verstärker über http://dorfmap/ einschalten. Die Anlage ist an den Multimedia-Server angeschlossen, auf dem ein [https://www.musicpd.org/ MPD] als Jukebox läuft.


Anschließend kann die Musik zum Beispiel über unser Web Interface unter https://ympd.chaosdorf.space/ gesteuert werden.
Anschließend kann die Musik zum Beispiel über unser Web Interface unter http://ympd/ gesteuert werden.


Da das Web Interface auf Einfachheit ausgelegt ist, möchtet ihr evtl. einen MPD Client auf eurem Gerät nutzen. Eine umfassende Liste gibt es unter http://mpd.wikia.com/wiki/Clients
Da das Web Interface auf Einfachheit ausgelegt ist, möchtet ihr evtl. einen MPD Client auf eurem Gerät nutzen. Eine umfassende Liste gibt es unter http://mpd.wikia.com/wiki/Clients
Line 42: Line 59:


Man kann den Ordnernamen auch weglassen, aber dann dauert es ggf. länger.
Man kann den Ordnernamen auch weglassen, aber dann dauert es ggf. länger.
=== Chromecast ===
Am Medienumschalter ist ein Chromecast an Kanal 4<ref>[[Mediarack#Anschl.C3.BCsse_Medienumschalter_IN1606]]</ref> auswählbar, dann kann man Sound über Verstärker hören ✨


== Filme ==
== Filme ==
Line 50: Line 64:


=== Chromecast ===
=== Chromecast ===
Im Hackcenter hängt am TV ein Chromecast.
In Hackcenter und Lounge hängen am TV bzw. Projektor jeweils ein Chromecast, die entsprechend benannt sein sollten.
 
Android (und dementsprechend fast jede Audio-/Video-App dafür), die offizielle YouTube-App für iOS und Google Chrome können out of the Box die Chromecasts ansprechen.


Android (mit installierten Google-Apps) (und dementsprechend fast jede Audio-/Video-App dafür), die offizielle YouTube-App für iOS und Google Chrome können out of the Box die Chromecasts ansprechen.
In Chromium muss man den Support erst einschalten. <u>Aber Vorsicht! Zumindest bei einer Chromium-Version von Debian wurde anschließend von Abstürzen berichtet!</u> Wer es dennoch ausprobieren mag, geht auf <tt>chrome://flags/#load-media-router-component-extension</tt> und setzt den Punkt von ''Default'' auf ''Enabled''.


Um lokal gespeicherte Videos abzuspielen, ist [https://github.com/xat/castnow CastNow] ein gutes Tool, obwohl es NodeJS nutzt. Ohne Optionen erwartet ein Chrome einen '''MP4-Container''' mit '''AVC-Videotrack''' und '''AAC-Audiotrack'''. CastNow kann ffmpeg nutzen, um Dateien entsprechend zu konvertieren (mittels <tt>--tomp4</tt>) und reicht dafür einfach nur ffmpeg-Kommandos durch. Wenn man also ein Video hat, das nur einen AVC-Videotrack hat, aber einen anderes Audioformat, wäre das entsprechende Kommando:
Um lokal gespeicherte Videos abzuspielen, ist [https://github.com/xat/castnow CastNow] ein gutes Tool, obwohl es NodeJS nutzt. Ohne Optionen erwartet ein Chrome einen '''MP4-Container''' mit '''AVC-Videotrack''' und '''AAC-Audiotrack'''. CastNow kann ffmpeg nutzen, um Dateien entsprechend zu konvertieren (mittels <tt>--tomp4</tt>) und reicht dafür einfach nur ffmpeg-Kommandos durch. Wenn man also ein Video hat, das nur einen AVC-Videotrack hat, aber einen anderes Audioformat, wäre das entsprechende Kommando:
<pre>castnow ./myvideo.mkv --tomp4 --ffmpeg-vcodec copy</pre>
<pre>castnow ./myvideo.mkv --tomp4 --ffmpeg-vcodec copy
  --address 172.22.26.31 für Lounge
  --address 172.22.27.147 für Hackcenter</pre>


[[Category:Services]]
[[Category:Services]]
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see Chaosdorf Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)