| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #151 (permalink) | ||||
| Portal Developer Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts
Country: | Quote:
![]() Quote:
Quote:
So having all these things in mind, I don't expect that teletext subtiltes will be added to the .ts stream in 1.0.1. I also don't expect that all changes are ready for 1.0.1, but all mentioned things will be added step-by-step. Quote:
MisterD | ||||
| | |
| | #152 (permalink) |
| Portal Member | Hi misterd, i've successfully installed the plugin, and then i installed the mainconcept encoder. Neither MP or TVserver can "see" that i've installed the codec. In other words, under the priority list in the TVserver to choose which encoder should be the number 1 priority i have only my intervideo encoder, is this because i installed the mainconcept encoder after installing your patch? Or is there something i can do to make the encoder be detected. Thanks again |
| | |
| | #153 (permalink) | ||
| Portal Member Join Date: May 2008
Posts: 72
Thanks: 9
Thanked 1 Time in 1 Post
Country: | Quote:
The way I would like to do this is to force PAL video for all sources because that all my channels are in PAL. I have 2 options: 1) Call IAMAnalogVideoDecoder->put_TVFormat() to force the TV format to PAL (many thanks to sub and carpeVideo over from GBPVR forums). 2) I have read in the directshow development forums at MSDN that this call is deprecated and the current way to do this is through IAMStreamConfig. I have looked over the .cs files and it seems the bulk (all?) of filter graph is done in TvCardAnalog.cs. I have tried both ways but my code didnt work. 1)Using IAMAnalogVideoDecoder: Iadded the following lines to AddTvCaptureFilter function: Code: IAMAnalogVideoDecoder _filterCaptureVideoDecoder = (IAMAnalogVideoDecoder) _filterCapture;
hr = _filterCaptureVideoDecoder.put_TVFormat(AnalogVideoStandard.PAL_B);
if (hr == 0)
{
Log.Log.WriteFile("analog: AddTvCaptureFilter forced tv format to PAL_B");
}
else
{
Log.Log.WriteFile("analog: AddTvCaptureFilter cannot force tv format to PAL_B");
}
2) Using IAMStreamConfig: I added the following lines to the SetupCaptureFormat function: Code: setStreamConfigSetting(_interfaceStreamConfigVideoCapture, "VideoStandard", AnalogVideoStandard.PAL_B);
Log.Log.Info("SetupCaptureFormat: set VideoStandard to PAL_B");
| ||
| | |
| | #154 (permalink) | ||
| Portal Developer Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts
Country: | Quote:
Quote:
Also using the IAMStreamConfig interface is a little bit more complicated than you thought. When you want to use the IAMAnalogVideoDecoder than you should add it to the RunGraph() method after starting the graph, because probably starting the graph resets your setting. MisterD | ||
| | |
| This User Say Thank You: |
| | #155 (permalink) | |
| Portal Member Join Date: May 2008
Posts: 72
Thanks: 9
Thanked 1 Time in 1 Post
Country: | Quote:
Now I have 2 more problems: 1) The window doesnt seem to be correct; more precisely the height seems be incorrect as the picture is truncated towards the bottom. Using GetFrameSize() returns a size of 720x576. This looks ok, yet the picture problem is there. What else could be the problem? 2) I am getting no sound. Do I have to make a call to some other function other than set_TVFormat? | |
| | |
| | #156 (permalink) |
| Portal Developer Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts
Country: | Normally the set_TVFormat should be enough, but everything must be supported by your card. I mean the tv format, resolution, refresh rate etc. ATM I have no clue why the picture is malformed and you have no sound. MisterD |
| | |
| | #157 (permalink) |
| Portal Member | Hi misterd and thanks for your last advice, i was able to get my encoders working. Interestingly this did not solve my problem, i'll explain what it is and maybe you know the answer. My Pinnacle 7010ix has dual hybrid dvb-t / analogue, i believe i have it set up correctly with default settings for the most part in TVserver and using the Intervideo encoders. When i start watching or recording channels via the analogue part they always start perfectly, after almost exactly 10 seconds there is a sort of a stutter heard in the audio and then thereafter the audio wobbles just a little, most evident when music like a piano is playing. The picture also appears less smooth from this point on. The CPU seems to be runnin at 30%, hard drives are newish SATA and 2gb of RAM installed, so i think the hardware should cope. Do you have any idea what event happens after 10 seconds which would change the analogue signal in this way? Thanks |
| | |
| | #158 (permalink) |
| Portal Member Join Date: Jul 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi, just came across this thread and have a few questions: - do I understand correctly that this patch should allow an Analog card with no hardware encoder to be used in MP (like the Blackgold 6in1 I am using - BlackGold Technology Ltd :: TV Tuner Products :: BGT3540 :: 6 in 1 :: Dual digital satellite, Dual digital terrestrial, Dual analogue terrestrial :: PCI express card), the drivers are installed and all tuners are seen by TVServer Config but I can't scan for channels or view already found channels from another card? - I see there is a version for R4 - is there a version for RC3 (the release I am currently running) ? - what is the best way to get encoders for this to work - is there anything else that needs to be set for this work and on the off chance, has anybody got this working with the Blackgold 6in1? Thanks |
| | |
| | #159 (permalink) | |
| Portal Developer Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts
Country: | Quote:
There was a version for RC3, but I don't provide it anymore as RC4 is out now and I can't help anymore if you get any problems with it. If you have installed the right encoder than normally everything should work, but there are some analogs cards that are currently not supported by the TvServer. MisterD | |
| | |
| | #160 (permalink) |
| Portal Member | @misterd It appears that my analog card when being used by MP is trying to record at 60HZ, (an NTSC RR) which is causing my issues as all TV here is PAL, this occurs with all the encoders that i have available to me. Is there a way to force MP to use PAL i.e. 50HZ only? The card functions fine with windvr and other TV software. |
| | |
![]() |
| Bookmarks |
| Tags |
| analog, cards, improvements, patch |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with several HW-encoding analog tuner cards | pbb | Development | 3 | 2007-11-07 14:07 |
| Are hardware-encoding analog cards supported? | pbb | Get Support | 18 | 2007-07-01 22:16 |
| Analog Channels Patch Italy!!! | fenomeno83 | General Support | 0 | 2006-10-17 02:17 |
| Which analog capture cards does the mediaportal team use? | Richthofen | Hardware Selection Help | 5 | 2006-09-08 22:41 |
| [Patch] MultiTuner Bug with different PVR cards | FlipGer | General Development (no feature request here!) | 12 | 2006-01-06 08:21 |