Commit Graph

47 Commits

Author SHA1 Message Date
Klaus Schmidinger 2bdb599fbc Added renaming and moving recordings and folders, and editing a recording's priority and lifetime; added cutting queue 2013-10-10 13:13:30 +02:00
Klaus Schmidinger 3971cc6e88 Removed the code for distributing recordings over several video directories; added the cVideoDirectory plugin API 2013-09-11 12:20:37 +02:00
Klaus Schmidinger 7a359a958e Fixed asserting free disk space in the cutter 2013-08-21 13:22:19 +02:00
Klaus Schmidinger d8e8941c77 Fixed no longer generating any editing marks if the edited recording results in just one single sequence 2013-05-02 09:17:55 +02:00
Klaus Schmidinger 5e805b5dfd The cutter now allocates its buffers on the heap to avoid problems on systems with limited stack space 2013-03-18 09:54:00 +01:00
Klaus Schmidinger f7c0216ed0 Some formatting fixes 2013-02-17 14:41:29 +01:00
Klaus Schmidinger b2ae3062ab Now also using FindHeader() in cMpeg2Fixer::AdjTref() 2013-01-23 10:42:41 +01:00
Klaus Schmidinger abde1d04ae Improved cutting MPEG-2 video 2013-01-20 12:19:42 +01:00
Klaus Schmidinger 441bf30032 Simplified calculating the PTS offset in cPtsFixer::Fix() and fixed the overflow handling of PCR values 2012-12-02 14:33:06 +01:00
Klaus Schmidinger b73c83e2a1 Fixed adjusting the DTS values in the cutter, to compensate for dropped B-frames 2012-11-29 15:34:55 +01:00
Klaus Schmidinger 2eadd7d4dd The cutter now only increments the TS continuity counter for packets that have a payload 2012-11-27 08:57:45 +01:00
Klaus Schmidinger 21186ced97 Fixed getting only non-video packets in cCuttingThread::GetPendingPackets() 2012-11-25 14:02:47 +01:00
Klaus Schmidinger 8f9136ecab In order to be able to play TS recordings from other sources, in which there is more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed to 'bool cPatPmtParser::IsPatPmt(int Pid)' 2012-11-19 10:32:31 +01:00
Klaus Schmidinger cca2cd35ad Improved editing TS recordings 2012-11-18 12:19:51 +01:00
Klaus Schmidinger 1e9b16d20b The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority 2012-10-04 12:32:31 +02:00
Klaus Schmidinger 72c03260d7 The new class cIoThrottle is used to allow I/O intense threads to temporarily suspend their activities in case buffers run full 2012-09-22 11:52:33 +02:00
Klaus Schmidinger 478027b5e9 Setting the "broken link" or "TEI" flags when cutting recordings is now suppressed if the editing point merges two seamlessly fitting parts of the same stream 2012-06-10 14:33:36 +02:00
Klaus Schmidinger 78e11d8c6f Extended the interface to the script that gets called for recordings, so that in the "edited" case it also provides the name of the original recording 2012-06-02 13:57:41 +02:00
Klaus Schmidinger 26d2fe51d1 An ongoing editing process is now canceled if either the original or the edited version of the recording is deleted from the Recordings menu 2012-02-16 12:20:46 +01:00
Klaus Schmidinger ada6766c19 Fixed a crash when deleting a recording while cutting it 2011-12-04 12:56:55 +01:00
Klaus Schmidinger ae8627e6fc Fixed setting the start time of an edited recording 2011-10-09 16:12:21 +02:00
Klaus Schmidinger 97ad2fa95d Direct access to several class members is now deprecated 2011-08-21 11:34:30 +02:00
Klaus Schmidinger e5d2240bbb The start time of an edited recording is now set to the time of the first editing mark 2011-08-20 10:09:05 +02:00
Klaus Schmidinger e8406def02 Now reducing the thread and I/O priority cCuttingThread::Action() 2011-03-06 14:59:57 +01:00
Klaus Schmidinger 505574fa98 Added locking to the cCutter functions to avoid a crash in case CutRecording() is called from a plugin 2010-08-29 13:40:37 +02:00
Klaus Schmidinger b5edaaa7cc Implemented --edit and --genindex options 2010-01-02 14:02:48 +01:00
Klaus Schmidinger 3f492c4f57 Implemented TsSetTeiOnBrokenPackets() 2009-04-19 11:07:07 +02:00
Klaus Schmidinger f01af488e1 Fixed handling the maximum video file size 2009-01-24 15:24:19 +01:00
Klaus Schmidinger 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger 29871d8585 Fixed error handling in cCuttingThread::Action() 2008-01-13 12:23:39 +01:00
Klaus Schmidinger 6a737033ad Added a missing error report to cCuttingThread::Action() 2007-08-25 10:36:10 +02:00
Klaus Schmidinger ae4633feb0 Now invalidating /video cache _after_ cutting 2006-07-30 10:29:24 +02:00
Klaus Schmidinger 5820beed02 Removed an unnecessary toFile->SetReadAhead() from cutter.c 2006-02-12 10:08:52 +01:00
Klaus Schmidinger 204f4a322e Further improvements to cUnbufferedFile 2006-02-05 11:06:47 +01:00
Klaus Schmidinger 116abbe05e Improved cUnbufferedFile 2006-02-04 14:12:17 +01:00
Klaus Schmidinger 3c8faf1b8d Fixed checking toFile in cCuttingThread::Action() 2006-01-27 13:47:08 +01:00
Klaus Schmidinger 697261c981 The new class cUnbufferedFile is used for the recording files to avoid thrashing the file system cache 2005-10-31 13:14:26 +01:00
Klaus Schmidinger af54ce4842 Changed cThread Active() vs. Running() 2005-08-14 11:24:57 +02:00
Klaus Schmidinger ccb0add798 Centralized 'thread active' handling 2005-08-13 13:17:24 +02:00
Klaus Schmidinger b0583e5373 Switched from 'summary.vdr' to 'info.vdr' 2005-05-16 14:45:11 +02:00
Klaus Schmidinger 5ed57fa1c5 The list of recordings is now kept statically in memory 2004-06-13 20:26:51 +02:00
Klaus Schmidinger e53e43d2b8 The cThread class now accepts a 'Description' parameter 2003-10-18 12:29:08 +02:00
Klaus Schmidinger 12d5d01faa Removing deleted recordings faster than normal when cutting 2003-08-17 09:18:40 +02:00
Klaus Schmidinger 7a5ef9e999 Fixed cutting a recording if there is only a single editing mark 2003-05-24 12:01:52 +02:00
Klaus Schmidinger c4b9c58270 Now setting the 'broken link' flag for GOPs at the beginning of a new video sequence 2003-04-26 15:11:17 +02:00
Klaus Schmidinger 9a1a16f3d4 Consistently using malloc/free and new/delete 2002-08-11 13:32:23 +02:00
Klaus Schmidinger 7ade39597a Activated cutting 2002-06-22 10:11:59 +02:00