technolog wrote:I'm afraid my laptop's just gone bang. Hopefully I'll be back to pester you further when I'm in possession of a new one. Thanks for your help so far.
I'm back...
...and I'm armed with this bad boy...
Lenovo Z580 i5-3210M 8GB 750GBI've set everything up as per the
wiki - VLC 1.1.10; screen-capture-recorder 0.8.6; virtual audio capture device 0.3.10 and Serviio 1.0.1 - and I'm just about there.
I'm receiving the stream on the tv with rock solid audio (when viewing a video) but the video is totally distorted. If I was a betting man, I would say it's the same issue that jhb50 experienced in the wiki:
By default, it is supposed to capture the whole screen. For some reason however on initial install I got a lot of static. If this happens to you, run the “configuration_setup_utility\edit_config.bat” and set the height and width to your screen's maximum dimensions, or edit the registry keys as I did. You must however use the exact maximum dimensions recognized by your screen driver, In my case 1366 x 768 regardless of the resolution my screen was set to display which is 1280×720. (Right click your Desktop and click “Screen resolution” to see your current and maximum setable resolutions). Other users have reported the need to set the dimensions that their screen is set to display.
I wouldn't necessarily describe it as 'static'; when the desktop colours change significantly, this is noticeable on the tv. It's as if the desktop has been smeared across the tv screen in about 12 diagonal (well, about 15° to the horizontal) bands. However it's most definitely not watchable!
I tried to follow jhb50's solution but couldn't find edit_config.bat. However I did find 'configure by setting specific screen capture numbers' under Start/All Programs/Screen Capturer Recorder/Configure. This ran a Java app which asked for capture height (I entered 768, my current and maximum lappie screen resolution is 1366x768), capture width (I entered 1366), desired start_x (I wasn't sure about this and left it blank). Even after rebooting the tv display is the same. I tried lowering my lappie resolution to 1280x768 but this had no instant effect - though I didn't reboot afterwards.
This is the batch file I'm starting the stream with:
- Code:
@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 (x86)\VideoLAN\VLC\vlc.exe" -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-caching=2000
:Exit
When the streamed desktop (with online video playing) is playing on the tv, the cpu load is only around 40 to 50% so I'm hopeful that I just need to make a minor tweak or two somewhere and I'll have a great outcome.
Is anyone able to offer any insight?