Commit Graph

162 Commits

Author SHA1 Message Date
Klaus Schmidinger f2b9f0e8dd Fixed a compiler warning 2022-11-30 14:38:46 +01:00
Klaus Schmidinger 035d5fd5b9 Using the frame rate parsed from the stream, with fall back to determining it from PTS values 2022-11-22 11:35:37 +01:00
Klaus Schmidinger 93d578d9b8 Implemented parsing frame rate and image size for MPEG2, H.264 and H.265 2022-11-22 11:31:39 +01:00
Klaus Schmidinger 8cde8464eb Fixed handling zero bytes in cH264Parser 2022-01-18 14:24:33 +01:00
Klaus Schmidinger cd3cda2654 Fixed cTsPayload::AtPayloadStart() to ignore TS packets from other PIDs 2021-05-11 20:47:31 +02:00
Klaus Schmidinger 1dabb9b8c5 Changed the country code in the generated ParentalRatingDescriptor from 'DEU' to '902' to make it valid for all countries 2020-06-22 12:15:52 +02:00
Klaus Schmidinger 4c7efcbd02 Added support for EAC3 audio from other sources 2019-03-15 13:10:33 +01:00
Klaus Schmidinger 073268bd45 CAMs are now sent a generated EIT packet that contains a single 'present event' for the current SID, in order to avoid any parental rating dialogs 2017-05-01 09:32:32 +02:00
Klaus Schmidinger 1a31974789 Fixed a typo 2017-04-24 14:59:39 +02:00
Klaus Schmidinger b313d88db1 Improved clearing the MTD buffer and syncing on TS packets 2017-03-26 13:07:01 +02:00
Klaus Schmidinger 6121095a30 Changed 'unsigned' to 'signed' in some places to avoid trouble with abs() in gcc6+ 2017-01-09 15:21:13 +01:00
Klaus Schmidinger 26252c37cd Fixed regenerating the index of audio recordings 2016-12-22 13:14:10 +01:00
Klaus Schmidinger f91468ff9b Implemented a frame parser for H.265 (HEVC) recordings 2016-12-22 12:22:11 +01:00
Klaus Schmidinger 371e60238a Added detection of 24fps 2015-03-11 09:57:21 +01:00
Klaus Schmidinger 7062583ab4 Added support for PGS subtitles 2015-01-14 10:39:55 +01:00
Klaus Schmidinger b454a0777f Added handling for DTS audio tracks to cPatPmtParser::ParsePmt() 2015-01-14 09:36:00 +01:00
Klaus Schmidinger 57222002b2 Fixed a possible division by zero in frame rate detection 2014-04-13 13:50:04 +02:00
Klaus Schmidinger 4fc8101910 Whitespace fix 2014-04-13 11:49:40 +02:00
Klaus Schmidinger f8058586f9 Fixed handling PAT packets when detecting frames 2014-03-08 15:05:35 +01:00
Klaus Schmidinger ad1352f109 Fixed a possible endless loop in cH264Parser::GetGolombUe() 2014-03-08 15:04:09 +01:00
Klaus Schmidinger 4cd251fc48 Fixed handling frame detection buffer length 2014-02-21 15:14:14 +01:00
Klaus Schmidinger 9eda923269 Increased MIN_TS_PACKETS_FOR_FRAME_DETECTOR to 100 and introduced counting the number of actual video TS packets in cTsPayload 2014-01-28 11:26:02 +01:00
Klaus Schmidinger 2e41129c36 Fixed detecting frame borders in MPEG-2 streams that have "bottom fields" or varying GOP structures 2014-01-18 11:27:30 +01:00
Klaus Schmidinger e0448bded8 Whitespace fixes 2013-03-03 10:37:58 +01:00
Klaus Schmidinger 3ca58a42e7 Removed trailing whitespace 2013-02-17 13:19:36 +01:00
Klaus Schmidinger 75aee155ea Changed all occurrences of MPEG4 to H264 (pointed out by Sören Moch) 2012-11-25 14:21:15 +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 5b4e1fa793 Fixed detecting frames in case there are multiple frames per payload unit 2012-11-13 10:00:00 +01:00
Klaus Schmidinger 3ad369d249 Fixed frame detection when regenerating the index 2012-11-06 11:03:06 +01:00
Klaus Schmidinger 57a3169013 Improved frame detection by parsing just far enough into the MPEG-4 NAL units to get the necessary information about frames and slices; the initial syncing of the frame detector is now done immediately after the first complete GOP has been seen 2012-11-02 14:35:57 +01:00
Klaus Schmidinger e11908cae6 cPatPmtParser::ParsePmt() now also recognizes stream type 0x81 as "AC3" 2012-09-19 10:46:17 +02:00
Klaus Schmidinger ed456adc80 Improved detecting frames in MPEG 4 video 2012-09-18 09:57:38 +02:00
Klaus Schmidinger c9ac6f5196 Fixed mapping the frame type bits when detecting independent frames in MPEG 4 video 2012-09-14 09:11:18 +02:00
Klaus Schmidinger e7b0f909ff Fixed some typos 2012-03-02 10:56:49 +01:00
Klaus Schmidinger 70d4e5105b Fixed a possible memory corruption in cTsToPes::GetPes() 2012-01-12 12:25:54 +01:00
Klaus Schmidinger 699fd6d5d7 Detecting frames in case the Picture Start Code or Access Unit Delimiter extends over TS packet boundaries is now done by locally skipping TS packets in cFrameDetector 2011-09-04 13:09:06 +02:00
Klaus Schmidinger 96061c5b40 Revoked the changes to cFrameDetector that have been introduced in version 1.7.19 2011-09-04 10:13:14 +02:00
Klaus Schmidinger 6c110a7272 Fixed detecting frames on radio channels 2011-08-27 14:27:22 +02:00
Klaus Schmidinger 3a19051c76 Fixed detecting frames for channels that split frames into several payloads 2011-08-20 09:07:26 +02:00
Klaus Schmidinger adb92a1999 The cutter now sets the 'broken link' flag for MPEG2 TS recordings 2011-08-15 09:52:43 +02:00
Klaus Schmidinger b0fd7ed933 Fixed overwriting the fps value in a recording's info file 2011-06-12 14:24:09 +02:00
Klaus Schmidinger 72d342ce02 Fixed detecting frames in case the Picture Start Code or Access Unit Delimiter extends over TS packet boundaries (cont'd) 2011-06-12 14:06:11 +02:00
Klaus Schmidinger c90e87d71f The frame detector now only starts collecting PTS values after it has seen the first I-frame 2011-06-11 11:40:18 +02:00
Klaus Schmidinger b226ab46d6 Fixed detecting frames in case the Picture Start Code or Access Unit Delimiter extends over TS packet boundaries 2011-06-11 11:28:13 +02:00
Klaus Schmidinger d1dd7df17a Fixed detecting frames on channels that broadcast with separate "fields" instead of complete frames 2011-03-20 10:22:22 +01:00
Klaus Schmidinger 5f35ff690f Fixed some direct comparisons of double values 2011-03-13 13:58:22 +01:00
Klaus Schmidinger 63fb010fc5 Setting the audio type of language descriptors to 0x00 in the PAT/PMT generator 2011-02-26 15:53:12 +01:00
Klaus Schmidinger d1ab9dbc5f Now checking the result of all realloc() calls 2011-02-25 15:25:42 +01:00
Klaus Schmidinger 82a13c7a0e Fixed reallocating memory in cTsToPes::PutTs() 2011-02-20 17:37:24 +01:00