Closed Tnecniv-Teikram closed 1 year ago
Apologies about this - I'm going to add a fix for this (and other issues) by falling back to Exiftool if the built-in FFF parser doesn't work. For now, could you try an older version of flirpy?
Thanks for the quick response. Will try that.
@Tnecniv-Teikram can you try pulling the latest master
and running split seqs again? This time, please provide the --width
and --height
parameters.
Actually also try without those parameters. I think your version of flirpy is quite old compared to what's on here - that error message isn't in the current codebase.
Closing this as I believe this is now fixed in main
; see the other thread. Please feel free to re-open if the problem's still there.
Hi,
I got a folder with 4 .seq files that I'm trying to split using the split_seqs command.
The process starts with the first image but then stops at 3% and throws the following errors: Anyone has a clue how to fix this?
File "split_seqs", line 106, in
folders = splitter.process(files)
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/flirpy-0.2.3-py3.8.egg/flirpy/io/seq.py", line 131, in process
self._process_seq(seq, folder)
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/flirpy-0.2.3-py3.8.egg/flirpy/io/seq.py", line 184, in _process_seq
for frame in tqdm(Seq(input_file)):
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/tqdm/std.py", line 1185, in iter
for obj in iterable:
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/flirpy-0.2.3-py3.8.egg/flirpy/io/seq.py", line 76, in getitem
return Fff(chunk)
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/flirpy-0.2.3-py3.8.egg/flirpy/io/fff.py", line 28, in init
self._find_data_offset()
File "/home/vincentmarkiet/miniconda3/envs/fortum-heat-detection/lib/python3.8/site-packages/flirpy-0.2.3-py3.8.egg/flirpy/io/fff.py", line 126, in _find_data_offset
raise IOError("Unknown FFF record subtype")
OSError: Unknown FFF record subtype