Giter Site home page Giter Site logo

Comments (3)

ShaneIsrael avatar ShaneIsrael commented on August 17, 2024

So this tends to happen if there is a non video file in the folder that ffmpeg tries to load or a corrupt video file.

2023-06-06 07:41:05.434001+00:00Message: 'Could not extract video info'

I would double check your mount point for videos and make sure there isn't any hidden non-video files. If there are, remove them and try a scan again and it should work. If there isn't, you may have a corrupt video file somewhere.

If you look closely at the stacktrace you'll see that the file ffmpeg is having an issue with is this one.

2023-06-06 07:41:05.434012+00:00Arguments: (CalledProcessError(1, ['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_entries', 'stream', '/processed/video_links/d76bbe5d3276a41d08fff725f5f7e66f.mp4']),)

/processed/video_links/d76bbe5d3276a41d08fff725f5f7e66f.mp4

Thats a symlink that fireshare creates that points to the actual file. Find the file that it is pointing to and inspect it to make sure that it is indeed a video file and isn't corrupt or maybe something else wrong with it.

To figure out where that symlink is pointing you can run this command against it.
stat d76bbe5d3276a41d08fff725f5f7e66f.mp4

from fireshare.

J-Stuff avatar J-Stuff commented on August 17, 2024

I think I figured out the problem.
My scan interval was set to every minute. Fireshare was scanning files that were in the process of being uploaded to the SMB share (over the Network). After setting my scan interval to 120 minutes, the malformed file error seems to have stopped

from fireshare.

ShaneIsrael avatar ShaneIsrael commented on August 17, 2024

@J-Stuff while that is a decent fix, you can still run into issues in the event you start uploading a file right before the scan starts.

If you really want to make sure this issue never happens again, I would upload files to a folder that is not watched by fireshare first and then move the files (either manually or with some script) so that fireshare doesn't attempt to scan a partially moved file.

from fireshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.