Xibo Open Source Digital Signage

Embedded VLC Player

Asked by Dustin Drewery on 2009-09-29

I'm trying to use an embedded VLC player to get the live input from a TV tuner's s-video input. The xibo client computer is the one with the tuner card in it because the live video is within earshot of the screens it drives (using a ZV box to modulate a QAM channel if anybody wants to know) and we're trying to reduce the delay caused by encoding. I have it working perfectly in internet explorer however when I copy the exact same code into my layout.. I only get audio.

<div width="960" height="720" align="left" style="position:absolute; top:0; left:0; margin: 0 0 0 0;">
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
 codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="960" height="720" id="vlc" events="True">
<param name="Src" value="" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="true" />
<param name="MRL" value="dshow:// :dshow-vdev=LifeView WDM Video Capture :dshow-adev=SoundMAX Digital Audio:dshow-caching=200 :dshow-vdev=LifeView WDM Video Capture :dshow-adev=SoundMAX Digital Audio :dshow-video-input=1" />
</OBJECT>
</div>

I can copy this code into its own HTML file and open it in IE7 and it works great on the client machine. When I run it through XIBO, I even tried placing text around the object (in the html) and the object isn't showing up at all.. however it seems to be playing the audio somehow still.

I'm open to other suggestions in getting low latency live video in the schedule as well.. anybody?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dustin Drewery
Solved:
2009-09-29
Last query:
2009-09-29
Last reply:
2009-09-29

Hi Dustin

Have a search back through Questions because it's been done before and works. I'm not at a PC right now so I can't look it out for you.

Cheers

Alex

--- original message ---
From: "Dustin Drewery" <email address hidden>
Subject: [Question #84244]: Embedded VLC Player
Date: 29th September 2009
Time: 7:02:04 pm

New question #84244 on Xibo:
https://answers.launchpad.net/xibo/+question/84244

I'm trying to use an embedded VLC player to get the live input from a TV tuner's s-video input. The xibo client computer is the one with the tuner card in it because the live video is within earshot of the screens it drives (using a ZV box to modulate a QAM channel if anybody wants to know) and we're trying to reduce the delay caused by encoding. I have it working perfectly in internet explorer however when I copy the exact same code into my layout.. I only get audio.

<div width="960" height="720" align="left" style="position:absolute; top:0; left:0; margin: 0 0 0 0;">
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
 codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="960" height="720" id="vlc" events="True">
<param name="Src" value="" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="true" />
<param name="MRL" value="dshow:// :dshow-vdev=LifeView WDM Video Capture :dshow-adev=SoundMAX Digital Audio:dshow-caching=200 :dshow-vdev=LifeView WDM Video Capture :dshow-adev=SoundMAX Digital Audio :dshow-video-input=1" />
</OBJECT>
</div>

I can copy this code into its own HTML file and open it in IE7 and it works great on the client machine. When I run it through XIBO, I even tried placing text around the object (in the html) and the object isn't showing up at all.. however it seems to be playing the audio somehow still.

I'm open to other suggestions in getting low latency live video in the schedule as well.. anybody?

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

Dustin Drewery (ddrewery) said : #2

I found a post earlier about the same issue (https://answers.launchpad.net/xibo/+question/80410) however, it looks to me like the solution was to actually open VLC and transcode the input into a stream that the Microsoft Media Player plugin can play. While this solution may work, it's not the best. This solution requires that VLC stays open and encoding all the time on my client machine which may interfere with other playback issues. I would rather be able to just fire up a direct feed shen the schedule calls for it. The encoding process seems to add another second or two to my feed as well.. i've managed to keep it under 1/2 a second so far from my live cameras, through the switcher, across 380ft of cat5, into TV tuner s-video and out to my ZVBox Qam encoder (takes the VGA output from the XIBO client and modulates a clearqam channel at 720p) that drives my cable channel to 6 plasmas.

Ok. I don't have the solution for you then. We're looking at the way we do embedded html as we have problems with iframes too. What I think will work for you is uploading that HTML to a webserver somewhere and adding it as a webpage.

Cheers

Alex

--- original message ---
From: "Dustin Drewery" <email address hidden>
Subject: RE: [Question #84244]: Embedded VLC Player
Date: 29th September 2009
Time: 7:44:25 pm

Question #84244 on Xibo changed:
https://answers.launchpad.net/xibo/+question/84244

    Status: Answered => Open

Dustin Drewery is still having a problem:
I found a post earlier about the same issue
(https://answers.launchpad.net/xibo/+question/80410) however, it looks
to me like the solution was to actually open VLC and transcode the input
into a stream that the Microsoft Media Player plugin can play. While
this solution may work, it's not the best. This solution requires that
VLC stays open and encoding all the time on my client machine which may
interfere with other playback issues. I would rather be able to just
fire up a direct feed shen the schedule calls for it. The encoding
process seems to add another second or two to my feed as well.. i've
managed to keep it under 1/2 a second so far from my live cameras,
through the switcher, across 380ft of cat5, into TV tuner s-video and
out to my ZVBox Qam encoder (takes the VGA output from the XIBO client
and modulates a clearqam channel at 720p) that drives my cable channel
to 6 plasmas.

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

Dustin Drewery (ddrewery) said : #4

That worked.. I didn't realize that the embedded html was working that much differently than the website link. I simply copied my code to a page on my xibo server and pointed to it.. works like a champ. Would be kinda handy if there was a piece of the admin interface that would let you upload files somewhere into the xibo server.. possibly just a small text editor so you could make custom html pages like this from the admin. Thanks for the help.. I'm loving the software and look forward to seeing it grow!

It's a wierd one. At the moment, we create an "about:blank" IE instance and then inject the HTML we get from the embed in to it. For some reason, it causes problems with iframes and, it seems, the VLC plugin.

What I think Dan's planning to do is create an HTML file locally when a layout with embedded html is downloaded and tell IE to open that directly. It's a better way to have the HTML on the client so it still works if the server goes offline.

Alex

Dan Garner (dangarner) said : #6

FYI I have linked this to the IFRAME bug...