Incorrect Frequency and PID data from Autotune (1 Viewer)

Taipan

Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    I have just tried CVS 07-27-2005--01-30 and it looks like part of this problem has been resolved, as Autotune now captures the correct Video PID for ABC 2 (2309).

    However, many of the channel frequencies are still incorrect by 125 KHz. Of the 5 FTA networks that I have access to, Autotune gets the incorrect frequency for 3 of them - in fact, Autotune now reports all channels as being xxx,625 KHz, whereas 3 of them should be xxx,500 KHz. For example:-

    Channel Seven should be 177,500 - but Autotune collects 177,625.
    Channel Ten should be 218,500 - but Autotune collects 219,625.
    Channel ABC should be 226,500 - but Autotune collects 226,625.

    Channel Nine is OK at 191,625 and channel SBS is OK at 536,625
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    I have just installed CVS 07-28-2005--00-20 and as a work-around for the incorrect frequencies, I have edited the "dvbt.xml" file so that it contains only the 5 correct frequencies for Melbourne, and with the offset value equal to zero. So it looks like this:-

    Code:
    	<country name="Australia - All Regions" offset="0">
    		<carrier frequency="177500" bandwidth="7" />
    		<carrier frequency="191625" bandwidth="7" />
    		<carrier frequency="219500" bandwidth="7" />
    		<carrier frequency="226500" bandwidth="7" />
    		<carrier frequency="536625" bandwidth="7" />
    	</country>
    Autotune now gathers all the correct frequencies, and all the correct PIDs.

    However, I still cannot get the video to display for ABC 2 - it doesn't matter what value I set the Video PID to (in MP Configuration), the MediaPortal.log shows that it is searching for video at AE hex (174 dec). Here's the section of the MediaPortal.log:-

    28/07/2005 5:14:34 PM DVBGraphBDA:TuneChannel() tune to channel:18
    28/07/2005 5:14:34 PM DVBGraphBDA: tuning details: frequency:226500 KHz ONID:4112 TSID:561 SID:562 provider:ABC
    28/07/2005 5:14:34 PM DVBGraphBDA:confused:ubmitTuneRequest() frequency:226500 KHz Bandwidth:7 ONID:4112 TSID:561, SID:562
    28/07/2005 5:14:35 PM DVBDemuxer:ABC 2 audio:906 video:905 teletext:909 pmt:102 subtitle:0 program:562
    28/07/2005 5:14:35 PM DVBGraphBDA:start MHW EPG grabber for program number:562
    28/07/2005 5:14:35 PM DVBGraphBDA:TuneChannel() done
    28/07/2005 5:14:35 PM DVBGraphBDA:confused:endPMT() video pid:AE audio pid:906 AC3 pid:0
    28/07/2005 5:14:35 PM planescene: enabled:True
    28/07/2005 5:14:35 PM DVBGraphBDA:Viewing..
    28/07/2005 5:14:35 PM DVBDemuxer:receiving DVB packets
    28/07/2005 5:14:35 PM VMR9Helper: playing->repaint
    28/07/2005 5:14:35 PM PlaneScene: video draw allowed:False
    28/07/2005 5:14:35 PM key:13 0xD (2)
    28/07/2005 5:14:36 PM DVBGraphBDA: OnPMTIsChanged:database\pmt\pmt_ABC 2_4112_561_562_5.dat
    28/07/2005 5:14:36 PM DVBGraphBDA:confused:endPMT() video pid:AE audio pid:906 AC3 pid:0
    28/07/2005 5:14:41 PM DVBGraphBDA: no video->retune.. strength:-1960 quality:88
    28/07/2005 5:14:41 PM DVBGraphBDA:confused:ubmitTuneRequest() frequency:226500 KHz Bandwidth:7 ONID:4112 TSID:561, SID:562
    28/07/2005 5:14:42 PM DVBDemuxer:ABC 2 audio:906 video:AE teletext:909 pmt:102 subtitle:0 program:562
    28/07/2005 5:14:42 PM DVBGraphBDA:start MHW EPG grabber for program number:562
    28/07/2005 5:14:42 PM DVBGraphBDA:confused:endPMT() video pid:AE audio pid:906 AC3 pid:0
    28/07/2005 5:14:42 PM DVBDemuxer:receiving DVB packets
    28/07/2005 5:14:48 PM DVBGraphBDA: no video->retune.. strength:-1940 quality:88
    28/07/2005 5:14:48 PM DVBGraphBDA:confused:ubmitTuneRequest() frequency:226500 KHz Bandwidth:7 ONID:4112 TSID:561, SID:562
    28/07/2005 5:14:49 PM DVBDemuxer:ABC 2 audio:906 video:AE teletext:909 pmt:102 subtitle:0 program:562
    28/07/2005 5:14:49 PM DVBGraphBDA:start MHW EPG grabber for program number:562
    28/07/2005 5:14:49 PM DVBGraphBDA:confused:endPMT() video pid:AE audio pid:906 AC3 pid:0
    28/07/2005 5:14:49 PM DVBDemuxer:receiving DVB packets


    The green line indicates that the Video PID is 905 hex (which is correct), but the red line indicates that it is searching for video at AE hex. And the blue section is the indefinite loop that MP gets stuck in - which I can interrupt by selecting another channel.

    The value of 905 hex is 2309 dec, which is correct for ABC 2. But, I can change the value in MP Configuration to anything I like, and MP will still only use the value of AE hex.

    Can someone tell me where MP gets the value of AE from? Because it is clearly not taking it from the data in the TVDatabaseV21.db3 file.

    I have also noticed (which may be related to the above issue) that I can set the AC3 PIDs to 0, and MP will still use the original non-zero value - again, where does it get that value from.. :?

    Apart from ABC 2, all the other channel changes are now really quick and very smooth - there is no longer a pause and a break in the sound a few seconds after changing to a new channel. So, if I could solve the ABC 2 issue, it would be perfect... :D
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    I have installed CVS 07-30-2005--01-14 and I can now receive channel ABC 2 without the video freezing.... :D

    In fact, I can now switch between all channels without any "frozen video" or blank screens. The Video PID for ABC 2 is now correct in both the channel data and the pmt data... :D :D

    However, Autotune still selects the wrong centre frequency for 3 of my 5 channels (I workaround this issue by using the modified dvbt.xml file listed previously) and deleting the AC3 PIDs from the channel data does not seem to remove it from the pmt data - for example (this is for channel Nine, where I have set the AC3 PID to 0):-

    31/07/2005 4:11:58 PM DVBGraphBDA: tuning details: frequency:191625 KHz ONID:4637 TSID:1072 SID:1072 provider:Nine Melbourne
    31/07/2005 4:11:58 PM DVBGraphBDA:confused:ubmitTuneRequest() frequency:191625 KHz Bandwidth:7 ONID:4637 TSID:1072, SID:1072
    31/07/2005 4:11:59 PM DVBDemuxer:Nine audio:2D0 video:207 teletext:247 pmt:100 subtitle:0 program:1072
    31/07/2005 4:11:59 PM DVBGraphBDA:start MHW EPG grabber for program number:1072
    31/07/2005 4:11:59 PM DVBGraphBDA:TuneChannel() done
    31/07/2005 4:11:59 PM planescene: enabled:True
    31/07/2005 4:11:59 PM DVBGRAPHBDA:Got PMT version:7
    31/07/2005 4:11:59 PM DVBGraphBDA: OnPMTIsChanged:database\pmt\pmt_Nine_4637_1072_1072_5.dat
    31/07/2005 4:11:59 PM DVBGraphBDA:confused:endPMT() video pid:207 audio pid:2D0 AC3 pid:2D1


    I am not sure if this is having any negative impact, although the audio does "stutter" a few times for the first few {5 to 8} seconds after a channel change.
     

    tijera

    Portal Member
    July 13, 2005
    6
    0
    Switzerland
    wiggums said:
    Just tries cvs-07-31-2005--08-28.
    No luck - it now says that my TV Tuner does not support autotune......

    same problem here. nothing worked after the CVS installation so i re-installed the 0.1.3 version and it worked - but still with wrong frequencies (and autotune it did not find all tv channels (pro7 sat1 orf at astra 19,2°)btw)

    Area: Media Portal Program
    MP Version: 0.1.3.0
    Skin: BlueTwo
    Windows Version: XP MCE 2005
    CPU Type: Intel P4 3E
    Memory: 1024MB
    Motherboard Chipset: Asus P4P800-e deluxe
    Video Card: Sappire Atlantis 9800pro passive
    Video Card Driver:
    Video Render Type: VMR9 renderless
    Video Codec Type & Version:
    Audio Codec Type & Version: MPEG/AC3/DTS/LPCM Audio Decoder
    TV Card: floppyDTV
    TV Card Type: DVB-S
    TV Card Driver:
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    @ wiggums and @ tijera, the "start.bat" file that was provided with recent CVS releases was incorrect - it did not contain these 2 lines:-
    Code:
    regsvr32.exe /s "%~dp0MPTS.ax" 
    regsvr32.exe /s "%~dp0MPSA.ax"

    However, that problem has been corrected, so you might want to try the latest CVS with the corrected "start.bat" file?
     

    vbap

    Portal Pro
    February 15, 2005
    131
    1
    Melbourne, Australia
    Taipan,

    Off-topic, but just want to say thanks for doing a lot this CVS testing with the DVB tuning and stuff. Unfortunately, I don't have a lot of time at the moment to do this, so without your efforts, some of these issues would not get ironed out so quickly.

    Thanks mate!,
    vbap
     

    Users who are viewing this thread

    Top Bottom