TV

Aus C3D2
Zur Navigation springen Zur Suche springen

DLNA

Findet Videos von cider, storage

Experimente zur Fernsteuerung des Fernsehers mit node.js sind bisher nicht erfolgreich gewesen.

XBMC/Kodi

Homepage Wiki

Remote Start eines YouTube-Videos

curl -XPOST -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "method": "Player.Open", "params":{"item" :{ "file" : "plugin://plugin.video.youtube/?action=play_video&videoid=quVpSK74zy8" }}}' http://raspbmc-2.local/jsonrpc

Mehr Plugin URI Schemes gibt es bei https://github.com/khloke/play-to-xbmc-chrome/blob/master/js/xbmc-helper.js .

Remote Start eines MP4-Videos von HTTP

curl -XPOST -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "method": "Player.Open", "params":{"item" :{ "file" : "http://webdav:wie üblich@storage.hq.c3d2.de:8080/rpool/Talks/31c3/31c3-6585-en-de-Inside_Field_Station_Berlin_Teufelsberg_hd.mp4" }}}' http://raspbmc.local/jsonrpc

Cache vergrößern

cat > .kodi/userdata/advancedsettings.xml
<advancedsettings>
<network>
<cachemembuffersize>300000000</cachemembuffersize>
</network>
</advancedsettings>
^D

Siehe: http://kodi.wiki/view/Advancedsettings.xml

H.264-Streaming von Bildschirminhalten

Lokal

(echo -ne 'HTTP/1.0 200 OK\r\nContent-type: video/mkv\r\n\r\n'; ffmpeg -f x11grab -framerate 4 -video_size 1440x900 -i :0.0 -vf format=pix_fmts=yuv420p -f matroska -vcodec libx264 -preset ultrafast -tune zerolatency -threads 2 -b:v 1000k - ) | nc -lvvp 65067

RaspberryPI am TV

DISPLAY=:0 omxplayer --video_fifo 0 --video_queue 0 --threshold 0 http://172.22.99.110:65067/

Odroid am TV

Siehe auch
Hauptartikel ODROID-C1

Modell: Odroid-C1

ssh okodi@odroid.local
# X läuft bereits
export DISPLAY=:0
screen
kodi
TODO
  • Vielleicht lieber Debian testing statt Ubuntu 14.04 LTS?
  • Mache rootfs ein Netzwerkdateisystem, denn Writes machen SD-Karten kaputt
  • Es gibt freie Treiber mit denen OpenArena flott läuft. Hoffentlich richtiges OpenGL, nicht nur GLES.