LukasBommes / mv-extractor

Extract frames and motion vectors from H.264 and MPEG-4 encoded video.
MIT License
279 stars 56 forks source link

git clone v1.0.6 but build image for ubuntu 20.04 #34

Open HuanyuZang opened 1 year ago

HuanyuZang commented 1 year ago

Hi @LukasBommes @sfmt-auto

Thanks for you repo, this is very impressive. I'm using another repo https://github.com/LukasBommes/rtsp-streamsync/tree/master which is rely on this repo and that helps me to get synchronized frames from ip camera stream.

I'm trying to build a docker image which is based on ubuntu 20.04. So, I changed the Dockerfile of rtsp-streamsync repo

RUN cd $HOME && \
  git clone -b v0.0.0 https://github.com/LukasBommes/mv-extractor.git video_cap && \
  cd video_cap && \
  chmod +x install.sh && \
  ./install.sh

to

RUN cd $HOME && \
    git clone -b master https://github.com/LukasBommes/mv-extractor.git video_cap && \
    cd video_cap && \
    chmod +x install_ffmpeg.sh && \
    chmod +x install_opencv.sh && \
    ./install_ffmpeg.sh && \
    ./install_opencv.sh

cuz I wanna try if the docker image based on ubuntu 22.04 can be directly used on 20.04

but i got this error: image (2)

I'm wondering does this repo provide docker image based on ubuntu 20.04 or do you have any suggestions on why is this error?

Any comments will be helpful!

Thank you!