User Tools

Site Tools


stream_pc_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stream_pc_linux [2012/01/15 12:02]
gobater
stream_pc_linux [2012/01/21 14:32] (current)
cerberus fixed code box issue.
Line 2: Line 2:
  
 <note warning> <note warning>
-Process under development and maybe updated at anytime. Last update 15/01/12</note>+Process under development and maybe updated at anytime. Last update 16/01/12</note>
  
 This process allows any video playable on your desktop, preferably in fullscreen, to be streamed and displayed on your TV. The only Serviio change is to add the livestream from your PC to the Serviio console ie: http:192.168.1.10:8081 All the rest involves the setup of your PC to create the stream using VLC. This process allows any video playable on your desktop, preferably in fullscreen, to be streamed and displayed on your TV. The only Serviio change is to add the livestream from your PC to the Serviio console ie: http:192.168.1.10:8081 All the rest involves the setup of your PC to create the stream using VLC.
Line 14: Line 14:
 Either from the command prompt or by creating a shortcut on your desktop run the following command. Either from the command prompt or by creating a shortcut on your desktop run the following command.
  
-<code>vlc screen:// :screen-fps=24.000000 :input-slave=alsa://pulse :sout="#transcode{vcodec=mp2v,vb=10000,fps=24,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100} :http{dst=:8081/desk.ts}" :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep</code>+  vlc screen:// :screen-fps=24.000000 :input-slave=alsa://pulse :screen-follow-mouse :screen-mouse-image="~/Pictures/mousepointerimage.png" :sout="#transcode{vcodec=mp2v,vb=10000,fps=24,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100} :http{dst=:8081/desk.ts}" :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep 
 +   
  
 Finally, to setup Serviio to play the stream, add your PC's static address to the Serviio Console/Online Sources/Live Stream in the form http://192.168.1.2:8081/desk.ts and name it “Desktop”. (Note that zip has advised that the stream must be running, as instructed above, when the link is added to the console, else Serviio will not accept the link or display it in the Online menu.) Then on the TV click on the “Desktop” icon and the stream should play.  Finally, to setup Serviio to play the stream, add your PC's static address to the Serviio Console/Online Sources/Live Stream in the form http://192.168.1.2:8081/desk.ts and name it “Desktop”. (Note that zip has advised that the stream must be running, as instructed above, when the link is added to the console, else Serviio will not accept the link or display it in the Online menu.) Then on the TV click on the “Desktop” icon and the stream should play. 
- 
- 
-If you want to show the mouse pointer, use the following command line: 
-<code>vlc screen:// :screen-fps=24.000000 :input-slave=alsa://pulse :screen-follow-mouse :screen-mouse-image="~/Pictures/mousepointerimage.png" :sout="#transcode{vcodec=mp2v,vb=10000,fps=24,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100} :http{dst=:8081/desk.ts}" :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep</code> 
- 
-where: 
-**:screen-follow-mouse** tells VLC to record the mouse. 
-**:screen-mouse-image="~/Pictures/mousepointerimage.png"** tells VLC the pointer image to display while recording the mouse. In this example: "~/Pictures/mousepointerimage.png" 
- 
  
stream_pc_linux.1326628933.txt.gz · Last modified: 2012/01/15 12:02 by gobater