c3d2-wiki/TV.mw

35 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-01-28 15:09:43 +01:00
== [[w:de:DLNA|DLNA]] ==
2014-01-09 20:24:16 +01:00
2014-01-28 15:09:43 +01:00
Findet Videos von <code>[[cider]]:/mnt/videos</code>.
2014-01-09 20:24:16 +01:00
2014-11-04 01:51:07 +01:00
== [[w:de:XBMC|XBMC]] ==
=== Remote Start eines YouTube-Videos ===
2014-11-04 01:51:07 +01:00
: <source lang=bash>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</source>
Mehr Plugin URI Schemes gibt es bei https://github.com/khloke/play-to-xbmc-chrome/blob/master/js/xbmc-helper.js .
2014-11-02 01:59:55 +01:00
=== Cache vergrößern ===
2014-11-04 01:51:07 +01:00
: <source lang=bash>ssh root@xbmc.local</source>
: <source lang=bash>openelec</source>
: <source lang=bash>cat > .xbmc/userdata/advancedsettings.xml</source>
<source lang=bash>
2014-11-02 01:59:55 +01:00
<advancedsettings>
<network>
<cachemembuffersize>20971520</cachemembuffersize>
</network>
</advancedsettings>
^D
2014-11-04 01:51:07 +01:00
</source>
2014-01-09 20:24:16 +01:00
== H.264-Streaming von Bildschirminhalten ==
=== Lokal ===
2014-11-04 01:51:07 +01:00
: <source lang=bash>(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</source>
2014-01-09 20:24:16 +01:00
=== RaspberryPI am TV ===
2014-11-04 01:51:07 +01:00
: <source lang=bash>DISPLAY=:0 omxplayer --video_fifo 0 --video_queue 0 --threshold 0 http://172.22.99.110:65067/</source>
2014-01-28 15:09:43 +01:00
[[Kategorie:HQ]]
[[Kategorie:Infrastruktur]]