MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » MediaPortal 1 Talk


MediaPortal 1 Talk General talk regarding our HTPC-software MediaPortal 1 takes place here.

Reply
 
Thread Tools Display Modes
Old 2007-10-28, 11:24   #1 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 1,011
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Question What exactly is TSreader ?

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
level20peon is offline   Reply With Quote
Old 2007-10-28, 11:47   #2 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts


Default

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)

__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"

Last edited by tourettes; 2007-10-28 at 11:52.
tourettes is offline   Reply With Quote
Old 2007-10-28, 11:50   #3 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 1,011
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

Thanks for your reply,

Quote:
Originally Posted by tourettes View Post
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
level20peon is offline   Reply With Quote
Old 2007-10-28, 11:54   #4 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts


Default

Quote:
Originally Posted by level20peon View Post
Thanks for your reply,

Quote:
Originally Posted by tourettes View Post
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.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
This User Say Thank You:
Old 2007-10-28, 15:36   #5 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 1,011
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

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
level20peon is offline   Reply With Quote
Old 2007-10-28, 16:03   #6 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 29
Posts: 6,226
Thanks: 175
Thanked 137 Times in 98 Posts

Country:

My System

Default

Quote:
Originally Posted by level20peon View Post
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
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2007-10-30, 16:58   #7 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 1,011
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

Quote:
Originally Posted by infinityloop View Post
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
level20peon is offline   Reply With Quote
Old 2007-10-30, 17:12   #8 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 29
Posts: 6,226
Thanks: 175
Thanked 137 Times in 98 Posts

Country:

My System

Default

Quote:
Originally Posted by level20peon View Post
Quote:
Originally Posted by infinityloop View Post
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.
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
This User Say Thank You:
Old 2007-10-30, 18:23   #9 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 1,011
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Smile

OK I understand, thanks for the information. Maybe Frodo should have provided more information in his thread . 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


-level20peon
level20peon is offline   Reply With Quote
Old 2007-11-04, 18:19   #10 (permalink)
Portal Member
 
Dado's Avatar
 
Join Date: Apr 2006
Location: Italy
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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
__________________
Life without MediaPortal is not life...
Dado is offline   Reply With Quote
Reply

Bookmarks

Tags
tsreader

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
No TV on Client using TsReader joystick Get Support 0 2007-10-26 09:59
ICallBack TSReader Flipit Improvement Suggestions 0 2006-10-18 21:41


All times are GMT +1. The time now is 13:29.


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