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!

Closed Thread
 
Thread Tools Display Modes
Old 2008-02-15, 17:16   #161 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: California
Posts: 183
Thanks: 0
Thanked 11 Times in 7 Posts

Country:


Default

gemx - I've tried to rescan ATSC with your new TvLibrary.dll and I'm getting this in error.log:

2008-02-15 07:54:46.390625 [6]: Exception ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at TvLibrary.Interfaces.Analyzer.ITsChannelScan.Stop( )
at TvLibrary.Implementations.DVB.DvbBaseScanning.Scan (IChannel channel, ScanParameters settings)
at TvService.ChannelScanning.Scan(IChannel channel, ScanParameters settings)

getting this during ATSC scan as well:

2008-02-15 08:25:13.625000 [14]: Exception ystem.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at TvLibrary.Implementations.DVB.TvCardDvbBase.Submit TuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int3 2 subChannelId, IChannel channel)
2008-02-15 08:25:13.625000 [14]: Exception :The given key was not present in the dictionary.
2008-02-15 08:25:13.625000 [14]: site :Void ThrowKeyNotFoundException()
2008-02-15 08:25:13.625000 [14]: source :mscorlib
2008-02-15 08:25:13.625000 [14]: stacktrace: at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at TvLibrary.Implementations.DVB.TvCardDvbBase.Submit TuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int3 2 subChannelId, IChannel channel)
2008-02-15 08:25:13.625000 [14]: Exception ystem.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int3 2 subChannelId, IChannel channel)
at TvLibrary.Implementations.DVB.DvbBaseScanning.Scan (IChannel channel, ScanParameters settings)
at TvService.ChannelScanning.Scan(IChannel channel, ScanParameters settings)
2008-02-15 08:25:13.625000 [14]: Exception :The given key was not present in the dictionary.
2008-02-15 08:25:13.625000 [14]: site :Void ThrowKeyNotFoundException()
2008-02-15 08:25:13.625000 [14]: source :mscorlib
2008-02-15 08:25:13.625000 [14]: stacktrace: at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int3 2 subChannelId, IChannel channel)
at TvLibrary.Implementations.DVB.DvbBaseScanning.Scan (IChannel channel, ScanParameters settings)
at TvService.ChannelScanning.Scan(IChannel channel, ScanParameters settings)

Last edited by garry; 2008-02-15 at 17:31. Reason: Automerged Doublepost
garry is offline  
Old 2008-02-15, 19:44   #162 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 444
Thanks: 7
Thanked 24 Times in 14 Posts

My System

Default TV Crash With 17392 timeshifting

Hi
TSwriter.log
after.....

15-02-2008 15:39:47.312 DiskRecorder[TIMESHIFT] Jump forward in PCR detected
15-02-2008 15:39:47.312 DiskRecorder[TIMESHIFT] PCR: 0 days 00:02:50 617 new: 0 days 00:09:23 405 prev: 0 days 00:09:00 958 start: 0 days 00:06:10 360 diff: 0 days 00:00:22 446 hole: 0 days 00:00:22 426 holeB: 0 days 00:00:00 0 - pid:5dd

I got a Tv crash..
Faulting application tvservice.exe, version 1.0.0.0, stamp 47b376fb, faulting module kernel32.dll, version 5.1.2600.3119, stamp 46239bd5, debug? 0, fault address 0x00012a5b.


Logs Included
Thanks
Attached Files
File Type: zip Build17392Crash.zip (118.6 KB, 0 views)

Last edited by iosub; 2008-02-15 at 19:51.
iosub is offline  
Old 2008-02-17, 20:37   #163 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 575
Thanks: 34
Thanked 51 Times in 21 Posts

Country:

My System

Default

Hi gemx.

I have a new one

This time it is a bit weird.

When the TvService is restarted. And I try to tune RTL2 or VOX (via DVB-S), timeshift is running but I only get a black screen without sound. No matter if I use TV On/Off... both Channels are not tune able.
But as soon as I tune a different (working) channel (like ZDF)... and then to one of the both channels above all is working perfectly... as long as the TvService is restarted.

Please find the attached log.
It was done by
  • Starting the TvService
  • Tune to RTL2
  • Tune to a working channel
  • Tune to RTL2 again



Lars
Attached Files
File Type: zip BlackScreen_Log.zip (13.2 KB, 0 views)
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline  
Old 2008-02-17, 22:15   #164 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,483
Thanks: 82
Thanked 83 Times in 63 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Today I have updated my installation to 17398 and scan doesn't find any channel. I reverted to TsWriter.ax from 17383 and everything is back again.

BTW, on HotBird 13°E first two transponder have a freq = 0.

Simone

