kfb77 / vdr-plugin-markad

Continuation of the development from https://projects.vdr-developer.org/git/vdr-plugin-markad.git
GNU General Public License v2.0
9 stars 4 forks source link

segmentation fault #6

Closed Jen200 closed 3 years ago

Jen200 commented 3 years ago

I have found a crash in markad.

The output of markad nice -R --loglevel=4 <dirname> is markad.log

vlc is able to play this video file.

kfb77 commented 3 years ago

I can reproduce this crash with a random recording after deleteting the VDR info file. There is something wrong with this recording, but this should not result in a crash.

Some questions: Thu Sep 2 22:33:52 [628028] ERROR: failed loading info - logo detection and pre-/post-timer disabled Were is the VDR info file from this recording ? Without this you will never get valid marks.

Thu Sep 2 22:33:52 [628028] DEBUG: cDecoder::GetNextPacket(): last frame of filenumber 1 is (5616), end time 224640ms ( 3:44min) Why is the first ts file only 3:44min ? Was this recording interupted ?

kfb77 commented 3 years ago

Crash fixed in this commit. Please test with branch V03. But as mentioned, marks will not be valid without VDR info file. You have to find the reason and fix it.

Jen200 commented 3 years ago

Thu Sep 2 22:33:52 [628028] ERROR: failed loading info - logo detection and pre-/post-timer disabled Were is the VDR info file from this recording ? Without this you will never get valid marks.

The recording is broken, info file is missing, but ts files looks good. Thanks for the information about the info file. Does it mean that markad does not work well for old recordings? Does values like 'blackscreenRange' change over time?

Why is the first ts file only 3:44min ? Was this recording interrupted ?

Yes, but only for 1 or 2 seconds.

Please test with branch V03.

Tested, work well. Thanks!

kfb77 commented 3 years ago

Does it mean that markad does not work well for old recordings?

How old is "old" ? The recording should be TS files (not the old .vdr files) and I need a info file.

Does values like 'blackscreenRange' change over time?

Sometimes, If I found a recording that shows me a false positive.

Tested, work well. Thanks!

I close this issue, more infos if needed in the forum.