Analog program scan crashes TV-Server (1 Viewer)

jobyrne30

MP Donator
  • Premium Supporter
  • October 14, 2009
    50
    9
    Home Country
    Ireland Ireland
    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 remembered that when I lived in an area with good analogue reception I used MP with WinDVR 3 install, see wiki link:- UserGuides/SW-Cards_setup - MediaPortal Manual Documentation.

    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>



    Hope This Helps:)
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    Error

    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 :confused: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 :confused: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 :confused: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()
     

    Dukenukemx

    Portal Pro
    October 10, 2009
    76
    2
    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.
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    chemelli,

    do you think it is possible to ignore teletext while building the graph?

    Can I install any codec to resolve this issue?

    I have installed all of my card's software...


    Thanks in advance...
     

    Mafitz

    New Member
    October 31, 2009
    4
    0
    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 failed:confused:Wencoder 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.
     

    Mafitz

    New Member
    October 31, 2009
    4
    0
    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.

    Thanks,
    Mike


    2009-11-01 09:17:49.088069 [14]: Controller: StartTimeShifting 40 4
    2009-11-01 09:17:49.088069 [14]: Controller: find free card for channel 40
    2009-11-01 09:17:49.088069 [14]: Controller: got 1 tuning details for 40
    2009-11-01 09:17:49.088069 [14]: Controller: channel #1 tv:40 Freq:0 Channel:40 Country:United States Tuner:Antenna Video:Tuner Audio:Automatic
    2009-11-01 09:17:49.088069 [14]: Controller: card:1 type:DvbIP cannot tune to channel
    2009-11-01 09:17:49.088069 [14]: Controller: card:2 type:Atsc cannot tune to channel
    2009-11-01 09:17:49.088069 [14]: Controller: card:3 type:Analog is available priority:2 #users:0 same transponder:False
    2009-11-01 09:17:49.103669 [14]: Controller: card:4 type:RadioWebStream cannot tune to channel
    2009-11-01 09:17:49.103669 [14]: Controller: found 1 available
    2009-11-01 09:17:49.103669 [14]: card: CardTune 3 40 pcdoctorg:3:-1
    2009-11-01 09:17:49.103669 [14]: card: Tune 3 to 40
    2009-11-01 09:17:49.103669 [14]: card: user: pcdoctorg:3:-1 tune tv:40 Freq:0 Channel:40 Country:United States Tuner:Antenna Video:Tuner Audio:Automatic
    2009-11-01 09:17:49.103669 [14]: analog: Tune:tv:40 Freq:0 Channel:40 Country:United States Tuner:Antenna Video:Tuner Audio:Automatic
    2009-11-01 09:17:49.103669 [14]: analog:GetNewSubChannel:0 #0
    2009-11-01 09:17:49.103669 [14]: analog subch:0 OnBeforeTune
    2009-11-01 09:17:50.819669 [14]: Analog: Tuned to country:1 video:627250000 Hz audio:631750000 Hz locked:True
    2009-11-01 09:17:51.272069 [14]: analog subch:0 OnAfterTune
    2009-11-01 09:17:51.272069 [14]: analog subch:0 OnGraphStart
    2009-11-01 09:17:51.272069 [14]: analog: RunGraph
    2009-11-01 09:17:51.318869 [14]: analog: RunGraph succeeded
    2009-11-01 09:17:51.771269 [14]: analog: LockedInOnSignal ok
    2009-11-01 09:17:51.771269 [14]: analog subch:0 OnGraphStarted
    2009-11-01 09:17:52.223669 [14]: card: Tuner locked: True
    2009-11-01 09:17:52.223669 [14]: **************************************************
    2009-11-01 09:17:53.128469 [14]: ***** SIGNAL LEVEL: 100, SIGNAL QUALITY: 100 *****
    2009-11-01 09:17:53.128469 [14]: **************************************************
    2009-11-01 09:17:53.128469 [14]: card: tuned user: pcdoctorg subchannel: 0
    2009-11-01 09:17:53.128469 [14]: user:pcdoctorg add
    2009-11-01 09:17:53.128469 [14]: card2:pcdoctorg 3 0
    2009-11-01 09:17:53.128469 [14]: Controller: pcdoctorg 3 0
    2009-11-01 09:17:53.128469 [14]: control2:pcdoctorg 3 0
    2009-11-01 09:17:53.128469 [14]: Controller: delete timeshift files C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live3-0.ts
    2009-11-01 09:17:53.128469 [14]: card: StartTimeShifting 3 C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live3-0.ts
    2009-11-01 09:17:53.128469 [14]: card: CAM enabled : False
    2009-11-01 09:17:53.128469 [14]: analog:confused:etTimeShiftFileName:C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live3-0.ts
    2009-11-01 09:17:53.128469 [14]: analog:confused:etTimeShiftFileName: uses .ts
    2009-11-01 09:17:53.144069 [14]: card: WaitForTimeShiftFile - waiting _eventAudio & _eventVideo
    2009-11-01 09:18:08.151269 [14]: card: WaitForTimeShiftFile - no audio was found after 15.0072 seconds
    2009-11-01 09:18:08.151269 [14]: card WinTV HVR-950 Tuner: StopTimeShifting user:pcdoctorg sub:0
    2009-11-01 09:18:08.151269 [14]: card: StopTimeShifting user:pcdoctorg sub:0
    2009-11-01 09:18:08.151269 [14]: card not IDLE - freeing subch: 0
    2009-11-01 09:18:08.151269 [14]: analog: StopTimeShifting()
    2009-11-01 09:18:08.151269 [14]: tvcard:FreeSubChannel: subchannels count 1 subch#0 keep graph=False
    2009-11-01 09:18:08.151269 [14]: analog subch:0 Decompose()
    2009-11-01 09:18:08.151269 [14]: tvcard:FreeSubChannel : no subchannels present, stopping graph
    2009-11-01 09:18:08.151269 [14]: tvcard:FreeAllSubChannels:
    2009-11-01 09:18:08.151269 [14]: analog: StopGraph state:Running
    2009-11-01 09:18:09.524069 [14]: analog: Graph stopped
    2009-11-01 09:18:09.524069 [14]: user:pcdoctorg remove
    2009-11-01 09:18:14.496069 [14]: Controller: epg start
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom