<p>Well, you could use the normal tools to get video off your desktop.  Instead of having it go to twitch (or whatever), it would go to your laptop.  You'd use a high quality / bitrate, with minimal CPU usage settings.  x264 is probably still the best codec, since ethernet driver CPU time will start to matter if data rates are TOO high.  So you need a lossy codec, and <code>x264 --preset superfast --no-cabac --crf 15</code> is probably the way to go.</p>

<p>On your laptop, you'd have something set up to receive the stream and feed it through ffmpeg, with the output of THAT going to twitch (I assume).  So you'd have your laptop set up to decode the stream from your desktop, run it through x264 with the best quality setting it can manage in realtime.</p>

<p>You could maybe use something like inetdto listen on a socket and run ffmpeg when a connection is received, with ffmpeg's stdin and stdout connected to that socket.  (You'd actually need a wrapper script I guess, to get ffmpeg's output directed to twitch, or whatever you're streaming to.)  Also, instead of full-blown inetd, you could use a single-socket simpler program like maybe just netcat.</p>

<p>If your laptop isn't running Linux or OS X, this probably still works with a Windows build of netcat, but you'd have to be careful that piping that much data around doesn't cause performance problems on Windows ports of Unix tools.  (don't use cygwin).</p>

<p>To get your face in a corner of the video, attach a camera to your laptop, and have ffmpeg read from it, as a 2nd input stream.  Use some combination of <code>-filter_complex scale,overlay</code> to combine your streams.  (get the filters worked out by testing with file inputs, like 10 sec clips of 2 different videos.)</p>

<p>As far as other ways to get video off your desktop for encoding somewhere else, VNC exists, but it's probably not viable for actual video.</p>

CC BY-SA 3.0
2015-02-27T04:06:41.880Z
I also wish to do something similar but wasn't planning on writing a bunch of code or keeping a bunch of terminal processes I barely understand going. There are no tools/plugins to accomplish these tasks?
ProLoser
CC BY-SA 3.0
2015-02-27T05:42:08.570Z
IDK, wouldn't be surprised if someone's done it before.  Hopefully what I wrote will help you google it up.  Post an answer here if you find anything useful.  Sorry, streaming isn't really my thing.  All I can tell you is what would be happening to your data where in the most likely solution, not exactly how to do it.
Peter Cordes
CC BY-SA 3.0
2015-02-01T11:17:12.187Z
2015-02-01T11:31:49.813Z
2015-02-01T11:31:49.813Z
Peter Cordes
<p>I want to to stream from my laptop to lessen the stress on my desktop but I don't know how to share my desktop screen with my laptop to be able to stream my face as well as my game-play but I don't know how to do so.</p>

<p>Any help is appreciated.</p>

CC BY-SA 3.0
2015-02-04T00:20:40.897Z
Welcome to video production. You might find you'll get better answers if you give some more details about what exactly you're doing. Firstly: what operating system are you using?
stib
<live-recording><laptop>
share desktop to laptop to stream from laptop
Angel Flores
# share desktop to laptop to stream from laptop

(Asked by: username_0 on 2015-02-01)

I want to to stream from my laptop to lessen the stress on my desktop but I don't know how to share my desktop screen with my laptop to be able to stream my face as well as my game-play but I don't know how to do so.

Any help is appreciated.

**Tags:** live-recording, laptop

> **Comments:**
> **username_1**: Welcome to video production. You might find you'll get better answers if you give some more details about what exactly you're doing. Firstly: what operating system are you using?  

---

## 1 answers

### Answer by username_2 on 2015-02-01. Score: 1

Well, you could use the normal tools to get video off your desktop. Instead of having it go to twitch (or whatever), it would go to your laptop. You'd use a high quality / bitrate, with minimal CPU usage settings. x264 is probably still the best codec, since ethernet driver CPU time will start to matter if data rates are TOO high. So you need a lossy codec, and `x264 --preset superfast --no-cabac --crf 15` is probably the way to go.

On your laptop, you'd have something set up to receive the stream and feed it through ffmpeg, with the output of THAT going to twitch (I assume). So you'd have your laptop set up to decode the stream from your desktop, run it through x264 with the best quality setting it can manage in realtime.

You could maybe use something like inetdto listen on a socket and run ffmpeg when a connection is received, with ffmpeg's stdin and stdout connected to that socket. (You'd actually need a wrapper script I guess, to get ffmpeg's output directed to twitch, or whatever you're streaming to.) Also, instead of full-blown inetd, you could use a single-socket simpler program like maybe just netcat.

If your laptop isn't running Linux or OS X, this probably still works with a Windows build of netcat, but you'd have to be careful that piping that much data around doesn't cause performance problems on Windows ports of Unix tools. (don't use cygwin).

To get your face in a corner of the video, attach a camera to your laptop, and have ffmpeg read from it, as a 2nd input stream. Use some combination of `-filter_complex scale,overlay` to combine your streams. (get the filters worked out by testing with file inputs, like 10 sec clips of 2 different videos.)

As far as other ways to get video off your desktop for encoding somewhere else, VNC exists, but it's probably not viable for actual video.

> **Comments:**
> **username_3**: I also wish to do something similar but wasn't planning on writing a bunch of code or keeping a bunch of terminal processes I barely understand going. There are no tools/plugins to accomplish these tasks?  
> **username_2**: IDK, wouldn't be surprised if someone's done it before.  Hopefully what I wrote will help you google it up.  Post an answer here if you find anything useful.  Sorry, streaming isn't really my thing.  All I can tell you is what would be happening to your data where in the most likely solution, not exactly how to do it.  

---

