Hi again!
Thanks a lot for your effort in this matter.
Still I don't think we are in the same page so let me develop the idea a little further
I need to detect black frames, on MXF HD422 files on the beginning and end.
The files I work with come with 1, 2 or maybe more black frames in the beginning and no black frames, or 1, 2 or more at the end.
What I need to know is exactly how many, to limit them to exactly 2 black frames, at beginning and end.
Adding or removing those blacks is the easy part using FFastTrans.
I understood your first workflow, and changed it to gather the same info that I get from FFMPEG, setting the d=0.04 to get a single frame accuracy.
When I process MXFs in FFMPEG via the command line I do get those values, even with sseof function. But the same file on your workflow retrieves an error. And, yes, they have a few black frames at the beginning and end.
I'm sorry if the file I sent you might have led us apart even further. I just got it from a Bars folder with several formats, because the actual MXFs that I have are from clients and didn't want to send those. But I'll setup a proper MXF with black on beginning and end, that I can get the values in FFMPEg via command line, but that does not work with your inicial workflow to see if we get on the same page
Thanks again!