IPB

Welcome Guest ( Log In | Register )

8 Pages V  < 1 2 3 4 5 > »   
Reply to this topicStart new topic
> Programming to the Microsoft TV Technologies interface
darro
post Dec 9 2003, 04:20 PM
Post #41


Forum Regular


Group: FAQ Maintainer
Posts: 458
Joined: 30-September 03
From: Sydney
Member No.: 168
Card: VisionPlus DVB-t


I have just been playing around with the BDA drivers.

Below is a little HTA (IE Browser Application). (cut and paste this into a text file with an extention of .hta, if you dare)

It does not seem to tune at all, I think it may just be taking the last setting of the card (as set in graphedit).

I do get a good picture. Sound is no go though, jumps all over the place. I suspect this may be due an incorrect rendering of the audio component or the control is just garbage. I have only just started to have a look at it and given the card is not in my development PC it is a real pain.

The other issue is that documentation for this is pretty scarce.

But it is interesting what can be done in a few lines of script.

Cheers
Darren

<html>
<title>TV Test</title>

<HTA:APPLICATION ID="TVTest">


<head><body>

<OBJECT ID="MSVidCtl" CLASSID="CLSID:B0EDF163-910A-11D2-B632-00C04F79498E" WIDTH="100%" HEIGHT="100%"></OBJECT>

</body></head>

<script language=vbscript>

Dim objTuner
Dim objTSContainer
Dim objTuningSpace
Dim objTuneRequest
Dim objLocator

Set objTSContainer = CreateObject("BDATuner.SystemTuningSpaces")
Set objTuningSpace = objTSContainer("DVB-T")
Set objTuneRequest = objTuningSpace.CreateTuneRequest
Set objLocator = CreateObject("BDATuner.DVBTLocator")

objLocator.Bandwidth = 7
objLocator.CarrierFrequency = 191500 ' Hard Coded to Nine Sydney
objTuneRequest.Locator = objLocator

MSVidCtl.MaintainAspectRatio = "True"
MSVidCtl.View objTuneRequest
MSVidCtl.Run

</Script>
</html>
Go to the top of the page
 
+Quote Post
Hally
post Dec 9 2003, 07:09 PM
Post #42


Forum Regular


Group: Members
Posts: 234
Joined: 4-October 03
From: Melbourne
Member No.: 176
Card: None


That works a treat! Looks like I've got some playing to do... Sound works for me too, though the aspect ratio doesn't. Picture is stretched vertically. There goes my work for the night ;-)
Go to the top of the page
 
+Quote Post
Guest_AndrewPC_*
post Dec 9 2003, 07:39 PM
Post #43





Guests






darro,

I did the same a while back. This one is based on the microsoft sample but modified to suit DVB only. It also assumes you have registered Spectrum's tuning space.

This one has correct aspect and you can also change channels.

Instructions for use:

run html file
Type in frequency (eg 177500) press enter
Type in SID ( for 7 SD Sydney 1312) press enter
Then press 'Power On' button

It will take a second to render the graph then play.

If you want to change SID you can do this on the fly, just change Channel (eg 1316, 7HD Sydney) and it will change. If you want to change frequency it is advisable to press 'Power Off' the re-enter frequency and SID.

Let me know how you go.....


http://carey2.customer.netspace.net.au/viewdvb.zip

Andrew
Go to the top of the page
 
+Quote Post
Hally
post Dec 16 2003, 08:20 PM
Post #44


Forum Regular


Group: Members
Posts: 234
Joined: 4-October 03
From: Melbourne
Member No.: 176
Card: None


Is it possible to do a similar thing with the standard drivers rather than the BDA drivers, ie use them in an HTA with the MSVidCtl component?
Go to the top of the page
 
+Quote Post
Guest_Harald_*
post Jan 8 2004, 03:08 AM
Post #45





Guests






This disscussion have realy saved my day. Been loocking for info on PsisDecd.dll for a month now.

I have allso been trying to get XP Mediacenter to work with a DVBs card.
Have the BDA drivers(technotrend) , and can get Graphedit running DVBs channels, but only on a PC (std. XPpro.)where Mediacenter is not installed.

If trying on a Mediacenter pc GraphEdit locks after 2 seconds when tuning into a channel.
Have to use on/off switch to shutdown pc.

