The Artima Developer Community
Sponsored Link

Web Buzz Forum
Live screencasting from Ubuntu phone

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Stuart Langridge

Posts: 2006
Nickname: aquarius
Registered: Sep, 2003

Stuart Langridge is a web, JavaScript, and Python hacker, and sometimes all three at once.
Live screencasting from Ubuntu phone Posted: Jan 21, 2015 8:28 AM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Stuart Langridge.
Original Post: Live screencasting from Ubuntu phone
Feed Title: as days pass by
Feed URL: http://feeds.feedburner.com/kryogenix
Feed Description: scratched tallies on the prison wall
Latest Web Buzz Posts
Latest Web Buzz Posts by Stuart Langridge
Latest Posts From as days pass by

Advertisement

After the previous post which describes how to send screen video from the Ubuntu phone to a file on your desktop via netcat, it occurred to me that it ought to be possible to just display your Ubuntu phone directly on your desktop’s screen in a window… and with basically the same trick, it is.

Connect to your Ubuntu phone with ssh: if the phone is plugged in with a cable then opening the Ubuntu SDK IDE’s Devices pane will let you do this, or there is a phablet-shell command which does the same thing when plugged in with a cable, and once you’ve done that once you can ssh to the phone over the network with ssh phablet@phone-ip-address.

In that ssh session, run: mirscreencast -m /var/run/mir_socket --stdout --cap-interval 4 -s 360 640 | nc desktop-machine-ip-address 1234

In a separate terminal on your desktop machine, run: nc -l -p 1234 | mplayer -demuxer rawvideo -rawvideo w=360:h=640:format=rgba - (note the hyphen on the end of that command; it is important!)

and: you get your phone’s screen, live, in a window on your desktop. Handy for screencasting at conferences or for hangout video demonstrations or similar.

Read: Live screencasting from Ubuntu phone

Topic: How Does Real-Time Bidding Work? Previous Topic   Next Topic Topic: 10 App Design Trends for 2015

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use