LinuxMCE Forums
May 18, 2013, 04:59:46 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 2 3 [4] 5
  Print  
Author Topic: Discussion on true Multi-room Solution (continued)  (Read 8523 times)
nswint
Regular Poster
**
Posts: 39



View Profile
« Reply #45 on: May 18, 2009, 04:13:24 am »

Andrew,

great news indeed.

Now, why not replacing xine as our audio player with softsqueeze?

That way, we might get near perfect sync more easily.

I don't think that xine can perform multicast streaming.  To my knowledge only vlc and maybe mplayer can do that.

VLC could probably offer uni/multicasting of audio/video and simultaneous streaming to a mp3 that a squeezebox can tune into

Logged
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #46 on: May 18, 2009, 06:43:54 am »

Andrew,

great news indeed.

Now, why not replacing xine as our audio player with softsqueeze?

That way, we might get near perfect sync more easily.

I don't think that xine can perform multicast streaming.  To my knowledge only vlc and maybe mplayer can do that.

VLC could probably offer uni/multicasting of audio/video and simultaneous streaming to a mp3 that a squeezebox can tune into



Posde idea is to replace the Xine for audio media playback with Softsqueeze...therefore moving all audio streaming clients to the same player software. this would automatically get us sync'd audio on the MD's and Squeezeboxes. Sounds like a very compelling proposition to me ;-)

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
bulek
Administrator
wants to work for LinuxMCE
*****
Posts: 868

Living with LMCE


View Profile
« Reply #47 on: May 18, 2009, 07:52:59 am »

Hi,

I'm not sure how Softsqueeze could be used without GUI (but don't know it very well, so I believe there is an option of doing that)...

I'd just like to point out that Squeezeslave (different from SoftSqueeze, more command line oriented) at the moment is not a good option.

In my experience (I'm using it for second audio zone routed through Marantz receiver) that :
- every now and then you can hear a small hitch - like music freezes for a moment.
- it can crash on mono wav files (there is an option of recoding before it's played, but didn't yet figured out, how to do that properly). For instance, currently on 710, it dies on speech announcements...

I didn't test sync yet at all... I'm not sure what is relation of those two players and what part of code they share....

Regards,

Bulek.
Logged

Thanks in advance,

regards,

Bulek.
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #48 on: May 18, 2009, 10:01:17 am »

Hi,

I'm not sure how Softsqueeze could be used without GUI (but don't know it very well, so I believe there is an option of doing that)...

I'd just like to point out that Squeezeslave (different from SoftSqueeze, more command line oriented) at the moment is not a good option.

In my experience (I'm using it for second audio zone routed through Marantz receiver) that :
- every now and then you can hear a small hitch - like music freezes for a moment.
- it can crash on mono wav files (there is an option of recoding before it's played, but didn't yet figured out, how to do that properly). For instance, currently on 710, it dies on speech announcements...

I didn't test sync yet at all... I'm not sure what is relation of those two players and what part of code they share....

Regards,

Bulek.


Hi,

Softsqueeze will run 'headless' so that is not a problem in its own right. However Softsqueeze is written in Java so this might be an issue.

Squeezeslave 0.8 is also a possibility - thanks for the heads-up on the issues you have seen with this player.

The other possibility is to write a lightweight command line client to do the job. This might be the preferred route as it could be designed to do exactly what we require.

Anyway all of these options are being explored right now.

All the best

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
nswint
Regular Poster
**
Posts: 39



View Profile
« Reply #49 on: May 19, 2009, 05:02:18 am »

Andrew,

great news indeed.

Now, why not replacing xine as our audio player with softsqueeze?

That way, we might get near perfect sync more easily.

I don't think that xine can perform multicast streaming.  To my knowledge only vlc and maybe mplayer can do that.

VLC could probably offer uni/multicasting of audio/video and simultaneous streaming to a mp3 that a squeezebox can tune into



Posde idea is to replace the Xine for audio media playback with Softsqueeze...therefore moving all audio streaming clients to the same player software. this would automatically get us sync'd audio on the MD's and Squeezeboxes. Sounds like a very compelling proposition to me ;-)

Andrew

How would that work?

Xine plays media and streams
-------
         | Media directors tune in to the stream
         | Squeezeboxes listen to stream via mms, rtsp, mp3?

I've been away from linuxmce for quite some time.

And yes squeezeslave works well.  I use it now to sync music from squeezecenter to my fm radios where I do not have squeezeboxes.

Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2620


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #50 on: May 19, 2009, 08:15:56 am »

Posde idea is to replace the Xine for audio media playback with Softsqueeze...therefore moving all audio streaming clients to the same player software. this would automatically get us sync'd audio on the MD's and Squeezeboxes. Sounds like a very compelling proposition to me ;-)
How would that work?

