Author Topic: Bifurcating a stream to multiple MDs and VLC (Video LAN)....  (Read 5422 times)

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« on: November 20, 2008, 07:19:24 am »
I have been playing around trying to direct media (a video file) to play on 2 MDs (the hybrid and an MD) at the same time. However, when I select the media to play then go to the floor plan, select the 2 MDs I want it to play on then the media stream, it is clearly trying to do it but on one MD (the original one the media was playing on I think) it works perfectly, on the second MD the screen just goes black.

The one with the black screen seems to be trying to play the media but no video or sound. If I do it the other way around, the other MD exhibits the exact same behaviour. I know that split streams like this used to be implemented using VLC, so I tried adding that software module to both MDs, but the device never comes up. Other posts suggest that VLC is no longer used so presumably that software has been omitted. I have now removed them again and reloaded. But the problem still exists....

Any thoughts on what is wrong here??

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #1 on: November 20, 2008, 11:14:28 am »
I do not have the answer to your question, but tried to simulate the behaviour you see on my system. I end up having 2 md's playing the same content but out of sync....
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #2 on: November 20, 2008, 12:24:15 pm »
I do not have the answer to your question, but tried to simulate the behaviour you see on my system. I end up having 2 md's playing the same content but out of sync....

Yes that is what you should get currently. Its a current limitation of 'multi-room' playback.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #3 on: November 20, 2008, 02:53:20 pm »
This is a known limitation, and one that can't be solved easily. It's not really a problem of our architecture, it's a problem of the nature of best effort networks, combined with a lack of a finely quantized timing source.

-Thom

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #4 on: November 21, 2008, 02:52:35 pm »
 ;)
Here is something interesting. Last weekend was my daughter's 3rd birthday party. She is a big Ariel (Little Mermaid cartoon) fan. I had a playlist of Little Mermaid, and Little Mermaid 2 playing on all 4 of the active MD's in my house. That way no matter what room the party moved to, Little Mermaid was playing. During the first movie, they were slightly out of sync. But when the 2nd movie started, they appeared to be almost at a match. And stayed that way all throughout the day. Quite Odd.

Fortunately the audio was really low at each location (did this with the media map, very cool, click all MD's, then use the Volume Controls in the lower left hand side of the media map) so I could control the sound at each location simultaneously. That got a  lot of "Oh's and Ah's.

But back on topic, the 2nd movie seemed to be in better sync, than the first in the playlist.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #5 on: November 21, 2008, 02:58:47 pm »
That would make sense... There is some overhead in creating the playlist for the media handlers during the first pass..... The trick is going to be finding a stable time source, and synchronizing stream packets to it.

-Thom

Enigmus

  • Veteran
  • ***
  • Posts: 132
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #6 on: November 21, 2008, 05:08:56 pm »
Perhaps is you got yourself one of those 2 minute THX intros or something and put it at the top of the play list to give it time to setup the rest. :)


tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #7 on: November 21, 2008, 05:11:25 pm »
oh dear god, house wide blaring of the doppler THX sound. Babies would cry, dogs would howl, cats would shit themselves running in circles behind the couch, a black hole would open, swallowing the hou---

-Thom

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #8 on: November 21, 2008, 09:07:34 pm »
But back on topic, the 2nd movie seemed to be in better sync, than the first in the playlist.


Sorry guys, this isn't the topic at all! Please go get your own thread if you want to talk about sync issues. My thread was about getting the stream to play on 2+ MDs in the first place. Sync is the least of my issues at the moment.

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #9 on: November 21, 2008, 09:24:32 pm »
Colin,
Have you tried with just an audio file?

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #10 on: November 21, 2008, 10:39:25 pm »
hmmm. strange. Audio seems fine... just video behaves like this...

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #11 on: November 22, 2008, 09:56:36 pm »
I have been playing around trying to direct media (a video file) to play on 2 MDs (the hybrid and an MD) at the same time. However, when I select the media to play then go to the floor plan, select the 2 MDs I want it to play on then the media stream, it is clearly trying to do it but on one MD (the original one the media was playing on I think) it works perfectly, on the second MD the screen just goes black.

The one with the black screen seems to be trying to play the media but no video or sound. If I do it the other way around, the other MD exhibits the exact same behaviour. I know that split streams like this used to be implemented using VLC, so I tried adding that software module to both MDs, but the device never comes up. Other posts suggest that VLC is no longer used so presumably that software has been omitted. I have now removed them again and reloaded. But the problem still exists....

Any thoughts on what is wrong here??

I'm spotting exactly the same on my system....

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #12 on: November 22, 2008, 10:47:10 pm »
Only video, not effecting audio?

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: Bifurcating a stream to multiple MDs and VLC (Video LAN)....
« Reply #13 on: November 23, 2008, 07:49:46 pm »
 :)
I just tested Audio. It starts a bit out of sync, then sync's up almost right away.

Just my experience.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth