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

132 Commits

Author SHA1 Message Date
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
Klaus Schmidinger
999df31b8d Fixed writing the PCR pid into the PMT in cPatPmtGenerator::GeneratePmt() 2009-11-01 15:35:34 +01:00
Klaus Schmidinger
95c9d3cf51 Fixed cFrameDetector::Analyze() to handle video streams where the frame type is not detectable from the first TS packet of a frame 2009-11-01 15:02:49 +01:00
Klaus Schmidinger
9b61b20f9a Implemented full handling of subtitling descriptors 2009-08-16 15:32:39 +02:00
Klaus Schmidinger
e33ba08af4 Fixed cDevice::PlayTsVideo() and cDevice::PlayTsAudio() in case only part of the buffer has been accepted by the device 2009-06-21 13:34:40 +02:00
Klaus Schmidinger
96d25c3be1 Fixed unwanted track modifications when parsing PAT/PMT for recording 2009-06-06 13:26:23 +02:00
Klaus Schmidinger
e51e38bc33 Fixed generating PAT/PMT version numbers in case the PIDs change during recording 2009-05-24 15:11:28 +02:00
Klaus Schmidinger
b250709407 Removed unused 'synced' member from cTsToPes 2009-05-17 09:48:14 +02:00
Klaus Schmidinger
aae1aa5271 Added MPEG 1 handling to remux.c 2009-05-10 14:32:03 +02:00
Klaus Schmidinger
b0d380ba06 cFrameDetector::Analyze() now syncs on the TS packet sync bytes 2009-05-03 14:45:53 +02:00
Klaus Schmidinger
3f492c4f57 Implemented TsSetTeiOnBrokenPackets() 2009-04-19 11:07:07 +02:00