Page 1 of 1

Streaming Desktop to TV?

Posted: Wed Feb 26, 2014 5:29 am
by BookStream
Hello,
Just discovered that UMS is a wonderful program, and as soon as one discovers that, ones imagination start running crazy!

So having issues with streaming internet (news, YouTube etc) on my 3 year old Sammy LED TV,I though perhaps it
could be done by using my PC = UMS and the Samsung AllShare (that works flawlessly other wise). Is this at all possible?

So what I want to do is one of these:

1) Use UMS to stream an internet (webaddress) directly to TV via AllShare?
2) Use UMS to (stream?) a copy of PC desktop to TV?

Is this possible? How?

PS. There are many reasons why I don't want to (and can't) use HDMI etc...

Re: Streaming Desktop to TV?

Posted: Fri Feb 28, 2014 10:45 pm
by BookStream
So 4 days without answer. I suppose that means that it is not possible?

So far I've only found solutions using Serviio, but I was hoping to avoid having to use both VLC and Serviio.
In addition the Serviio suffers other issues...

BTW. My setup is: Asus i5 Laptop with Win 8.1 + Latest VLC + Latest UMS + Samsung ES5700.
All other streaming works, except for Desktop. Connection is with Ethernet and not WiFi.

I'm sorry if this is a trivial question to all of you A/V experts, but to me this is all black magic, and
I'm impressed with myself even getting this far. So I would very much appreciate any kind of
constructive answer.

Thanks.

Re: Streaming Desktop to TV?

Posted: Sat Mar 01, 2014 1:59 am
by Wolfgan
BookStream wrote:Hello,
Just discovered that UMS is a wonderful program, and as soon as one discovers that, ones imagination start running crazy!

So having issues with streaming internet (news, YouTube etc) on my 3 year old Sammy LED TV,I though perhaps it
could be done by using my PC = UMS and the Samsung AllShare (that works flawlessly other wise). Is this at all possible?

So what I want to do is one of these:

1) Use UMS to stream an internet (webaddress) directly to TV via AllShare?
2) Use UMS to (stream?) a copy of PC desktop to TV?

Is this possible? How?

PS. There are many reasons why I don't want to (and can't) use HDMI etc...
Doing it thru DLNA will require hacks :-) as you mention above (ie with VLC) and performance won't be good. I suggest you explore Miracast dongles or some other solution implementing Mirror functionality.
I don't know if http://www.umediaserver.net/umediaserver/index.html may also allow you to do something similar...

Re: Streaming Desktop to TV?

Posted: Sat Mar 01, 2014 7:09 am
by DeFlanko
This feature is being worked on in Development. I believe @subjunk is calling it screencasting.

Re: Streaming Desktop to TV?

Posted: Sat Mar 01, 2014 8:33 am
by Wolfgan
DeFlanko wrote:This feature is being worked on in Development. I believe @subjunk is calling it screencasting.
Nice! Will that feature be based on ffmpeg? (https://trac.ffmpeg.org/wiki/How%20to%2 ... h%20FFmpeg)

Re: Streaming Desktop to TV?

Posted: Mon Mar 03, 2014 8:06 am
by DeFlanko
Wolfgan wrote:
DeFlanko wrote:This feature is being worked on in Development. I believe @subjunk is calling it screencasting.
Nice! Will that feature be based on ffmpeg? (https://trac.ffmpeg.org/wiki/How%20to%2 ... h%20FFmpeg)
Possibly im not 100% sure on it... if you check out the github repo i think you'll see the branch there.

Re: Streaming Desktop to TV?

Posted: Wed Mar 05, 2014 6:42 am
by BookStream
Wolfgan wrote:Doing it thru DLNA will require hacks :-) as you mention above (ie with VLC) and performance won't be good. I suggest you explore Miracast dongles or some other solution implementing Mirror functionality.
I tried streaming Desktop with VLC using a very inefficient H264 and in no way optimized, and I was able to get fine results at 15fps. So I think what you're saying is just propaganda for buying more useless and proprietary hardware. Common sense also tell you that Ethernet should be a magnitude faster than Wifi. Finally, I hate more dongles, and Miracast is not free, AFAIK.

DeFlanko wrote:
Wolfgan wrote:
DeFlanko wrote:This feature is being worked on in Development. I believe @subjunk is calling it screencasting.
Nice! Will that feature be based on ffmpeg? (https://trac.ffmpeg.org/wiki/How%20to%2 ... h%20FFmpeg)
Possibly im not 100% sure on it... if you check out the github repo i think you'll see the branch there.
Thanks for quick reply! Two things.
(1) I'd love to see/test this "Screencast", if there is anything workable. Can you point me in the right direction (URL?). If UMS could accomplish this, that would be really great, as I am not happy to have to install (yet another) media player, such as Serviio, to handle this.
(2) Are you saying this could be done with ffmpeg? If so what do we need to push on our ports in order to trick the TV into thinking this is a AllShare thing?

Thanks again.

Re: Streaming Desktop to TV?

Posted: Wed Mar 05, 2014 7:20 am
by BookStream
Seem like there were some kind of similar success from the "Stream TV Capture Card?" thread and the links therein, here and:
How to grab the desktop (screen) with FFmpeg or theFFmpeg Streaming Guide.

However, I'm rather clueless about all this, so I have no idea how to input this stream into UMS. Create some kind of URL link file? (I tried but didn't show up in AllShare.)

BTW. The content of the screencast.py (from thread above) requires "Jumpy" and is:

Code: Select all

# NOTE: Windows screencast requires installing the
# x86 edition of the UScreenCapture DirectShow filter from
# http://www.umediaserver.net/umediaserver/download.html

import sys, os, jumpy

if len(sys.argv) == 1:
        pms.addAction('/Screencast', [sys.argv[0], 'play'], '#monitor')

elif sys.argv[1] == 'play':
        
        if sys.platform.startswith('win32'):
                cmd = 'ffmpeg -y -f dshow -r 30 -s 1920x1080 -threads 0 -i video="UScreenCapture" -c:v mpeg2video -f mpegts -q:v 3 -threads 0 %s' % os.environ['OUTFILE']
        
        elif sys.platform.startswith('linux'):
                cmd = 'ffmpeg -y -f x11grab -r 30 -s 1920x1080 -threads 0 -i :0.0 -c:v mpeg2video -f mpegts -q:v 3 -threads 0 %s' % os.environ['OUTFILE']
        
        else: # mac
                pms.warn('\nSorry\n\nFFmpeg doesn\'t\nsupport screen capture\nin %s' % sys.platform)
                sys.exit(0)
        
        os.system(cmd)

# http://ffmpeg.org/ffmpeg-devices.html
# http://trac.ffmpeg.org/wiki/StreamingGuide
# http://trac.ffmpeg.org/wiki/DirectShow
# http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20%28screen%29%20with%20FFmpeg
[/size]

Re: Streaming Desktop to TV?

Posted: Sun Aug 16, 2015 11:52 pm
by ums_user
Hi,

is the possibility/option to stream Desktop to TV already available in UMS?
If yes, how I can turn it on?

Best regards

Re: Streaming Desktop to TV?

Posted: Mon Aug 17, 2015 5:08 am
by infidel
ums_user wrote:is the possibility/option to stream Desktop to TV already available in UMS?
If yes, how I can turn it on?
Try the capture.py script with the jumpy plugin. Disclaimer: there's a roughly 10 second delay due to transcoding overhead, so it's not really useful for interacting with your desktop in real time :).