SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #201  
Old 06-16-2008, 03:09 PM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by StephaneM View Post
Try to pause the show for a minute or so when it starts stuttering, are you able to recover normal playback after a pause?

If this is the case, then you might want to play with these properties in the sage.properties (or the client one) file :

* videoframe/network_encoding_to_playback_delay (default is 1500)
* videoframe/time_behind_live_to_disable_skip_forward ( default is 4000)

I know for a fact that for me to have reliable subtitles extraction from the live recording (so inside the DVBViewer Recorder process) I must always stop the parsing of the recorded file when there are less than 2 MB of bytes left for me to read. Basically this means that (in my tests for MPEG2 SD) the last two MB of the file do not always contains valid video / audio content (when I was not doing this, I was having error in the TS or subtitles extraction was stopping early).

The same thing may happens when viewing the live stream => the decoder attempt to decode information that it shouldn't yet (because DVBViewer has only written dumb bytes into the file to reduce fragmentation on the HDD)

Regards,
Stéphane.
Pausing does bring it back for while but not long. I've tried altering those settings and it doesn't seem to change anything. What is starnge is that I received my HD-100 today and HD channels are perfect! On the server the cpu hardly registers any useage on the recoding service.

Whitey
Reply With Quote
  #202  
Old 06-16-2008, 05:18 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
Pausing does bring it back for while but not long.
How long have you paused?
Quote:
I've tried altering those settings and it doesn't seem to change anything. What is starnge is that I received my HD-100 today and HD channels are perfect! On the server the cpu hardly registers any useage on the recoding service.
Then I don't know, the only facts we can get out of this is:

* The recording in progress is good enough to be played back "live" by the extender

* live playback on the client is stuttering

* so it's either server->client or the client that is having a problem

So I would supect :

* Implicit buffering with the extender : this may avoid touching the end of file (if this is really a problem) or may limit some read/write bottelneck

* The extender is being better for HD playback than your client PC or SageTV itself. As you are using Hardware Accel, CPU is not the issue, so it must be a disk access / network / memory, specifically a software issue (even Windows).

Your client PC is XP / Vista? If you try to view live TV on the server, does the same thing happens?
Reply With Quote
  #203  
Old 06-17-2008, 03:04 PM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by StephaneM View Post
How long have you paused??
If I pause for a few seconds playback is ok again for about 30 seconds until it starts stuttering again

Quote:
Originally Posted by StephaneM View Post
* Implicit buffering with the extender : this may avoid touching the end of file (if this is really a problem) or may limit some read/write bottelneck?
What does this mean?

Quote:
Originally Posted by StephaneM View Post
* The extender is being better for HD playback than your client PC or SageTV itself. As you are using Hardware Accel, CPU is not the issue, so it must be a disk access / network / memory, specifically a software issue (even Windows).?
But recordings are fine so I don't suspect this to be the problem

Quote:
Originally Posted by StephaneM View Post
Your client PC is XP / Vista? If you try to view live TV on the server, does the same thing happens?
I cannot view on my server since I'm using the WHS version but my recording directory is NOT in the drive pool. My clients are XP

Whitey
Reply With Quote
  #204  
Old 06-17-2008, 03:24 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
If I pause for a few seconds playback is ok again for about 30 seconds until it starts stuttering again
Try to pause for at least 5 minutes.

Quote:
What does this mean?
It means that the extender as a client does something differently than the windows client. I was thinking that maybe the extender was accessing the recording using a network buffer of some sort but I can't really know.

Quote:
But recordings are fine so I don't suspect this to be the problem
Indeed the recordings are fine even when played back in real time by the extender, so my point is: I don't see how DVBViewer could be responsible for stuttering on the client (the only thing you can try in DVBViewer is to remove completely the smart buffer feature).

So the issue has to be dependent on how the client is "loading" the live recording. What's the difference between the recording being live or being already recorded: disk access (through the network)... What's the difference between live playback on the client and the extender: network access / hardware / playback software....
Reply With Quote
  #205  
Old 06-18-2008, 08:47 AM
gianpieroizzo gianpieroizzo is offline
Sage User
 
Join Date: Apr 2007
Posts: 61
Hi Stephané,

thanks for the fix on the recording directory, now it works fine :-)
Obviosuly I'm now ready for the new problem... I don't see the languge selection in Sage (6.4.3), even if I set in DVBViewer (3.9.4) the flag to put all audio languages in the ts stream. I remember that it was working before (maybe with 3.9.2)
Any idea ?

