|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Disk space bar accuracy with HDTV files?
Ok.. This was being discussed in the Hidded extras thread.. So I thought I'd move it here. I thought it might merit it's own thread....
This is all about the Disk space indicator not being accurate for HD files. I've updated the diskspace bar to check for default recording quality of an encoder and assigned a custom bit rate for it. It all seems to work fine. But there is a dilema... I believe in Sage the priority If airing has a quality assigned use it Else if the encoder has a quality assigned use that default encoder quality Else use the default recording quality. Now I implemented this in the diskspace bar. BUT..... Now if you have a favorite that has some set quality the disk space bar will use the airing quality number, not the encoder quality in it's calulation. but in real life it will still get recorded on the digital tuner and might be different. Now If I change the priority to: If the encoder has a quality assigned use that default encoder quality ElseIf airing has a quality assigned use it Else use the default recording quality. But then this would make the calculations inaccurate for other situations. Now I guess I could check to see if an encoder was a digital encoded and change the priority based on that, but that might get a little messy.. What do you guys think? I think we should keep sage's priority scheme and live with the inaccuracy that happens when a favorite with and assigned quality is recorded on a digital tuner.. Jim Last edited by jbuszkie; 03-30-2006 at 08:53 AM. |
#2
|
||||
|
||||
Quote:
Other considerations: Many recording qualities are variable bit rate, so they won't be entirely accurate. Then, there are the custom network encoders that are in use... I'm not sure how you would determine a size estimate for their recordings. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
||||
|
||||
Well the thought was to make it more accuate.. not perfect.
Maybe I'll see if I can do the Digital decoder detection.. I'm just worried that if I add too much code and loops it might make the refresh too slow?? It works fine for my test setup with only a couple fake shows to record, but if it has to calculate for 100 show??? |
#4
|
||||
|
||||
If you mostly record HD shows on your digital tuner than you could just use IsAiringHDTV to check for HD airings and base you space requirements off of that. An additional problem might be that I've noticed that shows vary is size from network to network for example my Fox shows are almost half the size of NBC shows.
|
#5
|
||||
|
||||
Quote:
After thinking more about this, I am thinking it might be best to leave well enough alone. The only way to get accurate numbers is going to be on a per channel/per provider basis. FOX-HD on Comcast might be lower bitrate than on Charter, but both are probably higher that whats on DirecTV or Dishnetwork. Then throw in the whole HD-lite mess that satellite providers are sending, the move to MPEG4, statistical multiplexing, cable rate-shaping that can vary from headend to headend..... What a mess! |
#6
|
||||
|
||||
If you can't detect which tuner it was recorded on can you detect what channel the program was recorded on? Our HD channels are distinct from the regular line up and I think are at a constant bit rate.
|
#7
|
||||
|
||||
Quote:
We could get the airing channel name and use that to determine the digital status... At least for me if anything ended with DT[0-9] in the channel name I could say that it was recorded digitally and used my 9GB/hr estimate. Then from there it could be enhanced to look up a value from some text file based on the channel name and the ISAiringHDTV and grab a bitrate value.. hmm.... |
#8
|
||||
|
||||
Quote:
If SA output a file that contained the overall length of a program, the overall file size, the bit rate, resolution, aspect ratio, etc. That info could be used in a variety of ways, combined with xml data from the web server about the favorite, the channel, the tuner, etc to create a matrix or database of information about a recording. Then when looking at upcoming recordings you could project what disk usage could be expected based on how the favorite/channel/encoder was recorded at in the past. Now that would be a nice mountain to build out of a mole hill. We often hear complaints about not being able to access the mysteries inside of the wiz.bin, maybe its time we start an open source database in parallel with wiz.bin so that we can use it for our own purposes. Last edited by Humanzee; 03-30-2006 at 11:40 AM. |
#9
|
||||
|
||||
Quote:
The ParallelSchedules menu shows how to grab the schedule by encoder device. You should be able to walk through the schedule that way too, checking device type/quality settings once per tuner. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#10
|
||||
|
||||
Wow! Now that would be complex! Having the program *learn* based on previous recodings to deterime future space requirements......
That's a little more accurate than I need. I'll be satisfied If the estimate is greater than needed. I just don't want to run out of space because the estimate was too low. I think what I'll do is 1. Release the modification as is... which basically will look for to see it the encoder has a default quality if there is no airing quality... 2. Then later...Enhance it to look for a digital tuner to override any Airing quality. 3. And much later...Then see about reading in a look up table that the user can set to base a bitrate based on channel name and HD status... Jim |
#11
|
||||
|
||||
Quote:
Quote:
for each encoder I look in it's schedule for the current airing to see if it's there then do the rest of the calc... The channel name thing would be a way to get rid of doing the encoder loop... Maybe the loops really won't be a big deal in terms of creating a delay... Last edited by jbuszkie; 03-30-2006 at 12:03 PM. |
#12
|
|||
|
|||
You also have to check to see if Sage is recording the transport stream or the program stream. This is an option that can be set either way.
Quote:
|
#13
|
||||
|
||||
I've never recorded a PS, how do they compare in size?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|