EDIT: forgot to add log
Attached Files
File Type: zip log17383_working.zip (59.3 KB, 2 views)
File Type: zip log17398_no_signal.zip (7.0 KB, 0 views)
__________________
If you do what you've always done, you'll get what you've always gotten

Last edited by chemelli; 2008-02-17 at 22:17.
chemelli is offline  
Old 2008-02-17, 22:19   #165 (permalink)
Portal Member
 
Join Date: Aug 2007
Location: Bath
Age: 49
Posts: 60
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default UK ITV & channel 4

Hi Gemx
Following all difficulties last week, I went back to SVN 17352 and did a channel scan, both dvb-S & T.
Yesterday (Saturday) ITV and channel 4 dvb-T was still very poor, today (Sun) reception has returned to normal, without a scan.
Have updated to SVN 17378 & play back is still fine, looks to me as though problem was with output, as you said.
Nigel_K is offline  
Old 2008-02-17, 22:52   #166 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,483
Thanks: 82
Thanked 83 Times in 63 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Update:

I tested with TsWriter from 17384 and I have "No Signal"/"Nothing found" on 1st tp and then it loop forever in the scan on the 2tp. So it seems that the unnecessary CallBack is needed at least here in Italy.

Simone

BTW, at least for 13°E Hotbird the ini files need to be updated because of the 0 freq error previously reported and some freq changes. I fixed it using the update satellite button in TV3 scan window.
__________________
If you do what you've always done, you'll get what you've always gotten
chemelli is offline  
Old 2008-02-19, 06:58   #167 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 575
Thanks: 34
Thanked 51 Times in 21 Posts

Country:

My System

Default

Hi gemx.

As promised yesterday on irc I've repeated my test with the 17405.
The "vox at first tune"-problem I have mentioned here: Help us testing the new TsWriter
is gone now. Good work.

What is still there is effect that the card order of my tv cards make a big difference.
I would like to use my TechnoTrend Card as secondary, because the Hauppauge is much more reliable... but If I do so, the TT generates only 0kb recordings if the primary card (the Hauppauge) is also busy (i.e. timeshifting).
When I configure the TT to be the primary card then everything works...

I can generate logs if you are interested, but I guess they will contain the information as the ones I have posted here: TVEngine3 Snapshot: 02-08-2008 14-17h Revision 17345



CU
Lars
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline  
Old 2008-02-19, 07:49   #168 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,483
Thanks: 82
Thanked 83 Times in 63 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

gemx,

with 17406 everything is working fine here. Only small issue I found is that using the DVBViewer for FloppyDTV-S2 I can scan 2006 total channels on Hotbird 13°E, using TV3 1839 ( tv:1390, radio:449).

It seems that some of them are missing or maybe merged together. Is there a quick way to extract channels from DVBViewer so I can compare the two lists and report back what is missing ?

Simone
__________________
If you do what you've always done, you'll get what you've always gotten

Last edited by chemelli; 2008-02-19 at 07:51. Reason: wrong SVN number
chemelli is offline  
Old 2008-02-19, 08:34   #169 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 136
Thanks: 1
Thanked 2 Times in 2 Posts


Default

@ikuech: Maybe your TV card order issue is connected with this:

I've updated to version 17397 at the weekend and I'm using a Hauppauge PVR-500 (double tuner analogue) and a FireDTV S2. The FireDTV is the third card shown in TV-Server after the two analogue tuners.
Before updating to version 17397, the rtsp stream of the FireDTV on the TV-Server could always be found at ".../Stream3.0" (I guess because it's the (1-1). Stream on the third card.

Now the stream is at ".../Stream1.0" although the card order didn't change. I can't try locally because I'm not at home atm. I'm using the server over a VPN, which is why I modified gemx' MPTvClient a little bit to transcode the stream on the server side with vlc server to a lower bandwidth. When I use MPTv-Client without my transcoding, streaming would work, if my internet connection wasn't too slow, because MPTvClient gets the stream-name from the server. I noticed the change, because my transcoding didn't work anymore. In this case I don't get the stream-name from the server, as it is stored in the vlm.txt file on the server's hd.

Maybe the stream-name of your card is also Stream 1.0 although it should be 2.0 as second card?!? Should be in your streaming-server.log.

cheers,
Michael
MJGraf is offline  
Old 2008-02-19, 12:26   #170 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 575
Thanks: 34
Thanked 51 Times in 21 Posts

Country:

My System

Default

@MJGraf: Thanks for your explanation. The problem I have does create 0kb recordings on the Technotrend card. So the streaming part of the server should normally not be involved.
But I'll check the Stream numbers just to get sure.

CU
Lars
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline  
Closed Thread

Bookmarks

Tags
testing, tswriter

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
Debug Build of TsWriter dalmer Development 0 2008-02-11 01:30
TsWriter lar282 Get Support 4 2007-11-06 08:15


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


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