nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
198 stars 14 forks source link

PNG/BMP/JPG frame export: FFmpegfs closes cache file too early #60

Closed nschlia closed 4 years ago

nschlia commented 4 years ago

FFmpegfs sometimes closes the cache file too early, subsequent access to frame images fails. Happens often when the frame set is opened with dolphin or similar, but also when cp'ing files.

Running:

$ ffmpegfs ./src/ffmpegfs -f /home/dev/test/in /home/dev/test/out --log_stderr --log_maxlevel=DEBUG -o allow_other,cachepath=/home/dev/test/cache,desttype=png

See fail.log

nschlia commented 4 years ago

Reason was rather that after closing the cache (correctly) when finished transcoding, it was not opened up again.