Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
stream_pc_linux [2012/01/15 12:59] cerberus |
stream_pc_linux [2012/01/15 13:01] cerberus |
| |
<code> | <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 | 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> | </code> |
| |
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" | |
| |
| |