thanks in advance
Gian Piero
Reply With Quote
  #206  
Old 06-18-2008, 06:37 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by gianpieroizzo View Post
I don't see the languge selection in Sage (6.4.3), even if I set in DVBViewer (3.9.4) the flag to put all audio languages in the ts stream. I remember that it was working before (maybe with 3.9.2)
Any idea ?
Not really, I just tested one of my recordings (made by DVBViewer 3.9.4) on SageTV 6.4.3 and 6.4.4, and I can select the audio language (with the default STV anyway).

You should verify that your recordings does really have multiple audio streams (use VLC, DVBViewer or install Haali Media Splitter and use Windows Media Player). If the recordings does have multiple audio streams but SageTV doesn't show the "Audio Language" button you should submit a bug report.

Regards,
Stéphane.
Reply With Quote
  #207  
Old 06-23-2008, 03:23 PM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
I've just noticed another issue that I'm sure is simple to solve. I have two DVB-S tuners, one with a CAM and one without. I have sent up DVBViewer so the FTA channels are group A and the encrypted channels are group B.
So Card 1 can tune group A & B and Card 2 can tune group A only. I have set card 2 as "prefered" in DVBViewer and card 1 as "normal" but I have tried having both cards set as "normal" too.

At the moment, when a recording starts on a FTA channel (group A) sage uses card 1 so I cannot watch any channels in group B (encrypted) Why is this? I have missed recordings too when one reocrding has started before another one.

Do I have something set-up wrong? I hope you followed the explaination!

Whitey
Reply With Quote
  #208  
Old 06-23-2008, 03:38 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
I have two DVB-S tuners.../...Card 1 can tune group A & B and Card 2 can tune group A only..../...when a recording starts on a FTA channel (group A) sage uses card 1 so I cannot watch any channels in group B (encrypted) Why is this?
Have you created multiple lineups in DVBViewer Recorder?

You have to create one lineup with group A and B channels, and one lineup with group A only. This way you can add two recorders in SageTV so as it can choose the best tuner to use (basically if you have more than one card in DVBViewer, SageTV has to have the same numbers of recorders).

Regards,
Stéphane.
Reply With Quote
  #209  
Old 06-23-2008, 03:45 PM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by StephaneM View Post
Have you created multiple lineups in DVBViewer Recorder?

You have to create one lineup with group A and B channels, and one lineup with group A only. This way you can add two recorders in SageTV so as it can choose the best tuner to use (basically if you have more than one card in DVBViewer, SageTV has to have the same numbers of recorders).

Regards,
Stéphane.
Yes sorry, I have two encoders set-up in sage but it always uses the card with groups A & B first even if the channel is FTA (group A) I can always record a FTA channel and then watch another FTA channel.

Whitey
Reply With Quote
  #210  
Old 06-23-2008, 03:59 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
Yes sorry, I have two encoders set-up in sage but it always uses the card with groups A & B first even if the channel is FTA (group A) I can always record a FTA channel and then watch another FTA channel.
To be really sure, does SageTV always use the encoder with the lineup having group A&B channels?

I currently have a three tuners set up and SageTV always picked up the right encoder for scheduled recordings (however for LiveTV it may use the encoder with the most channel on it) and then DVBViewer pick up the right tuner.

Set up two recordings one on a group B channel and one on a group A channel (that start 5 min later if possible). With the help of the SageTV Web Server plugin you'll be able to see what encoder SageTV will use to record the show. For the first recording it should use the encoders attached to lineup with A&B, for the second to the lineup with A.

Repeat the same with a recording for channel on group A, and a recording for channel on group B starting 5 min later. SageTV should use the encoder with A only for the first recording and the encoder with A&B for the second recording.

If SageTV is always selecting the right encoder, then we can take a look at what happens with DVBViewer (Though "Card 2" being the preferred is what you have to do, so as when a recording on group A starts, it should use this card).
Reply With Quote
  #211  
Old 06-24-2008, 05:09 PM
swift_gti swift_gti is offline
Sage User
 
Join Date: Feb 2008
Posts: 28
Stephan,

You have created a nice plugin here but I am having some problems gettings everything to work with my DVB-T card..

