NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 24 25 26 27 28 … 93 Next »
Recording filesize

 
  • 0 Vote(s) - 0 Average
Recording filesize
Captain-DJ
Offline

Member

Posts: 69
Threads: 17
Joined: Jul 2006
#1
2009-05-21, 06:05 PM
Hello!

In the wishlist i posted a question about an tool that tells me the file size of an scheduled recording.

Now i made an small tool to calculate this.
It was written with "Profan" ( http://www.profan.de )
It is like BASIC.

How it work:
It must be called as an custom task.
Then it will be copy the gbpvr.db3 to an other folder and calls a batch file.
The batch file use sqlite3.exe to extract the schedule recording infos to an TXT file. If the TXT file was generated, my tool open this file and calculate the time for all scheduled recordings.
For this it use an number in a ini file (before make a small recording, and calculate the size for 1 minute and add this to the ini)

It dosn´t look to the options "medium" or "high" quality !

My tool show an popup (time is configurable) and close then.
You can use True-Type-Fonts and config the size in the ini.
Also the popup position and the size can set in the ini.

The ini file you can set:
GBPVR folder
(the tool have a non changeable folder at the moment)
Diskdrive to check
Filesize for 1 minute
popup delay
popupsize and position
popupcolor
Font (True Type)
FontSize
Fontcolor
warningcolor (for low diskspace)

At the moment the tool is in german only, but i can translate the text to english, if anyone want this tool.

Anyone interesting to test (and use) it ?
- Gericom HUMMER Laptop with Celeron 2,4 GHz 1GB RAM but only 30GB HDD :-(
- OPERA DVB-S USB Box and the Graph Recorder plugin to use the original software for this box (no BDA driver).
- To use the scheduled recording i made an conversion program that "look" into the database "GBPVR.db3".
- Girder with IR USB
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#2
2009-05-21, 07:34 PM
The biggest problem for me would be that the recording size is dependant on the broadcaster. OK, with something like an analogue PVR150 you can estimate the bytes/second or whatever - but with digital, gbpvr just dumps the data from the tuner to disk. This can vary enormously with digital - bit rates, image size, SD/HD. Even during a recording that datarate can change - during commercials etc.....

For me - 1 hour of pvr150 at medium quality is around 1.8GB
1 hour of lowish broadcast quality of digital 1.1gb
1 hour of moderate quality digital 1.6gb
1 hour of broadcast HD 10gb

a bit of a variation I'm afraid.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2009-05-22, 12:42 AM
typically broadcasters don't vary the rates of a series/show much within itself, so may want to estimate only if you have previous recordings of same show, as only then would you be somewhat accurate..[even then variations could be 10%+]
or if you could determine the framesize, 1080i/720p/480p/480i that would narrow it down alot...
it's more of an art than a science calculating the 'future' size of anything...Smile
only with similar sources [previous recordings] is a guess even close to accurate...


i'd much rather have a mode in video library to see what existing shows sizes are to determine the size myself, allowing for variations...
kinda like a 'details' mode in explorer...just filename and size as date is already in the filename...
plus it would make it nicer to go in and delete say, only large old shows when need some space...Smile [as you could then see size as you deleted]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Captain-DJ
Offline

Member

Posts: 69
Threads: 17
Joined: Jul 2006
#4
2009-05-22, 12:55 AM (This post was last modified: 2009-05-22, 01:00 AM by Captain-DJ.)
I made this tool for me because i have only an 30GB disk in my laptop.
I have an USB DVB-S Box and i must use the original software (see my signature)
So the quality level that are available in GBPVR are not used.

In the database gbpvr.db3 will be the quality level stored.
So there is a way to calculate with this levels, same as before, but with 3 (or more) values stored in the ini file.

My tool only "look" to the database, not to other parameters like the videosize.
- Gericom HUMMER Laptop with Celeron 2,4 GHz 1GB RAM but only 30GB HDD :-(
- OPERA DVB-S USB Box and the Graph Recorder plugin to use the original software for this box (no BDA driver).
- To use the scheduled recording i made an conversion program that "look" into the database "GBPVR.db3".
- Girder with IR USB
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 398 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 273 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 909 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,394 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,882 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,417 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,631 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,724 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,972 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 9,980 2014-12-19, 10:28 PM
Last Post: cbgifford

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode