Fix for " 1ST scan = a fast no signal, 2ND scan = Crash "
Hi folks, I'm a long time Mediaportal user but this is my first post. I think I may have a work around for the problem many users are facing "1ST scan = fast scan no signal, 2ND scan = crash". I don't normally use analogue TV myself because the reception in my area is weak, but I can get a "snowy" image. Maybe somebody with better reception can confirm this fix.
First off My set-up is XP Pro with SP3, Media Portal 1.0.2.0 and the TV server pack that came with the install/set-up files. I'm using a Pinnacle 3010ix Dual DVT/Analogue card with the latest drivers.
I tried to scan in my analogue channels using the TV server configuration tool and got a quick scan with no signal recieved , on the second scan crashed the TV server. I reviewed my error logs I noticed this entry "TvLibrary.TvExceptionSWEncoderMissing: No audio compressor filter found".
I done a google search for "WinDVR3.rar" and found an old demo of the program and downloaded it (I'm not posting the link as it may break the forum rules).
I deleted the content of the folders " C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\log" & "C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\AnalogCard" I shut down the "TVservice.exe" from taskmanager and installed the WinDVR 3 demo. I rebooted the PC .
On the restart I done another scan. Firstly I got nothing but then I noticed that the Irish scan only scanned 10 frequencies so I rescanned using the UK tab which gave a full scan and I picked up the four channels available on analogue in Ireland.
The TV server does not crash any more as a result of a scan and the channels are in my program list in Mediaportal and viewable.
I've attached some log files and the XML file of the TV tuner. I noticed there is a 1 Kb difference in the XML file post scan without WinDVR versus post scan with WinDVR 3 installed. See code below for the difference. Anyway with the WinDVR all seems fine on windows XP SP3
POST SCAN XML (No WinDVR)
<mode>0</mode>
<name>7162 BDA Analog TV Audio</name>
<audioModes>29299</audioModes>
POST SCAN XML (With WinDVR)
<mode>0</mode>
<name>7162 BDA Analog TV Audio</name>
<audioModes>0</audioModes>
Hi all!
First of all, thanks for the hard work!
MediaPortal is just great!
I'm trying to use an analog tv card, but I'm getting an error.
Using the SVN, I get the following error log.
I guess the error is with teletext. I tried to use GraphEdit to find a filter to capture the text, but I couldn't find any.
Is it possible to disable teletext at all??? I don't use it anyway....
2009-10-13 22:14:52.479186 [6]: analog: unable to connect capture->tee/sink
2009-10-13 22:14:52.479186 [6]: analog: unable to setup teletext filters
2009-10-13 22:14:52.494786 [6]: Exception :TvLibrary.TvException: Analog: unable to setup teletext filters
at TvLibrary.Implementations.Analog.TvCardAnalog.BuildGraph() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 533
2009-10-13 22:14:52.510386 [6]: Exception ystem.NullReferenceException: Object reference not set to an instance of an object.
at TvLibrary.Implementations.Analog.TvCardAnalog.Dispose() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 453
at TvLibrary.Implementations.Analog.TvCardAnalog.BuildGraph() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 587
at TvLibrary.Implementations.Analog.TvCardAnalog.Tune(Int32 subChannelId, IChannel channel) in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 247
at TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)
2009-10-13 22:14:55.864386 [6]: analog: unable to connect capture->tee/sink
2009-10-13 22:14:55.879986 [6]: analog: unable to setup teletext filters
2009-10-13 22:14:55.879986 [6]: Exception :TvLibrary.TvException: Analog: unable to setup teletext filters
at TvLibrary.Implementations.Analog.TvCardAnalog.BuildGraph() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 533
2009-10-13 22:14:55.895586 [6]: Exception ystem.NullReferenceException: Object reference not set to an instance of an object.
at TvLibrary.Implementations.Analog.TvCardAnalog.Dispose() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 453
at TvLibrary.Implementations.Analog.TvCardAnalog.BuildGraph() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 587
at TvLibrary.Implementations.Analog.TvCardAnalog.Tune(Int32 subChannelId, IChannel channel) in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 247
at TvLibrary.Implementations.Analog.AnalogScanning.Scan(IChannel channel, ScanParameters settings) in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\AnalogScanning.cs:line 100
at TvService.ChannelScanning.Scan(IChannel channel, ScanParameters settings)
2009-10-13 22:14:55.926786 [10]: Exception ystem.NullReferenceException: Object reference not set to an instance of an object.
at TvLibrary.Implementations.Analog.Components.Tuner.UpdateSignalQuality() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Components\Tuner.cs:line 405
at TvLibrary.Implementations.Analog.TvCardAnalog.UpdateSignalQuality(Boolean force) in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\Analog\Graphs\Analog\TvCardAnalog.cs:line 391
at TvLibrary.Implementations.TvCardBase.get_IsTunerLocked() in C:\svnroot\mediaportal\trunk\TvEngine3\TVLibrary\TVLibrary\Implementations\TvCardBase.cs:line 422
at TvService.TvCardHandler.get_TunerLocked()
I did what jobyrne30 suggested with WinDVR 3, and installed it on my Windows 7 X64 setup. So far, it's scanning and finding channels, though I wound think that my capture card is capable of hardware MPEG2 encoding.
Is there something better then WinDVR 3 for MediaPortal, or it doesn't matter?
**UPDATE**
So far the TV is functioning, though with a 50%-60% CPU usage. The Windows task bar overlaps Mediaportal constantly, though this is a problem with Windows 7 with many applications.
I have a question, do I have to keep WinDVR installed for this to continue to work?
**UPDATE AGAIN**
I fixed the taskbar overlaying Mediaportal. All you gotta do is right click and go to properties, then under compatibility check off "Disable Display Scaling on high DPI settings". Since my HTPC is connected to a HDTV, I raised the DPI settings to make text readable.
I too have encountered the same problem that is being discussed in this thread. I have the same issue with a Hauppauge HVR-950Q which needs a software encoder for the analog channels. Everytime that I try to access an analog channel, i get the message that it is missing the software encoder. However, if I look through the logs it more specifically states that I am missing the 'audio compressor'.
The installed wintv that comes with the product works fine. I have reinstalled the software and still have the same issue. I can delete the 'analog' file and am able to scan the analog channels as described in previous posts. The next time I scan the posts the applicaiton locks up and has to be restarted. If I manually add the analog channel and then hit preview, it comes back with a message stating 'Preview failedWencoder missing'.
I have the latest Mediaportal and Tv Server running on Vista 64 Business....
Any thoughts on what to try or testing I could do would be great.
Update to my previous post. I have downloaded and installed the Beta version of Media Portal to see if the newer version has corrected the problem. It still does not work, but it might shed some light on the problem though:
The issue that I am having is getting the analog channels to work for the HVR-950Q. I only have two analog channels that are fed from my DVR via a cable connection to the tuner card.
After installing the Beta, I proceeded to configure the TV Server. I performed a scan of channels on the analog tuner. With the Beta version, the scan proceeded normally and discovered the two analog channels noted above. Yeah!.....
However, they still do not work when using My TV or when using the previw button from the TV Server configuration. The error message in My TV states no Video or Audio detected. Below is a snippet from the log after hitting the preview button from the TV Server Configuration app. It indicates that no audio was found after xx seconds.
Any suggestions on what to try to fix this. I am ready willing and able to test anything.