Xine plays media and streams
-------
         | Media directors tune in to the stream
         | Squeezeboxes listen to stream via mms, rtsp, mp3?

no. It would work the same way as it works with the hardware Squeezeboxes. We tell Squeezecenter to play a file on a Squeezebox (either hardware or software). Xine is not involved at all.
Quote
And yes squeezeslave works well.  I use it now to sync music from squeezecenter to my fm radios where I do not have squeezeboxes.

Good to hear.
Logged

krys
Addicted
*
Posts: 583


View Profile
« Reply #51 on: May 29, 2009, 02:58:49 pm »

This might already be known, but I thought that I might mention it anyway just in case it helps spawn a good idea.

We were entertaining some guests last night at the house and I wanted to play some music, so I kick on my favorite internet stream and start listening in my home theater room. We started to move to the back patio so I go to floorplan and bounce the stream to both the home theater and the back patio. Of course they turn out to be about 1-2 sec out of sync which was annoying. So I decided to just use my internet radio scenario from the home theater, then run the same scenario from the patio (instead of just pushing the stream using the floorplan). Low and behold when I just grab the stream from both MD's it was perfectly sync'd.

So people out there who are smarter than me... how come i can grab an internet stream from multiple MD's and they be in perfect sync, but i cant grab a network stream without it being out of sync by 1-2 seconds? Surely we can figure out a way to replicate the internet radio stream but do it inside our own network....
-Krys
Logged
Purplexus
Regular Poster
**
Posts: 28


View Profile
« Reply #52 on: May 31, 2009, 10:06:17 pm »

Anyone else notice that Pulse audio has the ability to control multiple sound cards within the same Cpu? or was I reading that wrong??  Will pulse audio be able to send multiple different streams to multiple sound cards? as well as have the ability to sync multiple streams to multiple sound cards?  Potentially this is the same thing as a Matrix Switch and essentially a switch in which I get to control the Size of it. 

My kubuntu machine has pulse audio loaded and I have a sound blaster platinum live card kicking around I'll quickly do a test and check it out.  Unfortunately I am not sure I know exactly how to get it started in Linux so someone else may also want to test this out  Someone that will know what they are doing better then I do.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #53 on: June 01, 2009, 12:32:17 am »

Guys, this isn't rocket science.

Write a media player that uses pulseaudio, have each zone as a child device of it. Use a plugin to coordinate the stream handling from the media plugin to the different zones.

-Thom
Logged
Riggs
Guru
****
Posts: 185


View Profile WWW
« Reply #54 on: June 11, 2010, 07:06:37 pm »

As regards to the sync issue you can have the best software out there even the best hardware but remember travel distance I worked in Europe at a club known as Oceana and they wanted multi room sync and we fount out that no matter what hardware or software was used it was always sightly out of sync because of distance, think of how light travels (from the sun to say pluto we see the light on earth first before pluto) same would happen in rooms as cable gets longer or signal from the wireless router get weaker. best choice in connection would be to use optic with the same length and any left over needs to be coiled at the same distance on each cable and that is not perfect.
« Last Edit: June 11, 2010, 07:10:23 pm by Riggs » Logged

Dell XPS Gen5 P4 3.2Ghz 64 x2, 3Gbs Ram, GeForce 8600GT 1Gb VRam, Creative Audigy 2 ZS, LinuxMCE 10.04 32bit,, 2 Eth Cards, Comcast business 25Mbs/5Mbs. Zwave, X10, Vera 3.
bongowongo
wants to work for LinuxMCE
**
Posts: 826



View Profile
« Reply #55 on: June 12, 2010, 09:46:22 am »

Here we have a crappy B&O system and in all rooms it is sync.
Logged
Kooma
Veteran
***
Posts: 102


View Profile
« Reply #56 on: June 12, 2010, 11:16:11 am »

The speed of light should not be a problem here, eh...
Logged
Riggs
Guru
****
Posts: 185


View Profile WWW
« Reply #57 on: June 14, 2010, 07:49:04 pm »

The speed of light should not be a problem here, eh...

The speed of light was used as an example to show everything travels at a speed.
Logged

Dell XPS Gen5 P4 3.2Ghz 64 x2, 3Gbs Ram, GeForce 8600GT 1Gb VRam, Creative Audigy 2 ZS, LinuxMCE 10.04 32bit,, 2 Eth Cards, Comcast business 25Mbs/5Mbs. Zwave, X10, Vera 3.
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #58 on: June 15, 2010, 09:49:25 am »

So this is very exciting news indeed!

Andrew
I'm telling this for over a year..

br Hari
Logged

rock your home - http://www.agocontrol.com home automation
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #59 on: June 15, 2010, 07:51:29 pm »

So this is very exciting news indeed!

Andrew
I'm telling this for over a year..

br Hari
Well, that post you're responding too is in fact more then a year old...
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

Pages: 1 2 3 [4] 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!