NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 31 32 33 34 35 … 93 Next »
Record to File Size "Segments"

 
  • 0 Vote(s) - 0 Average
Record to File Size "Segments"
h0st1le
Offline

Junior Member

Posts: 16
Threads: 5
Joined: May 2008
#1
2008-05-19, 09:37 PM
Hello

First off I'm still pretty new to GBPVR but I really like what I have seen thus far. I'm especially intrigued by the whole plug-ins idea. Anway, I have a question, I came from using FusionHDTV, in this app there is the ability to basically define a maximum file size for recordings, when that size is reached a new file is created and continues on with the recording. An xml index is used later if these need to be reconstructed. I could not find such an option in the regular install, and am not aware of a plug-in that also does this. I am willing to develop this myself but could I get some ideas on where/how I should get started. Im capable developer in c#, but have never done work with video. Any help tips, or pointers would be appreciated. thanks
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#2
2008-05-19, 09:44 PM
why do you need to do this ?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2008-05-19, 10:43 PM
stustunz Wrote:why do you need to do this ?

Guessing for a linux based nas or fat32 where they have a 2 gb file size limit....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#4
2008-05-19, 10:44 PM
Sorry but this sort of thing wouldnt be possible from a plugin. The process of recording and writing to files is managed by the core app, and doesnt support a feature like this.

Personally I also prefer recording one large file rather than having it segmented into multiple parts.
h0st1le
Offline

Junior Member

Posts: 16
Threads: 5
Joined: May 2008
#5
2008-05-20, 02:26 AM
so no one thinks this sort of thing is possible? I have seen commercial cutting plug-ins and a plugin that adds a few sec from encodes to start and end of ts files. What about soem sort of external program that sits in the dir where capture is at and monitors size. then at defined size cuts out a section and makes a copy of the file or something? Sorry if this is ridiculous but would really help if i could figure out a way of doing this.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#6
2008-05-20, 02:28 AM
You'd be able to split a file after it had finished recording, but you wouldnt be able to do this while recording. During the recording process, the file is locked by the recording process. You could copy data out of that file, but you'd still be creating that big file, so I'm not sure what you'd gain. (It would easy to copy data from a .ts file, but not straight forward dealing with .mpg or .dvr-ms files that most people record, since these have headers etc that would need to be created)
h0st1le
Offline

Junior Member

Posts: 16
Threads: 5
Joined: May 2008
#7
2008-05-20, 03:12 AM
Well how could I go about copying data out of the big file, into separate smaller files. Ie when the file size hits 500mb make a new file that holds that video, at 1000mb make a second that hold the second 500mb. I dont have a problem with the big file remaining (in fact i would liek it better if it did remain) I want to use the secondary files for another purpose. they will be moved off this drive upon creation. If this is possible then this is what I would like to implement. Ideas where/what i should start. and thanks for the replies
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#8
2008-05-20, 03:25 AM
It depends what type of file you will be record. If you're recording a .ts file then you can write some software to open a file passed on the command line, monitor the size, read chunks writting to your output files, switch files at each size threshold, and exit if the filesize hasnt changed in a while (ie, recording completed). You could that utility from the ParallelProcessing.bat file which is run when each recording is started.

If you're recording other types of files, like .mpg or .dvr-ms files, then you have a significantly more complex task on your hands.

I am curious why you're so keen on this feature though? Remember GB-PVR is only to be used for personal use. No companies/organisations etc.
h0st1le
Offline

Junior Member

Posts: 16
Threads: 5
Joined: May 2008
#9
2008-05-20, 03:46 AM
I would be using the .TS files. So it seems that this idea would work quite well. As for the usage of the feature it is for my own personal usage, it really just comes down to some personal preferences. On how I want things to work and the limitations I have regarding my LAN, HD type/space and capacities of both. I really appreciate your help, and plan to look into the idea further. If you have any ideas for good resources to check out I'm open to suggestions. Again thanks, I appreciate the help.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#10
2008-05-20, 03:53 AM
if you need help with what you are trying to do why dont you explain in detail your end objective
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How Does "Use S01E01 File naming format if possible" work puck64 7 5,311 2015-08-25, 10:21 AM
Last Post: puck64
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,787 2014-01-02, 06:36 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,767 2013-10-08, 02:25 AM
Last Post: sub
  Accessing music file metadata in C# bgowland 6 3,279 2013-01-26, 05:14 AM
Last Post: bgowland
  File browsing - a big ask imilne 3 1,988 2010-11-04, 09:03 PM
Last Post: imilne
  Actual size of inner element in NPVR scb147 2 1,757 2010-11-02, 06:40 PM
Last Post: scb147
  Run Multiple File Conversions On Your 4 Core -Burn Your Processor luttrell1962 12 4,567 2010-03-25, 07:33 AM
Last Post: luttrell1962
  Determining text size and available space Ommina 2 1,657 2010-03-15, 05:34 AM
Last Post: sub
  Using Windows file system shortcuts ACTCMS 0 1,799 2010-01-26, 11:45 PM
Last Post: ACTCMS
  Not looking in correct location for skin file scb147 4 2,208 2009-07-29, 06:26 PM
Last Post: scb147

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

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

Linear Mode
Threaded Mode