Cant figure out what is wrong. Do You have any sugestions?
Iv been told that microsoft has made some misstake in PsisDecd.dll, an that this is the reason.


Please exscuse my english, im from the other side (Norway tongue.gif )
Go to the top of the page
 
+Quote Post
Guest_nbplopes_*
post Jan 13 2004, 05:35 AM
Post #46





Guests






Hi, I'm new to Media Center stuff but not to programming, so maybe I can help on this. I've developed som MS WebTV so what people are trying to do here is very exciting for me

Anyway, I have a problem with MCE in Portugal. It does not scan the Portuguese channels.

I've read that Spectrum managed to MCE scan Australian with some hacking. My question how can I do it for Portugal too so that I can start testing applications. I just need some pointers towards how to do it.

Thanks in advance for any help
Go to the top of the page
 
+Quote Post
Guest_jslawler_*
post Mar 7 2004, 10:43 AM
Post #47





Guests






Has there been any progress on these BDA drivers since December?

I'm quite interested to see how these go, so the VisionPlus can be used in a wider range of software.

I dunno how complicated the code is but maybe you could release the source so others can add/modify stuff and keep the project going smile.gif

- James
Go to the top of the page
 
+Quote Post
Guest_Spectrum_*
post Mar 7 2004, 08:25 PM
Post #48





Guests






There has been very little interest in this project so I'm just maintaining it for my own personal use. As few people will have access to the DDK there's not much point in releasing the code (not that I wouldn't appreciate help from someone knowledgeable if they should be interested).

Spectrum
Go to the top of the page
 
+Quote Post
Guest_JoeyBloggs_*
post Mar 7 2004, 10:45 PM
Post #49





Guests






I will be interested, just not yet biggrin.gif Little early in the technology lifecycle for me...

Is anyone even attempting an open source BDA architecture app yet (active development not dreamware) ?
Go to the top of the page
 
+Quote Post
null_pointer
post Mar 8 2004, 12:46 PM
Post #50


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


The source filter gives you the transport stream which you can demux into all the streams it contains etc. The main problem for me is working out how to mux the elemental streams back into a PES stream to save to a file.
Go to the top of the page
 
+Quote Post
nate
post Mar 8 2004, 01:09 PM
Post #51


DigitalWatch Developer


Group: Developers
Posts: 2,263
Joined: 30-September 03
From: Melbourne
Member No.: 169
Card: DNTV Quad


QUOTE
The main problem for me is working out how to mux the elemental streams back into a PES stream to save to a file.

I'm just about to start working on a filter to do that. I managed to get a fair idea of how it all works from trying to implement libmpeg2 in vidomi, but we'll see how it goes. I think i'll probably have my nose buried in mpeg2 spec manuals for the first week though.
If i can get it done then there'll be nothing stopping me adding BDA support to DigitalWatch.


--------------------
Go to the top of the page
 
+Quote Post
null_pointer
post Mar 8 2004, 08:36 PM
Post #52


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


QUOTE
I'm just about to start working on a filter to do that. I managed to get a fair idea of how it all works from trying to implement libmpeg2 in vidomi, but we'll see how it goes. I think i'll probably have my nose buried in mpeg2 spec manuals for the first week though.
If i can get it done then there'll be nothing stopping me adding BDA support to DigitalWatch.


You may want to check out he source of the mplex tool from the mjpegtools package:

http://sourceforge.net/project/showfiles.p...package_id=5823

I have been playing with the Moonlight XMuxer:

http://www.elecard.com/products/xmuxer.shtml

I can demux the transport stream and then use the moonlight Xmuxer to mux the video and audio I am interested in and then save the stream to the HD using the Dump filter.

http://www.digtv.ws/temp/capture.png

It works, it would be good to have an open source filter though.

Spectrum, would it be possible to make the source filter work with multiple cards?
Go to the top of the page
 
+Quote Post
Guest_Spectrum_*
post Mar 8 2004, 10:06 PM
Post #53





Guests






Multiple cards? Sure, my second card (a Chaintech) is in my Windows Media Center Edition PC working full time as my HTPC so my development box only has a single card - but I should be able modify the code regardless. I haven't done too much programming recently - sitting at the PC for too long in Summer is awful (I hate the heat). But I expect to get back into it real soon.

Spectrum
Go to the top of the page
 
+Quote Post
Guest_JoeyBloggs_*
post Mar 9 2004, 04:31 PM
Post #54





Guests






Multicard would be a good step forward from my perspective as well biggrin.gif
Go to the top of the page
 
+Quote Post
null_pointer
post Apr 13 2004, 10:13 AM
Post #55


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


Hi Spectrum,

How is the to do list going?

To Do:
-Implement power state changes (eg. recovery from PC suspend state).
-Correctly implement signal strength/quality.

I am thinking you do not need to correctly implement the strength/quality values, the dBm rating would be good but very hard to implement as you can not calibrate the readings anyway. I would say something like take 80 as the zero mark and anything above that is + and anything below is -.

The power state changes are quite important as the software I am working on will allow the PC to go to sleep and wake it up etc (S3).

Multiple cards would also be good but I can not find any reference in the MSDN docs about how it should be handled.
Go to the top of the page
 
+Quote Post
Guest_Spectrum_*
post Apr 14 2004, 09:37 AM
Post #56





Guests






Signal strength is all cleaned up - the documentation is conflicting but I've returned to a percentage reading (the value read from the card), so that whole +/- millidecibel crap is to be forgotten.

As for handling power transitions, well I just wish I understood what my requirement is. I have a basic understanding of what happens generally, but the documentation does not say exactly what I need to cover. As it is, I can press the power button on the MCE remote while watching live TV and the box will suspend to S3 state. Then I press the button again and it comes up and live TV plays straight away - so I have no problem with power transitions as far as I can see. I guess I'm going to have to find someone who knows this a little better. I've posted to some news groups so hopefully someone will be forthcoming with information.

With the multiple cards scenario, I just need some time to pull apart my MCE box and put that card into my development box to test two-at-once. An upcoming weekend I hope.

I've been doing a lot of code refactoring and removing some bugs along the way. I'll release a new driver set soon.

Spectrum.
Go to the top of the page
 
+Quote Post
null_pointer
post Apr 14 2004, 11:22 AM
Post #57


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


QUOTE
Signal strength is all cleaned up - the documentation is conflicting but I've returned to a percentage reading (the value read from the card), so that whole +/- millidecibel crap is to be forgotten.
The signal strength is only for an indication anyway so as long as it gives you some sort of level then that should be fine.

QUOTE
As for handling power transitions, well I just wish I understood what my requirement is. I have a basic understanding of what happens generally, but the documentation does not say exactly what I need to cover. As it is, I can press the power button on the MCE remote while watching live TV and the box will suspend to S3 state. Then I press the button again and it comes up and live TV plays straight away - so I have no problem with power transitions as far as I can see. I guess I'm going to have to find someone who knows this a little better. I've posted to some news groups so hopefully someone will be forthcoming with information.


If you can bring your system out of S3 and the driver still works then you have no problem :-) it looks like it is already sleep enabled.

