Re: streaming desk top to tv
My TV is a Panasonic TX-L37GW20 in case you can comment further
I can't try the 30 / 24 fps until Sunday . . .
You may also experiment with :dshow-caching=20000 to reduce latency and the transcoded video bit rate vb=10000 to overcome network capacity or transcoding load
DLNAhooray wrote:jhb50:
What other changes to StreamDesktop.bat might help? (Or changes to SCR configuration)
the numbers mentioned are those already in your StreamDesktop.bat:
You may also experiment with :dshow-caching=20000 to reduce latency and the transcoded video bit rate vb=10000 to overcome network capacity or transcoding load
In case you've no suggestions, I wonder if it might it be worthwhile my trying to stream a window instead of full screen . . .
Are there any hints out there as to how to do this?
I'm sure I've seen this mentioned somewhere but I've been going cross-eyed trying to locate it.
jhb50 wrote:... and ffmpeg shows the output bitrate is actually 10000 ...
"C:\Programs\VLC TEST 1.1.10\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,width=1280,height=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="Line 1 (Virtual Audio Cable)" :dshow-caching=2000
jhb50 wrote:See the wiki "How to Successfully Add Live Streams to Serviio" http://wiki.serviio.org/doku.php?id=add_live_feeds
Something like ffmpeg -i "http://192.168.1.10"
libswscale 2. 1. 0 / 2. 1. 0
[NULL @ 01668040] Unable to find a suitable output format for 'Files\Serviio\lib\ffmpeg.exe -i http://192.168.2.105:8081'
Files\Serviio\lib\ffmpeg.exe -i http://192.168.2.105:8081: Invalid argument
C:\Windows\System32>
libswscale 2. 1. 0 / 2. 1. 0
[mpeg2video @ 029a1020] mpeg_decode_postinit<> failure
Last message repeated x times
[mpegts @ 003b8020] PES packet size mismatch
jk50 wrote:I think your problem is related to your somewhat unusual 16:10 aspect ratio monitor. If you capture the entire screen, the command line
you're using will send a 16:10 picture to your 16:9 tv. I suspect your tv is struggling with the conversion. Because your monitor and tv
have different aspect ratios you don't want to capture the entire 1920x1200, you want a 16:9 portion of your screen, in your case 1920x1080.
Or, if you want to capture the whole screen,you can tell vlc to resize your 16:10 capture to 16:9 by adding a height parameter to the command
line. The problem with this is you'll get a vertically squashed picture.
- Code:
"C:\Programs\VLC TEST 1.1.10\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,width=1280,height=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="Line 1 (Virtual Audio Cable)" :dshow-caching=2000
C:\"Program Files"\Serviio\lib\ffmpeg.exe -i "http://192.168.2.105:8081"
jhb50 wrote:... and ffmpeg shows the output bitrate is actually 10000 ...
DLNAhooray wrote:... changing from 1920 to 1280 did the trick. I can now see my desktop on the TV. I've tried upping to 1440 and this worked too, but I'll leave it at 1280 for now ...
DLNAhooray wrote:Sorry, jhb50 - just a serious touch of unintended finger trouble this end. Ran the wrong StreamDeskstop.bat, the one I had used prior to writing this 27 Jan post on page 10:DLNAhooray wrote:... changing from 1920 to 1280 did the trick. I can now see my desktop on the TV. I've tried upping to 1440 and this worked too, but I'll leave it at 1280 for now ...
jhb50 wrote:The ffmeg output says the stream is working fine and so I guess you can see your desktop on the tv again.
DLNAhooray wrote:... Sadly, the image on the TV is of very poor quality. Text and outlines of objects on the desktop are ghosted and fuzzy, appear to be vertically "duplicated" ('=' looks 3 hyphens high instead of 2) and all text and objects on the screen seem to "beat" (like a heart) roughly twice a second.
In addition, the streamed Desktop is displayed centered on the TV screen OK, but appreciably overscanned in all directions. I always have my PC taskbar 2 rows high, but only the upper halves of the taskbar buttons in the upper row are visible on the TV. Standard Windows icons positioned around the other 3 edges of the desktop are all cut in half.
Needless to say, any other images streamed by Serviio from the PC are displayed on the TV screen in high quality, completely free from the problems described above.
Just as a reminder, my PC is Win7 32bit with a 6-core Phenom II CPU running at 30% ...
DLNAhooray wrote:... Instead of viewing just a static desktop display on the TV as I've done to date, today I tried streaming a couple of BBC iPlayer TV programmes from the PC to the TV via Serviio despite the picture quality problems. The result was very disappointing in that the video stuttered badly and displayed occasional severe pixelation effects here and there in the image. I'm assuming the stutters and breakups occur coincident with the roughly twice a second "beating" already described on Jan 27.
(Just for the record and to exclude any concerns about the capabilities of the TV or Internet speed, etc., viewing iPlayer programmes via a laptop connected directly to the TV produces excellent results even in HD.)
DLNAhooray wrote:Here's the equivalent ffmpeg image for 1280x720 that I see having entered the cmd "C:\Program Files\Serviio\lib\ffmpeg.exe" -i "http://192.168.2.105:8081" with desktop displayed on TV:
http://www.filedropper.com/ffcmd3
DimPan wrote:I copied the bat file and saved it on my desktop. I noticed some extra spaces in between some command switches so I fixed that making sure there is always only one space. Obviously, I also had to modify the path to VLC and the audio device name.I can see the video (and subtitles) fine, no studder, no freezing BUT I have no sound.!
Also, in the bat there is a remarked line saying "A corresponding player must be started using HTTP" - what does this mean?
Finally, would it be OK to -freely- modify the settings that affect video/audio quality (fps, scale, audio bitrate etc.) or do I stick to what's in the bat?
Users browsing this forum: No registered users and 2 guests