Re: streaming desk top to tv
jhb50 wrote: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.!
If your spaces removal and audio device name change were correct you probably did not enable the device under playback devices.
--> I copied the bat straight from that box (with the slider) in the wiki page. I pasted it in a txt file and changed the file extension to bat (I suppose cmd also works). Then I disabled word wrapping and observed the contents. I noticed that between switches (is this how they're called?) there is one space only except towards the end where I noticed one place with 3 spaces and another with 2. As best as I know an extra space does not break a bat/cmd file but I went ahead and made sure there were only "one-space" gaps throughout. As far as the audio filter I replaced what was originally there with this string: "virtual-audio-capturer". Then I realized that the video filter string had no quotes (i.e. video-screen-recorder ) so I removed the quotes altogether. I have not changed anything else. I am positive the audio filter name is correct, I typed it exactly as it shows under VLC-Media-Streaming-Audio filter.Also, in the bat there is a remarked line saying "A corresponding player must be started using HTTP" - what does this mean?
VLC is creating a stream You need to start
Serviio, or MPlayer or another instance of VLC to play the stream.
--> I am -obviously- using Serviio so this is fine. However, on the desktop I mainly use full screen (1280x1024) MediaPlayerClassic to view my videos. I suppose this is fine too. I can hear the audio from the PC but not from the TV. The streaming video is of great quality, I mean I am very happy considering the amount of work taking place in the network to and from the NAS server, the PC, Serviio, SONY SMP-N100 and ultimately the TV. But there is no audioFinally, 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?
I only support what is in the bat but you are free to break it.
--> I read somewhere in the wiki that it is OK to experiment with some parts of the bat i.e. the video bitrate and the caching time. That's why I am asking if the other parameters as well are "fair game". E.g. With MP3, 192 is high for my current needs, I can go as low as 96 or even 64 and not be bothered. Also, more caching is needed but only if you experience timeouts (which I do not) but a few extra seconds of buffering won't hurt right? Finally about screen resolution: Until now, I could play a 640x480 movie (avi) from my NAS server via Serviio (i.e. directly and not by desktop streaming) on my TV and I am very content with the quality. Is there a reason why the capturing has to be set at a rather high 1280? If I reduce my screen to 800x600 and repeat the streaming my CPU barely goes over 20%. Do you see my point and what am I missing here?
Thanks again for your time!