FAQ  •  Register  •  Login

streaming desk top to tv



DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jan 25, 2014 6:12 pm

Re: streaming desk top to tv

Use any editor to modify the bat file..eg: notepad
and Follow the instructions in the wiki


Serviio newbie

Posts: 5

Joined: Thu Jan 23, 2014 2:18 pm

Post Tue Jan 28, 2014 10:04 am

Re: streaming desk top to tv

I have followed the instructions but maybe i have do an error.
This is my bat file:


@echo off

:This bat is used to stream the desktop with VLC using HTTP
:A corresponding player must be started using HTTP

"C:\Program Files\VideoLAN\VLC" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,scale=0.5,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8081} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-aspect-ratio=16\:9 :dshow-chroma= :dshow-fps=0 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=0 :dshow-tuner-country=0 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :live-caching=300


But I think that the bat file is indipendent from the success of the streaming. The problem is that I see good the streaming on VLC but when I put in serviio console like live stream it doesn't work (red sign).


Serviio newbie

Posts: 1

Joined: Wed Aug 27, 2014 3:00 pm

Post Wed Aug 27, 2014 3:31 pm

Re: streaming desk top to tv

Hello, i just registered to post about my success on streaming desktop to my 40" and 32" Samsung smart TVs.

I've actually been using a different way unsuccessfully to stream desktop to roku. That is from here: http://www.ragingcomputer.com/2013/03/http-live-streaming-windows-desktop-to-roku-using-vlc/comment-page-1#comment-11600

I had been using serviio for a month now to stream movies and music to the same tvs as well as a roku. And i found this thread which helped me understand the code entered into vlc for output. Before i was only getting a stream with diagonal lines like the past on page 11.

I haven't had a chance to try my code used in this thread on my roku. I'm away from home so i can't post what works. But i wanted to post my hardware.

Sony laptop with i5 and nvidia gpu, Wi-Fi N@300mbps. I found that the UScreenCapture works better than screen capture recorder for me. Uscreen uses about 60% processor while screen capture recorder was using 90-100%.

I had to revert back to vlc version 1.1.11. The latest 2.1.5 would work for about 15 second but crash and close the stream for some reason.

I'm going to try this same code that works on a desktop with an i3 buy no GPU. This desktop is used as a HTPC and i want to stream desktop to some rokus to other tvs. It is hardwired with cat6 to the router 1000mbps. But i think the i3 processor is going to be too slow.

Do you think a i5/i7 CPU or a GPU would help? I know a new processor with quad core would be best. But going that route i would have to upgrade the motherboard too. I think vlc uses gpu?

Sorry, when i get home i will post my StreamDesktop code


Serviio newbie

Posts: 5

Joined: Thu Jan 08, 2015 6:37 pm

Post Thu Mar 05, 2015 10:50 am

Re: streaming desk top to tv

Hi all, i used to do all the screen broadcasting (mainly to recast my desktop when steam and shadowplay weren't around) using your guide but now that i've bought a maxwell card i've reevaluated my options.

I'm now using obs to encode using the maxwell nvenc core(i know that will provide less quality but the cpu load will be nonexistant), nginx to provide a video proxy to serviio and serviio to do the dlna final stretch.

If there is any interest into a quicksync/nvenc optimized stream option i can provide sources/steps to set it up to complement the wiki


Serviio newbie

Posts: 1

Joined: Mon Apr 27, 2015 11:36 am

Post Mon Apr 27, 2015 12:48 pm

Re: streaming desk top to tv


I'm trying to stream my desktop to LG TV via Serviio. I've followed the instructions on the wiki page (http://wiki.serviio.org/doku.php?id=stream_pc). Everything seems to be fine right to the point where I try to watch the stream on TV. The TV seems to be loading the stream and then just restarts. Crash?! :)

I have LG 42LD750N. The VLC and Serviio is in Windows7 VM in Virtualbox. My system is quadcore i5 4460s.
I have tested the stream with a VLC player in another VM and checked the URL in Serviio live stream. Both OK.
There is the following warnings in the VLC messages:

main warning: decoder/packetizer fifo full (data not consumed quickly enough), resetting fifo!
avcodec warning: almost fed libavcodec with a frame in the past (current: 16771689435, last: 33485233435)

The streaming bat I used is:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=5000,fps=24,scale=1,width=1280,heigth=720,acodec=mp3,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8081} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer  :dshow-caching=2000

Also, I configured the Screen Capturer Recorder to capture area of width 1280 and height 720.
I would really appreciate any help or hint!


Serviio newbie

Posts: 13

Joined: Wed Apr 06, 2011 10:44 pm

Post Sun Aug 30, 2015 2:34 pm

Re: streaming desk top to tv

I searched throughout the wiki and the forums but didn't find mention of how to set the desktop streaming for a Mac computer. Does anyone know how I would go about this? Thank you.


User avatar

Serviio newbie

Posts: 2

Joined: Wed Sep 02, 2015 3:48 am

Location: Seattle

Post Tue Oct 06, 2015 4:34 am

Re: streaming desk top to tv

i'm streaming movies and music via extreamer Sidewinder. Best 100$ i spend!


Serviio newbie

Posts: 2

Joined: Thu Dec 17, 2015 10:20 am

Post Thu Dec 17, 2015 12:32 pm

Re: streaming desk top to tv

I will try the extreamer Sidewinder. Thanks!


Serviio newbie

Posts: 1

Joined: Thu May 12, 2016 5:46 pm

Post Thu May 12, 2016 5:59 pm

Re: streaming desk top to tv

stream pc desktop to TV:
1-install Windows Media Encoder 9 (x86=http://www.videohelp.com/download/WMEncoder.exe x64=http://download.microsoft.com/download/0/5/1/05150d9b-59dd-453c-8483-d618cec12b12/WMEncoder64.exe
2-Install Directshow audio and video capture devices (Free:x64=http://www.umediaserver.net/bin/UScreenCapture(x64).zip 32 bits=http://www.umediaserver.net/bin/UScreenCapture.zip)
3-Start Windows Media Encoder 9 capture.
4-Create Online live stream in serviio (mms://localhost address:port used by Windows Media Encoder, default=8080).
5-If ok, batch encoding using cscript=low cpu usage.
6-Note:Serviio always encode online sources (default=mpeg2).

Return to General discussion

Who is online

Users browsing this forum: No registered users and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.