1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

142 Commits

Author SHA1 Message Date
Klaus Schmidinger
1c47cf37ca Fixed handling frame detection buffer length 2014-02-21 15:17:08 +01:00
Klaus Schmidinger
9e9219d8fb Increased MIN_TS_PACKETS_FOR_FRAME_DETECTOR to 100 and introduced counting the number of actual video TS packets in cTsPayload 2014-01-28 12:40:04 +01:00
Klaus Schmidinger
dd95f4ed61 Fixed detecting frame borders in MPEG-2 streams that have "bottom fields" or varying GOP structures 2014-01-25 14:37:05 +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
Klaus Schmidinger
4f50c34824 Fixed detecting frames on channels that broadcast with 50 or 60 fps 2010-11-01 12:31:52 +01:00
Klaus Schmidinger
9377d831b3 Added full handling of the stream types of Dolby Digital pids 2010-06-05 13:50:56 +02:00
Klaus Schmidinger
7f3d21f867 Added handling MPEG audio types "ISO/IEC 14496-3 Audio with LATM transport syntax" and "ISO/IEC 13818-7 Audio with ADTS transport sytax" 2010-05-16 13:36:55 +02:00
Klaus Schmidinger
539c0da853 Fixed a possible out of buffer memory access in case of bad TS data 2010-05-13 14:39:41 +02:00
Klaus Schmidinger
515966cdea Fixed generating PMT language descriptors for multi language PIDs 2010-04-18 13:44:56 +02:00
Klaus Schmidinger
db5c3cd36a Fixed cFrameDetector::Analyze() in case part of the data has been processed and there is less than MIN_TS_PACKETS_FOR_FRAME_DETECTOR left 2010-04-05 09:38:13 +02:00
Klaus Schmidinger
9424ab26a6 The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital tracks appear in the "Audio" menu 2010-02-28 14:42:07 +01:00
Klaus Schmidinger
0889960232 The PCR pid is now recorded for channels where this is different from the video PID 2010-01-30 11:10:25 +01:00
Klaus Schmidinger
a9543347af Fixed determining the frame duration on channels where the PTS deltas jitter by +/-1 around 3600 2010-01-24 16:14:13 +01:00
Klaus Schmidinger
9ff0e7ef27 The PCR pid in generated PMTs is now set to the channel's PCR pid again 2010-01-24 15:20:49 +01:00
Klaus Schmidinger
96ce981713 Fixed determining the frame duration on channels where the PTS deltas jitter by +/-1 around 1800 2010-01-23 15:39:15 +01:00
Klaus Schmidinger
3d7338de5a cPatPmtParser now also stores the audio stream types 2009-12-31 15:35:37 +01:00
Klaus Schmidinger
6a4d4607e4 Fixed zero-terminating the pid lists 2009-12-29 15:46:12 +01:00
Klaus Schmidinger
07d50dc8c4 cParsePatPmt now has functions to retrieve the audio, dolby and subtitle pids 2009-12-24 12:28:01 +01:00
Klaus Schmidinger
25148b7b05 Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt() 2009-12-24 11:56:50 +01:00
Klaus Schmidinger
5c2a51a7cf Added stream type 11172 AUDIO to cPatPmtParser::ParsePmt() 2009-12-06 14:05:36 +01:00
Klaus Schmidinger
6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger
8335ba0a7e The PCR pid in generated PMTs is now set to 0x1FFF ("no PCR pid") in cPatPmtGenerator::GeneratePmt(), because VDR doesn't record the PCR pid 2009-12-05 13:16:34 +01:00
Klaus Schmidinger
62901748b3 The new function cDevice::PatPmtParser() can be used in derived devices to access the PAT/PMT of the currently replayed material 2009-12-05 11:32:31 +01:00
Klaus Schmidinger
8ffbea3788 Fixed generating the index for recordings from channels that put a whole GOP into one payload unit; regenerating index file 2009-11-22 11:30:27 +01:00