Code Monkey home page Code Monkey logo

Comments (3)

bhargav-sudo avatar bhargav-sudo commented on September 15, 2024

Hi @ndujar I had successfully built docker container.
can you share the steps to run a container .?
Iam using this command to run

docker run -it --privileged --net=host

-v ~/.Xauthority:/root/.Xauthority
-v /tmp/.X11-unix:/tmp/.X11-unix
-e DISPLAY=$DISPLAY
-e HTTP_PROXY=$HTTP_PROXY
-e HTTPS_PROXY=$HTTPS_PROXY
-e http_proxy=$http_proxy
-e https_proxy=$https_proxy

-v ~/ffva/data/models/intel:/root/intel_models:ro
-v ~/ffva/data/models/common:/root/common_models:ro
-e MODELS_PATH=/root/intel_models:/root/common_models

-v ~/ffva/data/video:/root/video-examples:ro
-e VIDEO_EXAMPLES_DIR=/root/video-examples

ffmpeg-video-analytics-

But there are only these 3 folders

common_models
intel_models
video-examples

As I see your issue you said there are some changes.
If you share from running a container to run a sample
It would help me more..
Because Iam trying this from the past few weeks.
Help needed.
Thanks

from ffmpeg-patch.

ndujar avatar ndujar commented on September 15, 2024

Hi @bhargav-sudo:
As I recall, I followed the Option 2 in the Getting Started Guide
As I see in your command, you might be missing some important shared volumes. Have you tried to run the docker image with the same command as mine?
docker run -it --privileged --net=host -v ~/.Xauthority:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix:rw -e DISPLAY=unix$DISPLAY -e HTTP_PROXY=$HTTP_PROXY -e HTTPS_PROXY=$HTTPS_PROXY -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v /dev/video2:/dev/video2 -v ~/ffva/FFmpeg-patch:/FFmpeg-patch -v ~/ffva/data/models/intel:/root/intel_models:ro -v ~/ffva/data/models/common:/root/common_models:ro -e MODELS_PATH=/root/common_models -v ~/ffva/data/video:/root/video-examples:rw -e VIDEO_EXAMPLES_DIR=/root/video-examples ffmpeg-video-analytics-package:latest

As you can see, then I added the following (missing in your command):
-v /dev/video2:/dev/video2
-v ~/ffva/FFmpeg-patch:/FFmpeg-patch

Hope this helps :)

from ffmpeg-patch.

bhargav-sudo avatar bhargav-sudo commented on September 15, 2024

Hi @ndujar
But I tried option 1 in guide.
will try that and let you know.

Thanks.

from ffmpeg-patch.

Related Issues (7)

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.