MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2008-06-18, 15:45   #1 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,321
Thanks: 25
Thanked 201 Times in 108 Posts

Country:

My System

Default [Please Test] For those who are having trouble with DVB scannig

Hi,
mrstef pointed me to something odd while scanning.
Sometimes you get no signal for a certain transponder and the next time you get the channels from this transponders.
He did some deep analysis (thanks very much for this) and so i may have found a possible reason for this.
Please try the attached TsWriter.ax if you have troubles while scanning.
- Just stop TvService.
- Replace the file.
- Start TvService
- Try scanning

This only affects scanning for DVB and ATSC cards !!!

for your help.
Attached Files
File Type: rar TsWriter.rar (96.4 KB, 22 views)
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2008-06-18, 19:40   #2 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 53
Thanks: 4
Thanked 3 Times in 3 Posts

Country:


Default

Talk about quick response!

I tested the attached tswriter, and indeed, I get a much higher "hit ratio" on my channels now! Before it was ~50%. Now it is more like 80%. However it seems as this modification does not entirely fix the issue.

I now also do get some entries in the log which I do not want such as:

18-06-2008 19:29:35.667 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 1FCC start: 20 BufferPos: 5 SectionLength: 2 - Discarding section and moving to next packet

and

18-06-2008 19:28:17.496 22) p: s: onid: 0 tsid: 458 sid:8c3d major: 0 minor: 0 freq: 0 type: 0 pmt:15cd othermux:0 freeca:0 hasVideo:0 hasAudio:0

So I think that we now are processing a bit too many PAT:s (even incorrect ones) which we shouldn't,...

Also note that this issue does not only occur for me when scanning. Even if I do like 10 or 20 scans in a row, and finally find all my channels, I get problems with "No audio/video"-errors when trying to watch TV inside MP. So the same type of error seem to occur even inside MP, that sometimes it is unable to "find" the channel.

I will do the same modification to my tswriter I have here with additional printout and see what I can come up with,... I'll keep in touch!
mrstef is offline   Reply With Quote
Old 2008-06-22, 23:08   #3 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 53
Thanks: 4
Thanked 3 Times in 3 Posts

Country:


fixed Solved!

Hi again gemx!

I think I have solved it!

The attached patch (made from SVN 19456 of TsWriter) fixes all my scanning and viewing troubles! It does not include your patch mentioned above, but uses another approach which seems to work better.

For all of you out there who might also have trouble, you can try the attached tswriter.ax (install SVN19453 , close TvService, replace tswriter.ax and restart TvService) which has the patch built in. I will not commit this to SVN since I do not know if the patch might break something for someone else, but could you have a look at it gemx and add it to SVN if it makes sense?

Also, thanks gemx for all your support on this issue!

Best Regards
Attached Files
File Type: zip PatchFixScanningIssueForSVN19456.zip (457 Bytes, 25 views)
File Type: zip TsWriter.zip (117.6 KB, 35 views)

Last edited by mrstef; 2008-06-22 at 23:13.
mrstef is offline   Reply With Quote
Old 2008-06-24, 10:00   #4 (permalink)
mbb
Portal Member
 
Join Date: Nov 2004
Posts: 161
Thanks: 1
Thanked 2 Times in 2 Posts

Country:


Default

I did a test of you Tswriter.ax version.

It doesnt solve my problem for 1 transponder with low signal quality. But it's not te point.

The big problem is to watch a channel during recording.
It's working in single seat.

But in multi seat, it seems that the TSwriter lock the stream.

MP client become simply unresponsive.
mbb is offline   Reply With Quote
Old 2008-06-24, 11:47   #5 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: England
Posts: 1,040
Thanks: 5
Thanked 8 Times in 8 Posts

My System

Default

Both TSWRITER files don't work for UK DVB-T scan.

First transponder scans then 2nd fails see attached.

Edit SVN 19472 scanning OK , will try to retest agin.
Attached Thumbnails
please-test-those-who-having-trouble-dvb-scannig-capture.jpg  
Attached Files
File Type: zip MediaPortalLogs_24_06_08.zip (5.6 KB, 5 views)

Last edited by SciDoctor; 2008-06-25 at 11:18.
SciDoctor is offline   Reply With Quote
Old 2008-06-24, 16:25   #6 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 53
Thanks: 4
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by SciDoctor View Post
Both TSWRITER files don't work for UK DVB-T scan.

First transponder scans then 2nd fails see attached.
It seems as you have a different problem than what I had. I had problems parsing the PAT, which meant that no PMT parsers where kicked off. You do have two successful PAT parses, and PMT parsers are started and channels are found for both mux:es as far as I can see.

Your problem seems to be that after everyhing has been found on the second mux, something goes wrong so that the finalizing call:

"Scanner finished. Triggering callback"

is not executed. Right after this printout the new channel info is sent back to MP from tswriter. This would require some debugging to solve,...
mrstef is offline   Reply With Quote
Old 2008-06-26, 19:44   #7 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,321
Thanks: 25
Thanked 201 Times in 108 Posts

Country:

My System

Default

mrstef.
I committed your changes.
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Reply

Bookmarks

Tags
dvb, scannig, test, trouble

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble adding Conceptronic CTVCOMBOi DVB-T card consy Installation, configuration support 2 2007-12-21 22:44
Russian DVB EPG and Channels (iso-8895-5 trouble) agenprice Electronic Program Guide 2 2007-09-30 00:53
Trouble shooting Twinhan DVB-S card slipery General Support 0 2007-03-14 13:41
Trouble with PG700 DVB-T Card archidendron General Support 3 2006-03-22 13:53
TROUBLE INSTALLING DVB-T CARDS philtwem Installation, configuration support 4 2006-03-13 10:46


All times are GMT +1. The time now is 10:49.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden