Changes between Version 7 and Version 8 of StreamDesktop
- Timestamp:
- Jun 4, 2014, 2:09:12 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StreamDesktop
v7 v8 5 5 You might need to stream everything happening in you desktop (as if you want others to be able to watch a videoconference going on live.mayfirst.org without them being on the room) and here's an easy way to do it with a single command line (3 commands being piped all together). 6 6 7 You would need to use a Debian based distro and install these packages: 8 7 You would need to use a Debian based distro and install these packages (avconv in inside libav-tools and some packages are specific to wheezy, i.e. ffmpeg is not in jessie or sid): 9 8 10 9 {{{ 11 aptitude install oggfwd ffmpeg2theora ffmpeg avconvpulseaudio-utils10 aptitude install oggfwd ffmpeg2theora ffmpeg libav-tools pulseaudio-utils 12 11 13 12 }}} 14 13 15 14 Then you need to find out what's the output name of you soundcard (as you want to stream what's coming out from your soundcard, not what's going in through your mic) and you can do it this way: 16 17 15 18 16 {{{ … … 22 20 You might directly store the output in a variable so you can use it later. Like this: 23 21 24 25 22 {{{ 26 23 export SONIDO=$(pactl list sources |awk '/Name:/ {print $2;exit}') … … 28 25 29 26 You also need to get the size of you screen with this one: 30 31 27 32 28 {{{ … … 36 32 and you might want to store that in a variable too. Like this: 37 33 38 39 34 {{{ 40 35 export PANTALLA=$(xdpyinfo | awk '/dimensions:/ { print $2; exit }') … … 42 37 43 38 Finally, you can run this command using the variables you have created already: 44 45 39 46 40 {{{