176 Commits

Author SHA1 Message Date
Klaus Schmidinger
336aef8b0f Added the "override" keyword to virtual functions reimplemented in derived classes 2025-03-02 11:03:35 +01:00
Klaus Schmidinger
0f80fc5e86 Fixed handling the fps value if it can't be determined from the video data 2024-12-05 10:37:15 +01:00
Klaus Schmidinger
d169f30e5c TS packets with errors are now skipped when parsing for frames 2024-12-05 10:33:31 +01:00
Klaus Schmidinger
7a1842cba6 Fixed a typo 2024-12-04 14:33:22 +01:00
Klaus Schmidinger
4030698007 Fixed error checking in case the fps value can't be determined by the frame parser 2024-10-13 13:34:32 +02:00
Klaus Schmidinger
2dacc776bd Fixed error checking in case of large PTS discontinuities 2024-10-08 08:46:38 +02:00
Klaus Schmidinger
c590444b7d Fixed error checking when regenerating the index 2024-09-21 19:18:18 +02:00
Klaus Schmidinger
d8ab5dc5c6 Fixed syncing the frame checker to I-frames 2024-09-20 14:21:39 +02:00
Klaus Schmidinger
5cd25df60c Recording errors are now marked in the index file 2024-09-18 09:23:07 +02:00
Klaus Schmidinger
52c4816c9c Now distinguishing between frames with errors and completely missing frames 2024-09-17 11:30:28 +02:00
Klaus Schmidinger
6dd5854b7a Moved error checking from recorder.c to remux.c 2024-09-17 09:31:15 +02:00
Klaus Schmidinger
82b09eaa8e Silenced a compiler warning with gcc 14.1.0 2024-09-16 09:07:12 +02:00
Klaus Schmidinger
a2591d6e98 Workaround in detecting frame height for channels with wrong crop parameters 2024-01-23 19:33:45 +01:00
Klaus Schmidinger
6458f8b581 The frame width, height, scan type and apect ratio of a recording are now stored in the 'info' file under the 'F' tag 2023-12-28 21:23:19 +01:00
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