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-01-07, 14:21   #21 (permalink)
Portal Developer
 
Join Date: Apr 2006
Location: Chicago
Posts: 515
Thanks: 2
Thanked 13 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by misterd View Post
I'm also wondering why the TvServer tries to get a video and audio multiplexed stream and than demultiplexes it, before it get multiplexed again and connects to MPFileWriter. I'm just asking myself, for which reason this demultiplexing step is needed. I see in the code that in some cases it is useful for differing between tv and radio, but in many cases this goal could be achieved in a better way.
Any help is very welcome, especially testers are needed, when I have finished the new version But I would like to see this patch included in SVN before the new version is ready, because my work will be based on it.

MisterD
The demultiplexing is done because all of the hardware encoding cards output some form of program stream. The TV Server uses a transport stream. So, the server demultiplexes the (maybe compliant, maybe not) program stream into the elementary streams and the Live555 library classes multiplex those into the transport stream which is a more fault tolerant way of streaming mpeg2.
diehard2 is offline   Reply With Quote
This User Say Thank You:
Old 2008-01-07, 23:29   #22 (permalink)
Portal Developer
 
misterd's Avatar
 
Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts

Country:


Default

Quote:
Originally Posted by diehard2 View Post
The demultiplexing is done because all of the hardware encoding cards output some form of program stream. The TV Server uses a transport stream. So, the server demultiplexes the (maybe compliant, maybe not) program stream into the elementary streams and the Live555 library classes multiplex those into the transport stream which is a more fault tolerant way of streaming mpeg2.
Thanks for this explanation. I think that for some card types the graph than can be optimized.

@all:
I have started a new thread for all this planning and additional changes to keep this thread clean and only for the current patch. Take a look here: http://forum.team-mediaportal.com/pl...ds-t33630.html

MisterD
misterd is offline   Reply With Quote
Old 2008-01-08, 09:03   #23 (permalink)
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 29
Posts: 6,408
Thanks: 183
Thanked 146 Times in 101 Posts

Country:

My System

Default

this sounds very good misterd.
watch your pm-box
__________________
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 2008-01-08, 14:01   #24 (permalink)
Portal Developer
 
Join Date: Apr 2006
Location: Chicago
Posts: 515
Thanks: 2
Thanked 13 Times in 9 Posts

Country:


Default

sounds like somebody is getting commit access
diehard2 is offline   Reply With Quote
Old 2008-01-08, 15:20   #25 (permalink)
Portal Member
 
Join Date: Nov 2006
Location: Uppsala
Age: 42
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post

Country:

My System

Default

"- Moved teletext handling to MPFileWriter
A result of this change is that DVB and analog cards are now using the same decoding routines. One of the next steps will be to store the teletext data in .ts files."

Am i dreaming? Will it be possible to turn on/off teletext subtitles for analogue HW tuners if I have selected to record with teletext subtitles?
hassegubben is offline   Reply With Quote
Old 2008-01-08, 18:23   #26 (permalink)
Portal Developer
 
misterd's Avatar
 
Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts

Country:


Default

Quote:
Originally Posted by hassegubben View Post
Am i dreaming? Will it be possible to turn on/off teletext subtitles for analogue HW tuners if I have selected to record with teletext subtitles?
Currently it isn't possible, but this patch includes the first steps towards this. Unfortunately one last step has to be done, which is the most complicated and critical step. The data has to be stored in the .ts files.
When this step has been completed, you can watch teletext like with DVB cards. Perhaps there are some changes needed in the teletext subtitle handling, but this is an other topic.
But I can't say when this step will be completed, since there are further investigations needed.

MisterD
misterd is offline   Reply With Quote
Old 2008-01-09, 08:52   #27 (permalink)
Portal Member
 
Join Date: Nov 2006
Location: Uppsala
Age: 42
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post

Country:

My System

Default

This is great news!!I can't wait for the final implementation!I hope to be of some help with testing later on this spring when my new rig is finished.
hassegubben is offline   Reply With Quote
Old 2008-01-09, 19:25   #28 (permalink)
Portal Member
 
vertiger's Avatar
 
Join Date: Jul 2007
Posts: 142
Thanks: 2
Thanked 23 Times in 11 Posts

Country:

My System

Default

here are the log files from a test with a HVR 4000 and Cinergy Hybird XS

tested encoders: Mainconcept (Hauppauge) encoder
Intervideo encoder (from WinDVR3)

they are not working at all. hope this helps

EDIT: i forgot - i use SVN 16907
Attached Files
File Type: rar log-cinergy-intervideo.rar (2.3 KB, 2 views)
File Type: rar log-cinergy-mainconcept.rar (2.2 KB, 1 views)
File Type: rar log-hvr-intervideo-2.rar (5.5 KB, 1 views)
File Type: rar log-hvr-intervideo.rar (5.1 KB, 1 views)
File Type: rar log-hvr-mainconcept.rar (3.2 KB, 3 views)
vertiger is offline   Reply With Quote
Old 2008-01-09, 19:55   #29 (permalink)
Portal Developer
 
misterd's Avatar
 
Join Date: Apr 2006
Posts: 1,137
Thanks: 27
Thanked 38 Times in 26 Posts

Country:


Default

After reviewing the logs, I don't see any problems for the HVR-4000 except that you get the famous "No Audio/Video error". But there are no reason why you have this problem.
Chemelli has tested my patch successfully with a HVR-4000, mainconcept (Hauppauge) encoder and Vista. But if I remember correctly chemelli had the problem too when we tested the patch for the first time. I can't remember the solution for this problem.

The Cinergy Hybrid XS shouldn't work at all with TvServer from what I can see in the log. There is an error in your log that is happening before my modifications in the graph building process. The server tries to find the audio and video output pins on the capture filter and can't find them there.

Is the card working in TVE2? Or can you give me a screenshot of a working graph?
Then perhaps I might be able to modify the code, so the server can detect the card too.

MisterD
misterd is offline   Reply With Quote
Old 2008-01-09, 19:58   #30 (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

Quote:
Originally Posted by misterd View Post
Chemelli has tested my patch successfully with a HVR-4000, mainconcept (Hauppauge) encoder and Vista. But if I remember correctly chemelli had the problem too when we tested the patch for the first time. I can't remember the solution for this problem.
The issue was database related: your table was not created correctly in the way I was running your sql script.

Simone
chemelli is offline   Reply With Quote
Reply

Bookmarks

Tags
analog, cards, improvements, patch

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
Problems with several HW-encoding analog tuner cards pbb Development 3 2007-11-07 14:07
Are hardware-encoding analog cards supported? pbb Get Support 18 2007-07-01 22:16
Analog Channels Patch Italy!!! fenomeno83 General Support 0 2006-10-17 02:17
Which analog capture cards does the mediaportal team use? Richthofen Hardware Selection Help 5 2006-09-08 22:41
[Patch] MultiTuner Bug with different PVR cards FlipGer General Development (no feature request here!) 12 2006-01-06 08:21


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


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