|
MythTV
0.27pre
|
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC, DVB and ATSC streams. More...
#include <dtvrecorder.h>


Public Member Functions | |
| DTVRecorder (TVRec *rec) | |
| virtual | ~DTVRecorder () |
| virtual void | SetOption (const QString &opt, const QString &value) |
| Set an specific option. | |
| virtual void | SetOption (const QString &name, int value) |
| handles the "wait_for_seqstart" option. | |
| virtual void | SetOptionsFromProfile (RecordingProfile *profile, const QString &videodev, const QString &, const QString &) |
| Sets basic recorder options. | |
| bool | IsErrored (void) |
| Tells us whether an unrecoverable error has been encountered. | |
| long long | GetFramesWritten (void) |
| Returns number of frames written to disk. | |
| void | SetVideoFilters (QString &) |
| Tells recorder which filters to use. | |
| void | Initialize (void) |
| This is called between SetOptionsFromProfile() and run() to initialize any devices, etc. | |
| int | GetVideoFd (void) |
| Returns file descriptor of recorder device. | |
| virtual void | SetStreamData (MPEGStreamData *sd) |
| MPEGStreamData * | GetStreamData (void) const |
| virtual void | Reset (void) |
| Reset the recorder to the startup state. | |
| virtual void | ClearStatistics (void) |
| virtual RecordingQuality * | GetRecordingQuality (const RecordingInfo *) const |
| Returns a report about the current recordings quality. | |
| void | HandlePAT (const ProgramAssociationTable *) |
| void | HandleCAT (const ConditionalAccessTable *) |
| void | HandlePMT (uint pid, const ProgramMapTable *) |
| void | HandleEncryptionStatus (uint, bool) |
| void | HandleSingleProgramPAT (ProgramAssociationTable *pat, bool insert) |
| void | HandleSingleProgramPMT (ProgramMapTable *pmt, bool insert) |
| void | HandleSTT (const SystemTimeTable *) |
| void | HandleVCT (uint, const VirtualChannelTable *) |
| void | HandleMGT (const MasterGuideTable *) |
| void | HandleTDT (const TimeDateTable *) |
| void | HandleNIT (const NetworkInformationTable *) |
| void | HandleSDT (uint, const ServiceDescriptionTable *) |
| bool | ProcessTSPacket (const TSPacket &tspacket) |
| bool | ProcessVideoTSPacket (const TSPacket &tspacket) |
| bool | ProcessAudioTSPacket (const TSPacket &tspacket) |
| bool | ProcessAVTSPacket (const TSPacket &tspacket) |
| Common code for processing either audio or video packets. | |
Public Member Functions inherited from RecorderBase | |
| RecorderBase (TVRec *rec) | |
| virtual | ~RecorderBase () |
| void | SetFrameRate (double rate) |
| Sets the video frame rate. | |
| void | SetRecording (const RecordingInfo *pginfo) |
| Changes the Recording from the one set initially with SetOptionsFromProfile(). | |
| void | SetRingBuffer (RingBuffer *rbuf) |
| Tells recorder to use an externally created ringbuffer. | |
| void | SetNextRecording (const RecordingInfo *, RingBuffer *) |
| Sets next recording info, to be applied as soon as practical. | |
| virtual void | run (void)=0 |
| run() starts the recording process, and does not exit until the recording is complete. | |
| int64_t | GetKeyframePosition (uint64_t desired) const |
| Returns closest keyframe position before the desired frame. | |
| bool | GetKeyframePositions (int64_t start, int64_t end, frm_pos_map_t &) const |
| bool | GetKeyframeDurations (int64_t start, int64_t end, frm_pos_map_t &) const |
| virtual void | StopRecording (void) |
| StopRecording() signals to the recorder that it should stop recording and exit cleanly. | |
| virtual bool | IsRecording (void) |
| Tells whether the StartRecorder() loop is running. | |
| virtual bool | IsRecordingRequested (void) |
| Tells us if StopRecording() has been called. | |
| virtual void | Pause (bool clear=true) |
| Pause tells recorder to pause, it should not block. | |
| virtual void | Unpause (void) |
| Unpause tells recorder to unpause. | |
| virtual bool | IsPaused (bool holding_lock=false) const |
| Returns true iff recorder is paused. | |
| virtual bool | WaitForPause (int timeout=1000) |
| WaitForPause blocks until recorder is actually paused, or timeout milliseconds elapse. | |
| double | GetFrameRate (void) const |
| Returns the latest frame rate. | |
| virtual void | CheckForRingBufferSwitch (void) |
| If requested, switch to new RingBuffer/ProgramInfo objects. | |
| void | SavePositionMap (bool force=false) |
| Save the seektable to the DB. | |
Public Member Functions inherited from MPEGStreamListener | |
| virtual void | HandleSplice (const SpliceInformationTable *) |
Protected Member Functions | |
| virtual void | InitStreamData (void) |
| void | FinishRecording (void) |
| Flushes the ringbuffer, and if this is not a live LiveTV recording saves the position map and filesize. | |
| void | ResetForNewFile (void) |
| void | HandleKeyframe (int64_t extra) |
| This save the current frame to the position maps and handles ringbuffer switching. | |
| void | HandleTimestamps (int stream_id, int64_t pts, int64_t dts) |
| void | UpdateFramesWritten (void) |
| void | BufferedWrite (const TSPacket &tspacket, bool insert=false) |
| bool | FindAudioKeyframes (const TSPacket *tspacket) |
| bool | FindMPEG2Keyframes (const TSPacket *tspacket) |
| Locates the keyframes and saves them to the position map. | |
| bool | FindH264Keyframes (const TSPacket *tspacket) |
| This searches the TS packet to identify keyframes. | |
| void | HandleH264Keyframe (void) |
| This save the current frame to the position maps and handles ringbuffer switching. | |
| void | FindPSKeyFrames (const uint8_t *buffer, uint len) |
| bool | FindOtherKeyframes (const TSPacket *tspacket) |
| Non-Audio/Video data. | |
| bool | CheckCC (uint pid, uint cc) |
| virtual QString | GetSIStandard (void) const |
| virtual void | SetCAMPMT (const ProgramMapTable *) |
| virtual void | UpdateCAMTimeOffset (void) |
Protected Member Functions inherited from RecorderBase | |
| void | SetIntOption (RecordingProfile *profile, const QString &name) |
| Convenience function used to set integer options from a profile. | |
| void | SetStrOption (RecordingProfile *profile, const QString &name) |
| Convenience function used to set QString options from a profile. | |
| virtual bool | PauseAndWait (int timeout=100) |
| If request_pause is true, sets pause and blocks up to timeout milliseconds or until unpaused, whichever is sooner. | |
| virtual void | StartNewFile (void) |
| void | SetPositionMapType (MarkTypes type) |
| Set seektable type. | |
| void | AspectChange (uint ratio, long long frame) |
| Note a change in aspect ratio in the recordedmark table. | |
| void | ResolutionChange (uint width, uint height, long long frame) |
| Note a change in video size in the recordedmark table. | |
| void | FrameRateChange (uint framerate, long long frame) |
| Note a change in video frame rate in the recordedmark table. | |
| void | SetDuration (uint64_t duration) |
| Note the total duration in the recordedmark table. | |
| void | SetTotalFrames (uint64_t total_frames) |
| Note the total frames in the recordedmark table. | |
Protected Member Functions inherited from MPEGStreamListener | |
| virtual | ~MPEGStreamListener () |
Protected Member Functions inherited from MPEGSingleProgramStreamListener | |
| virtual | ~MPEGSingleProgramStreamListener () |
Protected Member Functions inherited from DVBMainStreamListener | |
| virtual | ~DVBMainStreamListener () |
Protected Member Functions inherited from ATSCMainStreamListener | |
| virtual | ~ATSCMainStreamListener () |
Protected Member Functions inherited from TSPacketListener | |
| virtual | ~TSPacketListener () |
Protected Member Functions inherited from TSPacketListenerAV | |
| virtual | ~TSPacketListenerAV () |
Static Protected Attributes | |
| static const uint | kMaxKeyFrameDistance = 80 |
| If the number of regular frames detected since the last detected keyframe exceeds this value, then we begin marking random regular frames as keyframes. | |
| static const unsigned char | kPayloadStartSeen = 0x2 |
Static Protected Attributes inherited from RecorderBase | |
| static const uint | kTimeOfLatestDataIntervalTarget = 5000 |
| timeOfLatest update interval target in milliseconds. | |
Additional Inherited Members | |
Public Types inherited from RecorderBase | |
| enum | AspectRatio { ASPECT_UNKNOWN = 0x00, ASPECT_1_1 = 0x01, ASPECT_4_3 = 0x02, ASPECT_16_9 = 0x03, ASPECT_2_21_1 = 0x04, ASPECT_CUSTOM = 0x05 } |
Static Public Member Functions inherited from RecorderBase | |
| static RecorderBase * | CreateRecorder (TVRec *tvrec, ChannelBase *channel, const RecordingProfile &profile, const GeneralDBOptions &genOpt, const DVBDBOptions &dvbOpt) |
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC, DVB and ATSC streams.
Definition at line 26 of file dtvrecorder.h.
| DTVRecorder::DTVRecorder | ( | TVRec * | rec | ) |
Definition at line 49 of file dtvrecorder.cpp.
|
virtual |
Definition at line 100 of file dtvrecorder.cpp.
|
virtual |
Set an specific option.
Base options include: codec, videodevice, tvformat (ntsc,ntsc-jp,pal-m), vbiformat ("none","pal teletext","ntsc").
Reimplemented from RecorderBase.
Reimplemented in NuppelVideoRecorder, V4LRecorder, and MpegRecorder.
Definition at line 119 of file dtvrecorder.cpp.
Referenced by V4LRecorder::SetOption(), SetOption(), ImportRecorder::SetOptionsFromProfile(), and SetOptionsFromProfile().
handles the "wait_for_seqstart" option.
Reimplemented from RecorderBase.
Reimplemented in NuppelVideoRecorder, ASIRecorder, V4LRecorder, and MpegRecorder.
Definition at line 133 of file dtvrecorder.cpp.
|
virtual |
Sets basic recorder options.
SetOptionsFromProfile is used to tell the recorder about the recording profile as well as the devices to use.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder, ASIRecorder, FirewireRecorder, ImportRecorder, and MpegRecorder.
Definition at line 141 of file dtvrecorder.cpp.
Tells us whether an unrecoverable error has been encountered.
Implements RecorderBase.
Definition at line 45 of file dtvrecorder.h.
Referenced by NuppelVideoRecorder::doAudioThread(), NuppelVideoRecorder::DoMJPEG(), NuppelVideoRecorder::DoV4L1(), NuppelVideoRecorder::DoV4L2(), NuppelVideoRecorder::doWriteThread(), HDHRRecorder::run(), CetonRecorder::run(), DVBRecorder::run(), MpegRecorder::run(), IPTVRecorder::run(), ImportRecorder::run(), FirewireRecorder::run(), ASIRecorder::run(), V4LRecorder::RunVBIDevice(), and Transcode::TranscodeFile().
|
inlinevirtual |
Returns number of frames written to disk.
It is not always safe to seek up to this frame in a player because frames may not be written in display order.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder.
Definition at line 47 of file dtvrecorder.h.
Referenced by MpegRecorder::run().
|
inlinevirtual |
Tells recorder which filters to use.
These filters are used by frame grabber encoders to lower the bitrate while keeping quality good. They must execute quickly so that frames are not lost by the recorder.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder, and MpegRecorder.
Definition at line 49 of file dtvrecorder.h.
This is called between SetOptionsFromProfile() and run() to initialize any devices, etc.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder, and MpegRecorder.
Definition at line 50 of file dtvrecorder.h.
Returns file descriptor of recorder device.
This is used by channel when only one open file descriptor is allowed on a device node. This is the case with video4linux devices and similar devices in BSD. It is not needed by newer drivers, such as those used for DVB.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder, and MpegRecorder.
Definition at line 51 of file dtvrecorder.h.
|
virtual |
Reimplemented in IPTVRecorder.
Definition at line 243 of file dtvrecorder.cpp.
Referenced by ASIRecorder::ASIRecorder(), MpegRecorder::run(), TVRec::SetupDTVSignalMonitor(), TVRec::TuningNewRecorder(), and ~DTVRecorder().
|
inline |
Definition at line 54 of file dtvrecorder.h.
Referenced by FindAudioKeyframes(), FindOtherKeyframes(), FirewireRecorder::ProcessTSPacket(), TVRec::SetupDTVSignalMonitor(), TVRec::TuningFrequency(), TVRec::TuningOnSameMultiplex(), TVRec::TuningShutdowns(), and DVBRecorder::UpdateCAMTimeOffset().
Reset the recorder to the startup state.
This is used after Pause(bool), WaitForPause() and after the RingBuffer's StopReads() method has been called.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder, and MpegRecorder.
Definition at line 229 of file dtvrecorder.cpp.
Reimplemented from RecorderBase.
Definition at line 208 of file dtvrecorder.cpp.
Referenced by ResetForNewFile(), and NuppelVideoRecorder::ResetForNewFile().
|
virtual |
Returns a report about the current recordings quality.
Reimplemented from RecorderBase.
Definition at line 1426 of file dtvrecorder.cpp.
|
virtual |
Implements MPEGStreamListener.
Definition at line 1202 of file dtvrecorder.cpp.
|
inlinevirtual |
Implements MPEGStreamListener.
Definition at line 62 of file dtvrecorder.h.
|
virtual |
Implements MPEGStreamListener.
Definition at line 1239 of file dtvrecorder.cpp.
Implements MPEGStreamListener.
Definition at line 64 of file dtvrecorder.h.
|
virtual |
Implements MPEGSingleProgramStreamListener.
Definition at line 1264 of file dtvrecorder.cpp.
Referenced by MpegRecorder::RestartEncoding(), MpegRecorder::run(), IPTVRecorder::StartNewFile(), HDHRRecorder::StartNewFile(), CetonRecorder::StartNewFile(), DVBRecorder::StartNewFile(), and ASIRecorder::StartNewFile().
|
virtual |
Implements MPEGSingleProgramStreamListener.
Definition at line 1284 of file dtvrecorder.cpp.
Referenced by MpegRecorder::RestartEncoding(), MpegRecorder::run(), IPTVRecorder::StartNewFile(), HDHRRecorder::StartNewFile(), CetonRecorder::StartNewFile(), DVBRecorder::StartNewFile(), and ASIRecorder::StartNewFile().
|
inlinevirtual |
Implements ATSCMainStreamListener.
Definition at line 71 of file dtvrecorder.h.
|
inlinevirtual |
Implements ATSCMainStreamListener.
Definition at line 72 of file dtvrecorder.h.
|
inlinevirtual |
Implements ATSCMainStreamListener.
Definition at line 73 of file dtvrecorder.h.
|
inlinevirtual |
Implements DVBMainStreamListener.
Definition at line 76 of file dtvrecorder.h.
|
inlinevirtual |
Implements DVBMainStreamListener.
Definition at line 77 of file dtvrecorder.h.
|
inlinevirtual |
Implements DVBMainStreamListener.
Definition at line 78 of file dtvrecorder.h.
Implements TSPacketListener.
Reimplemented in FirewireRecorder, and MpegRecorder.
Definition at line 1307 of file dtvrecorder.cpp.
Implements TSPacketListenerAV.
Definition at line 1346 of file dtvrecorder.cpp.
Implements TSPacketListenerAV.
Definition at line 1371 of file dtvrecorder.cpp.
Common code for processing either audio or video packets.
Definition at line 1387 of file dtvrecorder.cpp.
Referenced by ProcessAudioTSPacket(), and ProcessVideoTSPacket().
Reimplemented in FirewireRecorder, and ImportRecorder.
Definition at line 257 of file dtvrecorder.cpp.
Referenced by SetStreamData().
Flushes the ringbuffer, and if this is not a live LiveTV recording saves the position map and filesize.
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder.
Definition at line 154 of file dtvrecorder.cpp.
Referenced by HDHRRecorder::run(), CetonRecorder::run(), DVBRecorder::run(), MpegRecorder::run(), IPTVRecorder::run(), ImportRecorder::run(), FirewireRecorder::run(), and ASIRecorder::run().
Implements RecorderBase.
Reimplemented in NuppelVideoRecorder.
Definition at line 169 of file dtvrecorder.cpp.
Referenced by DTVRecorder(), IPTVRecorder::Open(), HDHRRecorder::Open(), CetonRecorder::Open(), DVBRecorder::Open(), ImportRecorder::Open(), FirewireRecorder::Open(), MpegRecorder::Open(), ASIRecorder::Open(), MpegRecorder::Reset(), and Reset().
|
protected |
This save the current frame to the position maps and handles ringbuffer switching.
Definition at line 765 of file dtvrecorder.cpp.
Referenced by FindAudioKeyframes(), FindMPEG2Keyframes(), FindOtherKeyframes(), and FindPSKeyFrames().
Definition at line 604 of file dtvrecorder.cpp.
Referenced by FindMPEG2Keyframes().
Definition at line 670 of file dtvrecorder.cpp.
Referenced by FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindOtherKeyframes(), and FindPSKeyFrames().
Definition at line 275 of file dtvrecorder.cpp.
Referenced by HandleSingleProgramPAT(), HandleSingleProgramPMT(), ProcessAVTSPacket(), FirewireRecorder::ProcessTSPacket(), and ProcessTSPacket().
Definition at line 700 of file dtvrecorder.cpp.
Referenced by ProcessAudioTSPacket(), and FirewireRecorder::ProcessTSPacket().
Locates the keyframes and saves them to the position map.
This searches for three magic integers in the stream. The picture start code 0x00000100, the GOP code 0x000001B8, and the sequence start code 0x000001B3. The GOP code is prefered, but is only required of MPEG1 streams, the sequence start code is a decent fallback for MPEG2 streams, and if all else fails we just look for the picture start codes and call every 16th frame a keyframe.
NOTE: This does not only find keyframes but also tracks the total frames as well. At least a couple times seeking has been broken by short-circuiting the search once a keyframe stream id has been found. This may work on some channels, but will break on others so algorithmic optimizations should be done with great care.
Definition at line 410 of file dtvrecorder.cpp.
Referenced by FirewireRecorder::ProcessTSPacket(), and ProcessVideoTSPacket().
This searches the TS packet to identify keyframes.
| TSPacket | Pointer the the TS packet data. |
Definition at line 801 of file dtvrecorder.cpp.
Referenced by ProcessVideoTSPacket().
This save the current frame to the position maps and handles ringbuffer switching.
Definition at line 986 of file dtvrecorder.cpp.
Referenced by FindH264Keyframes().
Definition at line 1014 of file dtvrecorder.cpp.
Referenced by MpegRecorder::run().
Non-Audio/Video data.
For streams which contain no audio/video, write just 1 key-frame at the start.
Definition at line 739 of file dtvrecorder.cpp.
Referenced by ProcessTSPacket().
Definition at line 201 of file dtvrecorder.h.
Referenced by ProcessAVTSPacket(), and ProcessTSPacket().
|
inlineprotectedvirtual |
Reimplemented in CetonRecorder, and HDHRRecorder.
Definition at line 120 of file dtvrecorder.h.
Referenced by HandlePMT().
|
inlineprotectedvirtual |
Definition at line 121 of file dtvrecorder.h.
Referenced by HandlePMT().
Definition at line 122 of file dtvrecorder.h.
|
protected |
Definition at line 125 of file dtvrecorder.h.
|
protected |
Definition at line 127 of file dtvrecorder.h.
Referenced by MpegRecorder::run(), and SetOption().
|
protected |
Definition at line 130 of file dtvrecorder.h.
Referenced by FindAudioKeyframes().
|
protected |
Definition at line 131 of file dtvrecorder.h.
Referenced by FindH264Keyframes(), FindMPEG2Keyframes(), FindPSKeyFrames(), MpegRecorder::Reset(), Reset(), and ResetForNewFile().
|
protected |
Definition at line 132 of file dtvrecorder.h.
Referenced by BufferedWrite(), FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindPSKeyFrames(), HandleH264Keyframe(), HandleKeyframe(), ProcessAVTSPacket(), ProcessTSPacket(), and ResetForNewFile().
|
protected |
Definition at line 133 of file dtvrecorder.h.
Referenced by FindMPEG2Keyframes(), FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 134 of file dtvrecorder.h.
Referenced by FindMPEG2Keyframes(), FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 135 of file dtvrecorder.h.
Referenced by FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindOtherKeyframes(), FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 136 of file dtvrecorder.h.
Referenced by FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 137 of file dtvrecorder.h.
Referenced by FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 138 of file dtvrecorder.h.
Referenced by FindPSKeyFrames(), and ResetForNewFile().
|
protected |
Definition at line 141 of file dtvrecorder.h.
Referenced by FindMPEG2Keyframes(), and ResetForNewFile().
|
protected |
Definition at line 142 of file dtvrecorder.h.
Referenced by FindMPEG2Keyframes(), ResetForNewFile(), and UpdateFramesWritten().
|
protected |
Definition at line 145 of file dtvrecorder.h.
Referenced by FindH264Keyframes().
|
protected |
Definition at line 146 of file dtvrecorder.h.
Referenced by FindH264Keyframes(), MpegRecorder::PauseAndWait(), and MpegRecorder::StartEncoding().
|
protected |
Definition at line 147 of file dtvrecorder.h.
Referenced by FindH264Keyframes(), HandleH264Keyframe(), MpegRecorder::OpenV4L2DeviceAsInput(), MpegRecorder::PauseAndWait(), and MpegRecorder::StartEncoding().
|
protected |
Wait for the a GOP/SEQ-start before sending data.
Definition at line 150 of file dtvrecorder.h.
Referenced by BufferedWrite(), FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindPSKeyFrames(), MpegRecorder::PauseAndWait(), ProcessAVTSPacket(), ProcessTSPacket(), MpegRecorder::run(), SetOption(), and MpegRecorder::StartEncoding().
|
protected |
Definition at line 152 of file dtvrecorder.h.
Referenced by FindOtherKeyframes(), and ResetForNewFile().
|
protected |
non-empty iff irrecoverable recording error detected
Definition at line 156 of file dtvrecorder.h.
Referenced by NuppelVideoRecorder::DoMJPEG(), NuppelVideoRecorder::DoV4L1(), NuppelVideoRecorder::DoV4L2(), NuppelVideoRecorder::Initialize(), NuppelVideoRecorder::Open(), MpegRecorder::OpenV4L2DeviceAsInput(), ResetForNewFile(), HDHRRecorder::run(), CetonRecorder::run(), DVBRecorder::run(), MpegRecorder::run(), IPTVRecorder::run(), FirewireRecorder::run(), ASIRecorder::run(), NuppelVideoRecorder::run(), MpegRecorder::StartEncoding(), and NuppelVideoRecorder::WriteAudio().
|
protected |
Definition at line 158 of file dtvrecorder.h.
Referenced by ASIRecorder::ASIRecorder(), HandlePAT(), HandlePMT(), MpegRecorder::InitStreamData(), FirewireRecorder::InitStreamData(), InitStreamData(), IPTVRecorder::Open(), IPTVRecorder::PauseAndWait(), DVBRecorder::PauseAndWait(), HDHRRecorder::PauseAndWait(), MpegRecorder::PauseAndWait(), CetonRecorder::PauseAndWait(), MpegRecorder::Reset(), MpegRecorder::RestartEncoding(), HDHRRecorder::run(), CetonRecorder::run(), DVBRecorder::run(), MpegRecorder::run(), IPTVRecorder::run(), ASIRecorder::run(), IPTVRecorder::SetStreamData(), SetStreamData(), IPTVRecorder::StartNewFile(), CetonRecorder::StartNewFile(), HDHRRecorder::StartNewFile(), DVBRecorder::StartNewFile(), and ASIRecorder::StartNewFile().
|
protected |
Definition at line 161 of file dtvrecorder.h.
Referenced by BufferedWrite(), FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), ProcessAudioTSPacket(), ProcessAVTSPacket(), FirewireRecorder::ProcessTSPacket(), ProcessTSPacket(), and ProcessVideoTSPacket().
|
protected |
Definition at line 162 of file dtvrecorder.h.
Referenced by BufferedWrite(), DTVRecorder(), FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindOtherKeyframes(), FindPSKeyFrames(), and MpegRecorder::RestartEncoding().
|
mutableprotected |
Definition at line 165 of file dtvrecorder.h.
Referenced by HandlePAT(), and HandlePMT().
|
protected |
PAT on input side.
Definition at line 166 of file dtvrecorder.h.
Referenced by HandlePAT(), and ~DTVRecorder().
|
protected |
PMT on input side.
Definition at line 167 of file dtvrecorder.h.
Referenced by HandlePMT(), ProcessTSPacket(), HDHRRecorder::run(), CetonRecorder::run(), DVBRecorder::run(), IPTVRecorder::run(), ASIRecorder::run(), and ~DTVRecorder().
|
protected |
Definition at line 168 of file dtvrecorder.h.
Referenced by HandlePMT(), and ProcessTSPacket().
|
protected |
Definition at line 171 of file dtvrecorder.h.
Referenced by DTVRecorder(), HandleSingleProgramPMT(), and ProcessVideoTSPacket().
|
protected |
Definition at line 172 of file dtvrecorder.h.
Referenced by DTVRecorder(), and ProcessAVTSPacket().
|
protected |
Definition at line 173 of file dtvrecorder.h.
Referenced by DTVRecorder(), ProcessAVTSPacket(), MpegRecorder::ProcessTSPacket(), and ProcessTSPacket().
|
protected |
Definition at line 174 of file dtvrecorder.h.
Referenced by HandleSingleProgramPAT(), and HandleSingleProgramPMT().
|
protected |
Definition at line 177 of file dtvrecorder.h.
Referenced by HandleTimestamps().
|
protected |
Definition at line 178 of file dtvrecorder.h.
Referenced by ClearStatistics(), and HandleTimestamps().
|
protected |
Definition at line 179 of file dtvrecorder.h.
Referenced by ClearStatistics(), and HandleTimestamps().
|
protected |
Definition at line 180 of file dtvrecorder.h.
Referenced by ClearStatistics(), and HandleTimestamps().
|
protected |
Definition at line 181 of file dtvrecorder.h.
Referenced by HandleTimestamps().
|
mutableprotected |
Definition at line 182 of file dtvrecorder.h.
Referenced by ClearStatistics(), GetRecordingQuality(), ProcessAVTSPacket(), and ProcessTSPacket().
|
mutableprotected |
Definition at line 183 of file dtvrecorder.h.
Referenced by ClearStatistics(), GetRecordingQuality(), ProcessAVTSPacket(), and ProcessTSPacket().
|
protected |
Definition at line 184 of file dtvrecorder.h.
Referenced by ClearStatistics(), FindAudioKeyframes(), FindH264Keyframes(), FindMPEG2Keyframes(), FindOtherKeyframes(), and FindPSKeyFrames().
|
protected |
Definition at line 185 of file dtvrecorder.h.
Referenced by ClearStatistics(), FindH264Keyframes(), FindMPEG2Keyframes(), FindPSKeyFrames(), FinishRecording(), HandleH264Keyframe(), HandleKeyframe(), and UpdateFramesWritten().
|
protected |
Definition at line 186 of file dtvrecorder.h.
Referenced by ClearStatistics(), FinishRecording(), HandleH264Keyframe(), HandleKeyframe(), and UpdateFramesWritten().
|
protected |
Definition at line 189 of file dtvrecorder.h.
Referenced by ClearStatistics(), and UpdateFramesWritten().
|
protected |
Definition at line 190 of file dtvrecorder.h.
Referenced by ClearStatistics(), and UpdateFramesWritten().
|
protected |
Definition at line 191 of file dtvrecorder.h.
Referenced by ClearStatistics(), and UpdateFramesWritten().
|
staticprotected |
If the number of regular frames detected since the last detected keyframe exceeds this value, then we begin marking random regular frames as keyframes.
Definition at line 197 of file dtvrecorder.h.
Referenced by FindMPEG2Keyframes(), and FindPSKeyFrames().
|
staticprotected |
Definition at line 198 of file dtvrecorder.h.
Referenced by ProcessAVTSPacket().
1.8.1.2