QUOTE
With the multiple cards scenario, I just need some time to pull apart my MCE box and put that card into my development box to test two-at-once. An upcoming weekend I hope.
The main question I have here is how would a programmer get access to both cards? Would the second instance of the capture filter reference the second card etc?

QUOTE
I've been doing a lot of code refactoring and removing some bugs along the way. I'll release a new driver set soon.


Cool, I am about to start working an a guide store dll that will allow
apps to create Tune Requests based on a tuning space and list of
Locators etc.

Has anyone done any work on this yet, I do not want to reinvent the
wheel if someone has already started work on this?
Go to the top of the page
 
+Quote Post
Guest_JoeyBloggs_*
post Apr 14 2004, 11:36 AM
Post #58





Guests






Nope, go for it biggrin.gif
Go to the top of the page
 
+Quote Post
null_pointer
post Apr 14 2004, 02:34 PM
Post #59


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


Spectrum, where did you get your original Tuning space reg file from, did you create it yourself?
Go to the top of the page
 
+Quote Post
Guest_JoeyBloggs_*
post Apr 14 2004, 02:41 PM
Post #60





Guests






I remember him saying something about poking binary values into the dll as MCE wasn't setup for Australia. I think he reused the german frequencies area ~
Go to the top of the page
 
+Quote Post

8 Pages V  < 1 2 3 4 5 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 07:43 AM