Giter Site home page Giter Site logo

Comments (7)

nakano-texnos avatar nakano-texnos commented on August 25, 2024 1

Hi, @stefanopini
Thank you for your reply.

  • OS: Windows10 Pro
  • ffmpeg: 1.4
  • ffmpeg-python: 0.2.0
  • opencv-python: 4.5.3.56
  • vidgear: 0.2.2
  • does the script work using the option --disable_vidgear?: NO, same FileNotFoundError
  • does the script work replacing line 35 with rotation_code = None?: It Works correctly!

The script worked correctly by replacing line 35 with rotation_code = None.
Thank you for your help!

from simple-hrnet.

connernam avatar connernam commented on August 25, 2024 1

I had the same issue before.
I solved it in this way.
If you're working in an anaconda environment,

conda install -c conda-forge ffmpeg-python

I hope you try reinstalling it through.

ffmpeg = 4.3.1
ffmpeg-python = 0.2.0
python = 3.7
It was conducted in a window 10 pro environment.

from simple-hrnet.

stefanopini avatar stefanopini commented on August 25, 2024

Hi, it looks like the file test1.mp4 or a python library is not found.
Have you double checked that the name and location of the file test1.mp4?
Does the script work using a webcam as input source?

from simple-hrnet.

nakano-texnos avatar nakano-texnos commented on August 25, 2024

Hello.
I have same problem.

When I run python scripts/live-demo.py --filename input.mp4 ,
occurred same problem.
FileNotFoundError: [WinError 2] The system cannot find the specified file

The name and location of the file is correct.

When the script work using a webcam as input source, it worked correctly.

I couldn't solve this problem.

from simple-hrnet.

alimsvn avatar alimsvn commented on August 25, 2024

Hi;
I have the same problem too.
FileNotFoundError: [WinError 2] The system cannot find the file specified

from simple-hrnet.

stefanopini avatar stefanopini commented on August 25, 2024

Hi @nakano-texnos (sorry for the late reply) and @alimsvn ,
I tried again and I'm still not able to reproduce the issue on my machines, but I have some suspects (i.e. vidgear and ffmpeg).

Could you please provide the following information?

  • OS (windows / macos / linux distribution)
  • ffmpeg version
  • opencv and vidgear version
  • does the script work using the option --disable_vidgear?
  • does the script work replacing line 35 with rotation_code = None?
    rotation_code = check_video_rotation(filename)

from simple-hrnet.

stefanopini avatar stefanopini commented on August 25, 2024

Thank you all for reporting the issue and the solutions that worked for you!
I will close the issue given it is likely related to the installation of ffmpeg/ffprobe.

For anyone arriving here, working solutions are:

  • verifying/reinstalling ffmpeg and ffmpeg-python
  • removing the usage of ffmpeg/ffprobe replacing line 35 with rotation_code = None in
    rotation_code = check_video_rotation(filename)

from simple-hrnet.

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.