I have installed your program and;
  • Added a network encoder in configuration mode
  • Entered a couple of channel numbers into the Sage TV Channel column
  • Added the encoder to Sage
  • Selected the new source in Sage
  • Selected 'Do not use a channel lineup' (This is my only source)
  • Manually entered a few channel numbers matching the name and channel number to the ones in DVBViewer Recorder Config

Now if I go to my Program Guide and select one of the channels Sage just sits there with a spinning circle
My tuner makes no attempt to do anything, the DVBViewer Recorder Monitor shows 'START - Digital Tuner|101|.. etc' and thats all, it just sits there.
I have DVBViewer set to debug mode and looking at the logs it doesn't appear to even be attempting to do anything.

Any ideas on what I may have done wrong ?

Thanks!
Reply With Quote
  #212  
Old 06-24-2008, 05:19 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Hi,
Quote:
Originally Posted by swift_gti View Post
Now if I go to my Program Guide and select one of the channels Sage just sits there with a spinning circle
My tuner makes no attempt to do anything, the DVBViewer Recorder Monitor shows 'START - Digital Tuner|101|.. etc' and thats all, it just sits there.
There is a nasty bug in DVBViewer 3.9.4: it doesn't add the recording folders my plugin request. So when the recording starts: I check if the folder is in DVBViewer, it is not, I request the addition, addition is acknowledged (but not done) and I request that this folder be used for recording (but obviously it can't be).

So: shut down DVBViewer Recorder, launch DVBViewer, add the folder(s) used in SageTV to record TV, exit DVBViewer. Edit the setup.xml file in the C:\ProgramData\CMUV\DVBViewer folder (Vista) or C:\Documents And Settings\All Users\Application Data\CMUV\DVBViewer folder (XP) and add a "\" at the end of the folders you just added (in the DVBViewer UI you cannot add this last "\" and I'm expecting it).

This bug should be fixed (DVBViewer team is aware of it).

Regards,
Stéphane.
Reply With Quote
  #213  
Old 06-25-2008, 02:09 AM
swift_gti swift_gti is offline
Sage User
 
Join Date: Feb 2008
Posts: 28
Hi Stephane,

I tried your suggestion but the live TV still doesn't start.
For one channel I see the 'Start' event in the DVBRecorder Viewer Monitor but for another channel I don't even see that, nothing at all happens!

At no point has the little icon in the task tray changed colour, as I imagine the green dot goes red when recording ?

Any more ideas ?

Thanks!
Reply With Quote
  #214  
Old 06-25-2008, 02:15 AM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by swift_gti View Post
Hi Stephane,

I tried your suggestion but the live TV still doesn't start.
For one channel I see the 'Start' event in the DVBRecorder Viewer Monitor but for another channel I don't even see that, nothing at all happens!

At no point has the little icon in the task tray changed colour, as I imagine the green dot goes red when recording ?

Any more ideas ?

Thanks!
Is a recording file created in your recordings folder? If so does is have a size that increases as the recording goes on? If you have, the recording service is working so it might be a sage problem

Whitey
Reply With Quote
  #215  
Old 06-25-2008, 07:54 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by swift_gti View Post
At no point has the little icon in the task tray changed colour, as I imagine the green dot goes red when recording ?Any more ideas ?
Yes the dot should turn red.

Can you send me in a zip file at lmgestion@hotmail.com :

* the C:\Program Files\SageTV\SageTV\sage.properties file
* the C:\Documents and Settings\All Users\Application Data\LM Gestion\DVBViewer Recorder\recorders.xml file
* the C:\Documents and Settings\All Users\Application Data\CMUV\DVBViewer\setup.xml file

Regards,
Stéphane.
Reply With Quote
  #216  
Old 06-25-2008, 08:05 AM
swift_gti swift_gti is offline
Sage User
 
Join Date: Feb 2008
Posts: 28
Thanks for the help guys.

I am away from home until tomorrow night so I will get the requested files sent over once I'm back.
Reply With Quote
  #217  
Old 06-25-2008, 08:20 AM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by StephaneM View Post
To be really sure, does SageTV always use the encoder with the lineup having group A&B channels?

I currently have a three tuners set up and SageTV always picked up the right encoder for scheduled recordings (however for LiveTV it may use the encoder with the most channel on it) and then DVBViewer pick up the right tuner.

