Tue Dec 21 12:36:44 [14699] INFO: starting markad v3.0.18-BM2LTS (6c73e7c) (64bit) Tue Dec 21 12:36:44 [14699] INFO: using libavcodec.so.59.12.100 with 4 threads Tue Dec 21 12:36:44 [14699] INFO: on /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec Tue Dec 21 12:36:44 [14699] INFO: aspect ratio 16:9 (from vdr info) Tue Dec 21 12:36:44 [14699] INFO: broadcast with DolbyDigital2.0 (from vdr info) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::isVPSTimer(): markad.vps not found Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::GetRecordingStart(): mount option noatime is set, use atime from directory /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec to get creation time Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::GetRecordingStart(): got no valid directory creation time, maybe recording was copied Tue Dec 21 12:37:32 2021 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::GetRecordingStart(): broadcast start time from vdr info file Sat Dec 18 20:00:00 2021 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::GetRecordingStart(): getting recording start from VDR info file modification time Sat Dec 18 20:11:18 2021 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::LoadInfo(): recording start at Sat Dec 18 20:11:18 2021 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::LoadInfo(): timer start at Sat Dec 18 20:00:00 2021 Tue Dec 21 12:36:44 [14699] INFO: missed broadcast start by 11:18 min, event length 900s Tue Dec 21 12:36:44 [14699] INFO: corrected length 222s Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::LoadInfo(): broadcast start -678s after recording start Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CheckLogo(): using logo directory /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CheckLogo(): searching logo for Das_Erste_HD Tue Dec 21 12:36:44 [14699] INFO: pre-timer: 0:11:18h Tue Dec 21 12:36:44 [14699] INFO: broadcast length: 0:03:42h Tue Dec 21 12:36:44 [14699] INFO: channel: Das_Erste_HD Tue Dec 21 12:36:44 [14699] DEBUG: parameter --loglevel is set to 3 Tue Dec 21 12:36:44 [14699] DEBUG: markad process nice level 19 Tue Dec 21 12:36:44 [14699] DEBUG: markad IO priority class 3 Tue Dec 21 12:36:44 [14699] DEBUG: parameter --logocachedir is set to /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: parameter --threads is set to 4 Tue Dec 21 12:36:44 [14699] DEBUG: parameter --astopoffs is set to 0 Tue Dec 21 12:36:44 [14699] DEBUG: parameter --log2rec is set Tue Dec 21 12:36:44 [14699] DEBUG: parameter --vps is set Tue Dec 21 12:36:44 [14699] DEBUG: parameter --cut is set Tue Dec 21 12:36:44 [14699] DEBUG: parameter --autologo is set to 2 Tue Dec 21 12:36:44 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::ProcessFiles(): start processing files Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::cDecoder(): create new decoder instance Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::cDecoder(): init with 4 threads Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::GetVideoType(): video coding format: H.264 Tue Dec 21 12:36:44 [14699] INFO: video hight: 720 Tue Dec 21 12:36:44 [14699] INFO: video width: 1280 Tue Dec 21 12:36:44 [14699] INFO: average frame rate: 50 frames per second Tue Dec 21 12:36:44 [14699] INFO: real frame rate: 50 frames per second Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): startframe -33900 (-11min -18s) Tue Dec 21 12:36:44 [14699] INFO: recording started too late, set start mark to start of recording Tue Dec 21 12:36:44 [14699] DEBUG: cIndex::GetTimeFromFrame(): frame index not initialized Tue Dec 21 12:36:44 [14699] DEBUG: cMarks::IndexToHMSF(): failed to get time from frame (1) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): use frame rate 50 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): length of recording: 222s ( 3min 42s) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): assumed start frame: 18000 ( 6min 0s) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): assumed stop frame: 29100 ( 9min 42s) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): chkSTART set to: 42000 ( 14min 0s) Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): chkSTOP set to: 59100 ( 19min 42s) Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::GetFrameInfo(): audio channels of stream 3 changed from 0 to 2 at frame (4) PTS 1229036314 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdAudio::ChannelChange(): new audio stream 3 start at frame (4) Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::GetFrameInfo(): non interlaced video format Tue Dec 21 12:36:44 [14699] DEBUG: cDecoder::GetFrameInfo(): aspect ratio changed from (0:0) to (16:9) at frame 6 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Process(): aspect ratio changed from 0:0 to 16:9, reload logo Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): try to find logo Das_Erste_HD-A16_9 plane 0 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): file found for logo Das_Erste_HD-A16_9 plane 0 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): logo plane 0 has 716 pixel Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): logo pixel ratio of plane 0 is: 43 per mille Tue Dec 21 12:36:44 [14699] INFO: logo for Das_Erste_HD 16:9 found in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): try to find logo Das_Erste_HD-A16_9 plane 1 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): file not found for logo Das_Erste_HD-A16_9 plane 1 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): try to find logo Das_Erste_HD-A16_9 plane 2 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::Load(): file not found for logo Das_Erste_HD-A16_9 plane 2 in /var/lib/markad Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdLogo::ReduceBrightness(): logo area: xstart 1134 xend 1177, ystart 51 yend 114 Tue Dec 21 12:36:44 [14699] DEBUG: cMarkAdStandalone::AddMark(): previous recording mark (1) is stronger than actual black screen mark (0), distance 20ms, deleting (0) Tue Dec 21 12:36:45 [14699] INFO: detected logo start ( 978)* at 0:00:19.55 Tue Dec 21 12:36:45 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:45 [14699] DEBUG: detected start of black screen ( 1142) at 0:00:22.97 inBroadCast: 1 Tue Dec 21 12:36:45 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:45 [14699] DEBUG: detected end of black screen ( 1168)* at 0:00:23.36 inBroadCast: 1 Tue Dec 21 12:36:45 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:46 [14699] DEBUG: detected start of black screen ( 3146) at 0:01:03.06 inBroadCast: 1 Tue Dec 21 12:36:46 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:46 [14699] DEBUG: detected end of black screen ( 3178)* at 0:01:03.70 inBroadCast: 1 Tue Dec 21 12:36:46 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:46 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (4186), difference 40ms should be 20ms, decoding errors 1 Tue Dec 21 12:36:46 [14699] DEBUG: detected start of black screen ( 4281) at 0:01:25.63 inBroadCast: 1 Tue Dec 21 12:36:46 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:46 [14699] DEBUG: detected end of black screen ( 4313)* at 0:01:26.41 inBroadCast: 1 Tue Dec 21 12:36:46 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:47 [14699] DEBUG: cMarkAdLogo::Detect(): black screen without logo detected at frame (5022) Tue Dec 21 12:36:47 [14699] INFO: detected logo stop ( 4998) at 0:01:40.12 Tue Dec 21 12:36:47 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 0 Tue Dec 21 12:36:47 [14699] INFO: detected logo start ( 5196)* at 0:01:44.08 Tue Dec 21 12:36:47 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 1 Tue Dec 21 12:36:52 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (14746), difference 40ms should be 20ms, decoding errors 2 Tue Dec 21 12:36:52 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:36:52 [14699] DEBUG: AVlog(): left block unavailable for requested intra4x4 mode -1 Tue Dec 21 12:36:52 [14699] DEBUG: AVlog(): error while decoding MB 0 43, bytestream 6497 Tue Dec 21 12:36:58 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (24653), difference 40ms should be 20ms, decoding errors 3 Tue Dec 21 12:36:58 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:37:06 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (39144), difference 960ms should be 20ms, decoding errors 4 Tue Dec 21 12:37:06 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStart(): checking start at frame (42007) check start planed at (42000) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStart(): assumed start frame 18000 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 978 type 0x31 at 0:00:19.55 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1142 type 0x22 at 0:00:22.97 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1168 type 0x21 at 0:00:23.36 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 3146 type 0x22 at 0:01:03.06 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 3178 type 0x21 at 0:01:03.70 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 4281 type 0x22 at 0:01:25.63 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 4313 type 0x21 at 0:01:26.41 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 4998 type 0x32 at 0:01:40.12 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 5196 type 0x31 at 0:01:44.08 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStart(): found MT_RECORDINGSTART (1), use this as start mark for the incomplete recording Tue Dec 21 12:37:08 [14699] INFO: AC3 audio with 2 channels on stream 3 Tue Dec 21 12:37:08 [14699] INFO: Video with aspect ratio of 16:9 detected Tue Dec 21 12:37:08 [14699] INFO: using recording start mark on position (1) at 0:00:00.00 as first start mark Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStart(): delete all black screen marks except start mark Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStartMark(): check for short start/stop pairs at start Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): startframe 1 (0min 0s) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): use frame rate 50 Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): length of recording: 222s ( 3min 42s) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): assumed start frame: 1 ( 0min 0s) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): assumed stop frame: 11101 ( 3min 42s) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): chkSTART set to: 24001 ( 8min 0s) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CalculateCheckPositions(): chkSTOP set to: 41101 ( 13min 42s) Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::ProcessFrame(): enter end part at frame (42039) Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): start check stop (42039) Tue Dec 21 12:37:08 [14699] DEBUG: assumed stop position (11101) at 0:03:42.33 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::RemoveLogoChangeMarks(): start detect and remove logo stop/start mark pairs with special logo Tue Dec 21 12:37:08 [14699] DEBUG: cEvaluateLogoStopStartPair::cEvaluateLogoStopStartPair(): start with iStart 0, chkSTART 24001, iStopA 11101 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::cDecoder(): create new decoder instance Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::cDecoder(): init with 4 threads Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::~cDecoder(): decoder instance deleted Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::RemoveLogoChangeMarks(): marks after detect and remove logo stop/start mark pairs with special logo Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::RemoveLogoChangeMarks(): end detect and remove logo stop/start mark pairs with special logo Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): start end end mark selection Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no MT_CHANNELSTOP mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no MT_ASPECTSTOP mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no MT_HBORDERSTOP mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no MT_VBORDERSTOP mark found Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): check logo end mark (cleanup very short logo start/stop pairs around possible logo end marks) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no more logo stop mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no MT_LOGOSTOP mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no end mark found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): no stop mark found, add stop mark at the last frame (42039) Tue Dec 21 12:37:08 [14699] INFO: assuming stop ( 42039) at 0:14:01.91 Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::AddMark(): inBroadCast now: 0 Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): delete all marks after final stop mark at (42039) Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): move all black screen marks except start and end mark to black screen list Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStop(): end check stop Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00002.ts Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): remove invalid marks Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): delete logo marks if we have channel or border marks Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): delete invalid black sceen marks Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): delete very short logo stop/start pairs Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): detect previews in advertisement Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): check border marks Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStartMark(): check for short start/stop pairs at start Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckStartMark(): first broadcast length 840s from (1) to (42039) (expect <=8s) Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): check for near better end mark in case of recording length is too big Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): last broadcast length 840s from (1) to (42039) Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): remove logo and hborder detection failure marks Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): apply VPS events Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarks::LoadVPS(): /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/markad.vps not found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): no VPS start event found Tue Dec 21 12:37:08 [14699] DEBUG: cMarks::LoadVPS(): /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/markad.vps not found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): no VPS pause start event found Tue Dec 21 12:37:08 [14699] DEBUG: cMarks::LoadVPS(): /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/markad.vps not found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): no VPS pause stop event found Tue Dec 21 12:37:08 [14699] DEBUG: cMarks::LoadVPS(): /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/markad.vps not found Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): no VPS stop event found Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::CheckMarks(): final marks: Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::ProcessFiles(): end processing files Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::LogoMarkOptimization(): start logo mark optimization Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::LogoMarkOptimization(): check for advertising in frame with logo after logo start and before logo stop mark and check for introduction logo Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::LogoMarkOptimization(): search for audio silence around logo marks Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::LogoMarkOptimization(): start search for black screen near logo marks Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] DEBUG: ProcessOverlap(): start overlap detection Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::LogoMarkOptimization(): check last logo stop mark if closing credits follows Tue Dec 21 12:37:08 [14699] DEBUG: end Overlap Tue Dec 21 12:37:08 [14699] DEBUG: ======================================================================================================================= Tue Dec 21 12:37:08 [14699] INFO: start cut video based on marks Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::MarkadCut(): final marks are: Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::DebugMarks(): current marks: Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 1 type 0xD1 at 0:00:00.00 inBroadCast 1 Tue Dec 21 12:37:08 [14699] DEBUG: mark at position 42039 type 0x12 at 0:14:01.91 inBroadCast 0 Tue Dec 21 12:37:08 [14699] DEBUG: ************************************************************* Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::cEncoder(): init with 4 threads Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::MarkadCut(): start pass 0 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::SeekToFrame(): (32) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::SeekToFrame(): successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): cutName 'Tagesschau' Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): write to '/media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/Tagesschau.ts' Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): output format MPEG-TS (MPEG-2 Transport Stream) Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): best video: stream 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): best audio: stream 3 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): source stream 0 -----> target stream 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): using encoder id 27 'libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10' for output stream 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 avg framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 keyint_min 25 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input format stream 0 bit_rate 13154269 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 bit_rate 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 rc_max_rate 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 bit_rate_tolerance 4000000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 global_quality 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 sample_rate 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 gop_size 12 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 level 40 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video input codec stream 0 aspect ratio 1:1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): target video bit rate 12194269 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 pix_fmt 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 keyint_min 1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 max_b_frames 7 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 bit_rate 12194269 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 rc_max_rate 0 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 bit_rate_tolerance 4000000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 level 40 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 gop_size 32 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 level 40 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): video output stream 0 aspect ratio 1:1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): output stream 0 timebase 1/50 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): avcodec_open2 for stream 0 successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): source stream 1 -----> target stream 1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): using encoder id 86016 'MP2 (MPEG audio layer 2)' for output stream 1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): input codec sample rate 48000, timebase 1/48000 for stream 1 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): audio output codec parameter for stream 1: bit_rate 256000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): output stream 1 timebase 1/48000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): avcodec_open2 for stream 1 successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): source stream 2 -----> target stream 2 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): using encoder id 86016 'MP2 (MPEG audio layer 2)' for output stream 2 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): input codec sample rate 48000, timebase 1/48000 for stream 2 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): audio output codec parameter for stream 2: bit_rate 256000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): output stream 2 timebase 1/48000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): avcodec_open2 for stream 2 successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): source stream 3 -----> target stream 3 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): using encoder id 86019 'ATSC A/52A (AC-3)' for output stream 3 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): input codec sample rate 48000, timebase 1/48000 for stream 3 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): audio output codec parameter for stream 3: bit_rate 448000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): output stream 3 timebase 1/48000 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): avcodec_open2 for stream 3 successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::InitEncoderCodec(): AC3 input found at stream 3, initialize volume filter for output stream 3 Tue Dec 21 12:37:08 [14699] DEBUG: cAC3VolumeFilter::Init(): successful with channel layout stereo Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): stream 4 is no audio and no video, ignoring Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::OpenFile(): source stream 4 -----> target stream -1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): filename: /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): opened file /media/hd/plexmedia/markad_work/Tagesschau/2021-12-18.20.00.1-0.rec/00001.ts Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 0: codec id 27 -> H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): average framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): real framerate 50/1 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 1: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 2: codec id 86016 -> MP2 (MPEG audio layer 2) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 3: codec id 86019 -> ATSC A/52A (AC-3) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::DecodeFile(): using decoder for stream 4: codec id 94209 -> DVB subtitles Tue Dec 21 12:37:08 [14699] DEBUG: ----------------------------------------------------------------------------------------------------------------------- Tue Dec 21 12:37:08 [14699] DEBUG: cMarkAdStandalone::MarkadCut(): decoding from frame (32) for start mark (1) to frame (42039) in pass 0 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::SeekToFrame(): (32) Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::SeekToFrame(): successful Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::WritePacket(): start cut at frame ( 32) PTS 1229169514 Tue Dec 21 12:37:08 [14699] DEBUG: cEncoder::WritePacket(): new dts/pts offset 0 Tue Dec 21 12:37:08 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (4186), difference 40ms should be 20ms, decoding errors 4 Tue Dec 21 12:37:09 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (14746), difference 40ms should be 20ms, decoding errors 4 Tue Dec 21 12:37:09 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:37:09 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (24653), difference 40ms should be 20ms, decoding errors 4 Tue Dec 21 12:37:09 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:37:10 [14699] DEBUG: cDecoder::GetNextPacket(): DTS continuity error at frame (39144), difference 960ms should be 20ms, decoding errors 4 Tue Dec 21 12:37:10 [14699] DEBUG: AVlog(): Junk in packet Tue Dec 21 12:37:10 [14699] ERROR: segmentation fault Tue Dec 21 12:37:10 [14699] ERROR: [bt] Execution path: Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(+0xc6a4) [0x558cd8cf76a4] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /lib/x86_64-linux-gnu/libc.so.6(+0x461e0) [0x7fe41e1601e0] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/local/lib/libavutil.so.57(av_buffer_unref+0x17) [0x7fe41ed79377] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/local/lib/libavcodec.so.59(av_packet_unref+0x16) [0x7fe41f0d91d6] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/local/lib/libavcodec.so.59(avcodec_receive_packet+0x1a) [0x7fe41f1db54a] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(_ZN8cEncoder11EncodeFrameEP8cDecoderP14AVCodecContextP7AVFrameP8AVPacket+0x55) [0x558cd8d132e5] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(_ZN8cEncoder9CloseFileEP8cDecoder+0xca) [0x558cd8d1436a] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(_ZN17cMarkAdStandalone9MarkadCutEv+0x4e1) [0x558cd8cfff81] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(main+0x131b) [0x558cd8cf6deb] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fe41e141083] Tue Dec 21 12:37:10 [14699] ERROR: [bt] /usr/bin/markad(_start+0x2e) [0x558cd8cf70ee]