PDA

View Full Version : how to stream TV/DVD audio to squeeze players around the house?



gregklanderman
2015-06-18, 07:57
Hi, if I want to digitize the audio going to my TV and make it available as a stream from slimserver so I can play it in other rooms with slim players, what are my options?

many thanks,
Greg

Mnyb
2015-06-18, 10:13
Theoretically the WAV input plugin .

But in practice none as the delay will be to great there will never be sync between audio and video . squeezeboxes have large player buffers othervise the system would not work . Can you delay the picture 30 seconds somewhere ?

gregklanderman
2015-06-19, 08:59
Thank you Mnyb, that might work because I don't think it would be a
problem to have some delay as the rooms are substantially separated.
I'll look into it.. is the buffer really that long (30 sec)?

Greg

Mnyb
2015-06-20, 00:53
Thank you Mnyb, that might work because I don't think it would be a
problem to have some delay as the rooms are substantially separated.
I'll look into it.. is the buffer really that long (30 sec)?

Greg

Yes it is about 30s and possibly longer if the audio is more compressed it can probably be less than 30s with WAV I think the 30s approximation is for flac of CD resolution .

The squeezebox control bypasses the buffer so play pause etc are instant to you , but the buffer is there to ensure stability due to network isssues and sound quality ( it's just like the file was there in the squeezebox itself ,feeding the output ).

But with the WAV input plugin you get a second player feeding the squeezebox system and you notice how big the buffer is .

You can try this. If you have an Ethernet connected squeezebox , in the middle of a song pull out the cable and wait .

I never used WAV in plugin but it has the possibility to route any sound on the computer to the LMS server . It's seems a bit fiddly to set up ,but it also seems flexible and can probably do what you want .

bpa
2015-06-20, 01:32
Yes it is about 30s and possibly longer if the audio is more compressed it can probably be less than 30s with WAV I think the 30s approximation is for flac of CD resolution .

The squeezebox control bypasses the buffer so play pause etc are instant to you , but the buffer is there to ensure stability due to network isssues and sound quality ( it's just like the file was there in the squeezebox itself ,feeding the output ).

But with the WAV input plugin you get a second player feeding the squeezebox system and you notice how big the buffer is .

You can try this. If you have an Ethernet connected squeezebox , in the middle of a song pull out the cable and wait .

I never used WAV in plugin but it has the possibility to route any sound on the computer to the LMS server . It's seems a bit fiddly to set up ,but it also seems flexible and can probably do what you want .

Not quite true.

The delay depends on you LMS server and how it processes input an can be as short as a few secs. The player buffer is big but is not entirely filled when using WAVIN. The buffer is entirely filled when playing from files but when playing from streams (e.g. live radio) there is a time threshold which once filled LMS will start playing even if player buffer is not filled - this lower threshold is set by WebUI Settings/Advanced/Network/ Radio Station Buffer Seconds. The WAVIN plugin mimics a radio stream. If you have a SB3/SB classic player there is a screen display setting which lets you see the buffer "fullness".

An alterntaive to investigate would be if your DVD player is network and DLNA enabled.
Another simpler possibility would be to use something like VLC to process on a PC (e.g. non LMS) the audio from DVD and convert it into a http MP3 stream and then play the http on your LMS system. This has the advantage the DVD player does not have to be close to the LMS server.

Mnyb
2015-06-20, 02:01
Not quite true.

The delay depends on you LMS server and how it processes input an can be as short as a few secs. The player buffer is big but is not entirely filled when using WAVIN. The buffer is entirely filled when playing from files but when playing from streams (e.g. live radio) there is a time threshold which once filled LMS will start playing even if player buffer is not filled - this lower threshold is set by WebUI Settings/Advanced/Network/ Radio Station Buffer Seconds. The WAVIN plugin mimics a radio stream. If you have a SB3/SB classic player there is a screen display setting which lets you see the buffer "fullness".

An alterntaive to investigate would be if your DVD player is network and DLNA enabled.
Another simpler possibility would be to use something like VLC to process on a PC (e.g. non LMS) the audio from DVD and convert it into a http MP3 stream and then play the http on your LMS system. This has the advantage the DVD player does not have to be close to the LMS server.

Thats great , i did not think about the radio buffer I tend to use a very high value there but it can be temporarily lowered for this use .

bpa
2015-06-20, 02:15
Thats great , i did not think about the radio buffer I tend to use a very high value there but it can be temporarily lowered for this use .
By editing the plugin source file, this setting can be made custom for the wavin plugin and a few users have done this and got the delay down to 1 secs or less but it is not always possible or advisable.

gregklanderman
2015-06-22, 10:06
Great, thank you both for the additional information!
Gives me a bunch of stuff to look into.

Greg