Set up two recordings one on a group B channel and one on a group A channel (that start 5 min later if possible). With the help of the SageTV Web Server plugin you'll be able to see what encoder SageTV will use to record the show. For the first recording it should use the encoders attached to lineup with A&B, for the second to the lineup with A.

Repeat the same with a recording for channel on group A, and a recording for channel on group B starting 5 min later. SageTV should use the encoder with A only for the first recording and the encoder with A&B for the second recording.

If SageTV is always selecting the right encoder, then we can take a look at what happens with DVBViewer (Though "Card 2" being the preferred is what you have to do, so as when a recording on group A starts, it should use this card).
Done some testing and sage always uses card 1 (A&B) first. I don't use webserver so I don't know if it's sage requesting the wrong encoder or DVBViewer using the wrong card. I suspect it's DVBViewer because I don't get a warning message from sage saying that no tuners are available for the selected channel and it trys to tune the channel.

Whitey
Reply With Quote
  #218  
Old 06-25-2008, 02:52 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
Done some testing and sage always uses card 1 (A&B) first. I don't use webserver so I don't know if it's sage requesting the wrong encoder or DVBViewer using the wrong card. I suspect it's DVBViewer because I don't get a warning message from sage saying that no tuners are available for the selected channel and it trys to tune the channel.
Okay, then it's probably DVBViewer that is doing something "smart" as I found here : http://www.dvbviewer.info/forum/inde...7&hl=preferred

It seems that DVBViewer will try to minmize hardware usage, so if you are using card 1 for a recording and soon after a recording finish you record another show it will re-use card 1. This has to be confirmed though (Are you using the "fast back to back recording" and "enable audio / video" within DVBViewer Recorder? because when those two are selected it will force one tuner to be active for a long time and this may trigger the "smart" hardware use of DVBViewer, this is something that I can fix, meanwhile disable the "fast back to back recording" and let me know if it improve things)

Regards,
Stéphane.
Reply With Quote
  #219  
Old 06-25-2008, 03:32 PM
Whitey's Avatar
Whitey Whitey is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: Notts, England
Posts: 246
Quote:
Originally Posted by StephaneM View Post
Okay, then it's probably DVBViewer that is doing something "smart" as I found here : http://www.dvbviewer.info/forum/inde...7&hl=preferred

It seems that DVBViewer will try to minmize hardware usage, so if you are using card 1 for a recording and soon after a recording finish you record another show it will re-use card 1. This has to be confirmed though (Are you using the "fast back to back recording" and "enable audio / video" within DVBViewer Recorder? because when those two are selected it will force one tuner to be active for a long time and this may trigger the "smart" hardware use of DVBViewer, this is something that I can fix, meanwhile disable the "fast back to back recording" and let me know if it improve things)

Regards,
Stéphane.
I'm not using fast back to back recordings or have video/audio enabled. I hope you can find a fix!

Thanks again

Whitey
Reply With Quote
  #220  
Old 06-26-2008, 02:53 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by Whitey View Post
I'm not using fast back to back recordings or have video/audio enabled. I hope you can find a fix!
Well, if you don't use these options, I have nothing to fix! When audio/video is enabled and fast back to back recording are active in DVBViewer Recorder, then the tuners in DVBViewer are used for a long time, so it could make DVBViewer use the wrong tuner to minimize hardware switching.

However, if you don't have these options enabled: the hardware is initialized for each recording and deactivated immediately when the recording stops.

So you should check that when setting the "group A only" card as the preferred DVBViewer is really using this card for tuning A channels (use DVBViewer all alone to verify this, you should also verify that as soons as you tune a B channel, it will switch to the other card and stick to it if you go to a A channel after <= this is because DVBViewer doesn't deactivate hardware while you are using it , this is the same as "fast back to back recordings" with the Recorder plugin)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Avermedia m780 QAM from Network Encoder? heffe2001 Hardware Support 0 12-31-2007 07:49 PM
SageTV Recorder as a Network Encoder chewskydoo SageTV Recorder Software 4 12-26-2006 12:55 PM
Sage network Encoder and Sage failure? nyplayer SageTV Software 1 09-27-2006 06:47 AM
Network Encoder Questions jamjam SageTV Software 3 07-04-2006 08:17 AM
EXETunerPlugin, Sage 4 and network encoder vuego SageTV Software 0 12-11-2005 02:47 PM


All times are GMT -6. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.