TV: Unterschied zwischen den Versionen

Aus C3D2
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
(→‎XBMC: Remote Start eines YouTube-Videos)
Zeile 2: Zeile 2:


Findet Videos von <code>[[cider]]:/mnt/videos</code>.
Findet Videos von <code>[[cider]]:/mnt/videos</code>.
== XBMC ==
=== Remote Start eines YouTube-Videos ===
<pre>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</pre>
Mehr Plugin URI Schemes hier: https://github.com/khloke/play-to-xbmc-chrome/blob/master/js/xbmc-helper.js


== H.264-Streaming von Bildschirminhalten ==
== H.264-Streaming von Bildschirminhalten ==

Version vom 1. August 2014, 20:03 Uhr

DLNA

Findet Videos von cider:/mnt/videos.

XBMC

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 hier: https://github.com/khloke/play-to-xbmc-chrome/blob/master/js/xbmc-helper.js


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/