What exactly is TSreader ? (1 Viewer)

level20peon

MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    43
    Aachen
    Home Country
    Germany Germany
    Hey guys,

    I searched the forum and the wiki but there was no general description of what TSreader is and what it does. A search in google came up with some information, but it didn't describe the advantages for use in a HTPC.

    So why should one use TSreader at all and what are the advantages instead using a "standard" (non TSreader) setup ?


    -level20peon
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    TsReader.ax and TsReader are completely different things. I agree that the names are a little bit confusing :)

    TsReader - external application http://www.coolstf.com/tsreader/
    TsReader.ax - a directhow filter developed by MP devs for playing back .ts files

    what TsReader.ax does:

    1) It reads a .ts file (recorded or timeshifted by TVE3) from local or netword hard drive or from a network stream created by TVE3

    2) Works as a demuxer and demuxes audio, video & subtitle streams from the actual .ts file. Those streams are then send to the video, audio and subtitle filter for decoding / processing.


    Here's a picture of directshow graph that's using the TsReader (on left)

    TsReader_graph.png
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    43
    Aachen
    Home Country
    Germany Germany
    Thanks for your reply,

    1) It reads a .ts file (recorded or timeshifted by TVE3) from local or netword hard drive or from a network stream created by TVE3

    2) Works as a demuxer and demuxes audio, video & subtitle streams from the actual .ts file. Those streams are then send to the video, audio and subtitle filter for decoding / processing.


    So why should one do this instead of just decoding the ts file with for example FFDshow ?


    -level20peon
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Thanks for your reply,

    1) It reads a .ts file (recorded or timeshifted by TVE3) from local or netword hard drive or from a network stream created by TVE3

    2) Works as a demuxer and demuxes audio, video & subtitle streams from the actual .ts file. Those streams are then send to the video, audio and subtitle filter for decoding / processing.


    So why should one do this instead of just decoding the ts file with for example FFDshow ?

    FFDShow can only decode the video & audio, it's not reading the actual data from the HD / network. Updated the first post those show the graph. Nvidia audio & video decoders could be also FFDShow audio & video decoders.
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    43
    Aachen
    Home Country
    Germany Germany
    So if I "just" want to decode audio & video there is no need for TSreader.ax or is it better to use the TSreader.ax though ?

    What data is the "actual data from HD / network" ? I guess subtitles are contained in this stream. Anything else ?


    -level20peon
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    So if I "just" want to decode audio & video there is no need for TSreader.ax or is it better to use the TSreader.ax though ?

    What data is the "actual data from HD / network" ? I guess subtitles are contained in this stream. Anything else ?
    you need something to "read" the broadcasted data-stream (TransPortStream).

    you can also call it a splitter, because it splits the broadcasted data into Video-Streams, audio-streams, subtitlestreams ect. (it also does some other things, but thats not so important for the basic understanding)

    these streams are then processed by the filters like MPV/MPA/nvidia purevideo ect. and passed to the renderers (audio/video) so you actualy see / hear the received data.

    you can also use other "splitters/demuxers" then tsreader.ax like tsfilesource or the M$ one.
    but since we had issues withthese 2 filters, we started to develop our own one -> tsreader.ax :)
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    43
    Aachen
    Home Country
    Germany Germany
    these streams are then processed by the filters like MPV/MPA/nvidia purevideo ect. and passed to the renderers (audio/video) so you actualy see / hear the received data.

    you can also use other "splitters/demuxers" then tsreader.ax like tsfilesource or the M$ one.
    but since we had issues withthese 2 filters, we started to develop our own one -> tsreader.ax :)

    So what am I using when I didn't explicitly configure this ? The MS one ? If so again the question: What makes "your" tsreader.ax superior to the other one(s) ? What "issues" did you have with the other filters ?


    -level20peon
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    these streams are then processed by the filters like MPV/MPA/nvidia purevideo ect. and passed to the renderers (audio/video) so you actualy see / hear the received data.

    you can also use other "splitters/demuxers" then tsreader.ax like tsfilesource or the M$ one.
    but since we had issues withthese 2 filters, we started to develop our own one -> tsreader.ax :)

    So what am I using when I didn't explicitly configure this ?
    for tsfiles and mpg2 files tsfilesource gets used then.
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    43
    Aachen
    Home Country
    Germany Germany
    OK I understand, thanks for the information. Maybe Frodo should have provided more information in his thread :D. Well I just tested your TsReader.ax and am impressed. This bug of mine seems not to occur when I use it (used it for about 5 minutes so there is no certainty, yet).

    Thank you all for helping me :D


    -level20peon
     

    Dado

    Portal Pro
    April 10, 2006
    105
    0
    Italy
    Hi Tourettes,
    there is a way to edit .ts files in a c# (perhaps with directshowlib)? I want to develop a ts editor with c#, similar to video editor (setting markers and join segments into a new file..).

    I have develop a little project that reads ts file and rewrite it on a new file with directshowlib, but I don't know how to tell to IGraphBuilder to take only one or two segments...

    Can you (or someone ts/directshowlib expert) help me, please??

    Thanks in advance,
    Dado
     

    Users who are viewing this thread

    Top Bottom