5sec to open a .ts file with TsReader (another reason for Vista, NO Respondig Window) (1 Viewer)

iosub

Portal Pro
April 26, 2006
572
30
San Sebastian
Hi

This is a continuation of the https://forum.team-mediaportal.com/general-support-51/8-sec-delay-directsound-39502/#post264802

Also another delay... 5sec on
TsReaderPlayer.cs on line 410
hr = interfaceFile.Load(filename, null);
If the file is rtsp:\\ it takes only less 1sec but if the file is R:\MediaShift\live4-0.ts.tsbuffer it takes 5SEC!!...

Check TsReader.log
16-05-2008 00:39:05.539 [ef8]-------------- v1.0.3 ----------------
16-05-2008 00:39:05.541 [ef8]CTsReaderFilter::ctor
16-05-2008 00:39:05.543 [ef8]CRTSPClient::Initialize()
16-05-2008 00:39:05.544 [ef8]CRTSPClient::createClient()
16-05-2008 00:39:05.546 [ef8]CALLBACK SET
16-05-2008 00:39:05.547 [ef8]SetRequestAudioChangeCallback SET
16-05-2008 00:39:05.555 [ef8]CTsReaderFilter::Load()
16-05-2008 00:39:07.966 [ef8]FileReader::CloseFile() no open file
16-05-2008 00:39:09.090 [ef8]OnNewChannel pat version:-1->1
16-05-2008 00:39:09.092 [ef8]demux:flushing


I think that if we speed up these issues... "we will fix the No responding...."


Anything else I can do...??

Iosu
 

Marcusb

Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,994
    29
    Melbourne
    io, with all the work you do looking into these things, are you actually a programmer or just a kind of fiddler?
    I've seen a lot of these type of messages from you and you seem to really be good at getting to the small details of a problem.

    Please take no offense with the "fiddler" question. That's kind of what I am to a small extent :)

    Anyway, just wanted to say thanks for your efforts and I hope a dev can look into this and run with it.

    Marcus.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    RTPS handling the TsReader is just slow (not sure if it can be speed up in any easy way). Like I said in the different post related to the "program not responding" issue, MP design is causing the issue. There are probably hundreds of places in the code that can trigger it. Of course every small delay that we get of the MP code base is improving the user experience, but someone should fix the actual issue :)

    EDIT: that might have sounded a little bit harsh, that wasnt my intention. Even getting one small delay might improve the user experience a lot, but the real problem still stays there, no matter how well we try to hide it :)
     

    iosub

    Portal Pro
    April 26, 2006
    572
    30
    San Sebastian
    RTPS handling the TsReader is just slow (not sure if it can be speed up in any easy way). Like I said in the different post related to the "program not responding" issue, MP design is causing the issue. There are probably hundreds of places in the code that can trigger it. Of course every small delay that we get of the MP code base is improving the user experience, but someone should fix the actual issue :)

    EDIT: that might have sounded a little bit harsh, that wasnt my intention. Even getting one small delay might improve the user experience a lot, but the real problem still stays there, no matter how well we try to hide it :)

    RTPS is going fast less that 1 sec, when Opening a file "r:\...." is going slow..

    Iosu

    io, with all the work you do looking into these things, are you actually a programmer or just a kind of fiddler?
    I've seen a lot of these type of messages from you and you seem to really be good at getting to the small details of a problem.

    Please take no offense with the "fiddler" question. That's kind of what I am to a small extent :)

    Anyway, just wanted to say thanks for your efforts and I hope a dev can look into this and run with it.

    Marcus.

    jajaj, yes I'm a programer, 25 year on bussines... (actualy now I run the bussines so I'm just playing now with MP)
    I have my own company of 20 programers here is spain.. Also I was a Ms employee (but please don't say that to others ) :)

    Iosu
     

    iosub

    Portal Pro
    April 26, 2006
    572
    30
    San Sebastian
    Tourettes: Any change to speed up TSreader when opening a files like when Opening a file "r:\...." , maybe if you open the file as readonly???

    Thanks
     

    iosub

    Portal Pro
    April 26, 2006
    572
    30
    San Sebastian
    Yes, I try that allready... No luck :-(

    There is something there that I have to find... Or yoy, good finder!! :)

    You find I fix :)

    Thanks Iosu
     

    Swede

    Portal Pro
    September 6, 2006
    493
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    It's not a sleeping drive or DMA? Sometimes it's the simplest things... For me it seems to start/stop a little bit to slow with the movies that are on the same drive as MP, so I get a short "No responding" there.
     

    iosub

    Portal Pro
    April 26, 2006
    572
    30
    San Sebastian
    Yes, but the log you posted was using and .avi file, so no Tsreader involved.. My problem is with .ts files

    What codec are you using for .avi files?

    Iosu
     

    Swede

    Portal Pro
    September 6, 2006
    493
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Latest ffdshow tryouts. Not the problem, since films on other drives are fast. For .ts files I use microsofts own in Vista

    What I meant could slow it down was that MP is working with the HD (database actions, log writing and things) at the same time as the .avi or .ts file is loading, and when all is on the same HD, it takes twize the time.

    But you allready know that

    Btw, your patch is still working perfectly :)
     

    Users who are viewing this thread

    Top Bottom