Code Monkey home page Code Monkey logo

Comments (14)

yjxiong avatar yjxiong commented on July 16, 2024 2

If the video path is surely correct, one remaining issue might be the OpenCV is compiled without VideoIO support. Please cd into the build folder of OpenCV 3rd-party/opencv-2.4.12/build/ and run the command cmake ..

In the output lines, please try to find the section about VideoIO. On my workstation, it shows something like

--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  YES (ver 2.2.1)
--     FFMPEG:                      YES
--       codec:                     YES (ver 54.35.0)
--       format:                    YES (ver 54.20.4)
--       util:                      YES (ver 52.3.0)
--       swscale:                   YES (ver 2.1.1)
--       resample:                  NO
--       gentoo-style:              YES

from temporal-segment-networks.

GBJim avatar GBJim commented on July 16, 2024

Thank you for the quick response @yjxiong!

Just like you said, my openCV didn't support the Video I/O.
The problem is solved after I ran apt-get install libopencv-dev and thecmake .. command to re-install openCV

from temporal-segment-networks.

124399839 avatar 124399839 commented on July 16, 2024

@yjxiong ,The openCV came from the TSN installation package, it should be okay.
excute scripts/extract_optical_flow.sh ,the log as follows:

2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
305 v_WritingOnBoard_g20_c05 done

Any suggestion to solve this problem?

from temporal-segment-networks.

Ivy-blooming avatar Ivy-blooming commented on July 16, 2024

@yjxiong ,The openCV came from the TSN installation package, it should be okay.
excute scripts/extract_optical_flow.sh ,the log as follows:

2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
305 v_WritingOnBoard_g20_c05 done

Any suggestion to solve this problem?

I meet the same problem as you,could you solve this problem and share with me how to solve it?

from temporal-segment-networks.

liuglen avatar liuglen commented on July 16, 2024

@Ivy-blooming Have you solved the problem?

from temporal-segment-networks.

niveditarahurkar avatar niveditarahurkar commented on July 16, 2024

@yjxiong @GBJim I am seeing the same issue. So I did install apt-get install libopencv-dev and did cmake .. But still see the same.
make -j32 fixed it

from temporal-segment-networks.

niveditarahurkar avatar niveditarahurkar commented on July 16, 2024

I am trying to run -
scripts/extract_optical_flow.sh /home/nirahurk/temporal-segment-networks/src_folder/ /home/nirahurk/temporal-segment-networks/out_folder/ 1
I have taken just 5 sample videos from UCF101 in my src_folder:
v_SkateBoarding_g25_c01 v_SkateBoarding_g25_c02 v_SkateBoarding_g25_c03 v_SkateBoarding_g25_c04 v_SkateBoarding_g25_c05
I get the output:
4 v_SkateBoarding_g25_c01 done
3 v_SkateBoarding_g25_c03 done and so on..
But my out_folder --> out_folder/v_SkateBoarding_g25_c01# is empty.

My parameters look right:
('flow_type: ', 'tvl1') ('reading videos from folder: ', '/home/nirahurk/temporal-segment-networks/src_folder') ('selected extension of videos:', 'avi') ('total number of videos found: ', 5)

from temporal-segment-networks.

nanhui69 avatar nanhui69 commented on July 16, 2024

@124399839 @Ivy-blooming Have you solved that problems ? if you have done it ,how did you do it?

from temporal-segment-networks.

Ivy-blooming avatar Ivy-blooming commented on July 16, 2024

from temporal-segment-networks.

Light-- avatar Light-- commented on July 16, 2024

i still got this problem, but my video io seems ok?

--   Video I/O:
--     DC1394:                      YES (ver 2.2.4)
--     FFMPEG:                      YES
--       avcodec:                   YES (ver 58.54.100)
--       avformat:                  YES (ver 58.29.100)
--       avutil:                    YES (ver 56.31.100)
--       swscale:                   YES (ver 5.5.100)
--       avresample:                YES (ver 2.1.0)
--     GStreamer:                   
--       base:                      YES (ver 1.8.3)
--       video:                     YES (ver 1.8.3)
--       app:                       YES (ver 1.8.3)
--       riff:                      YES (ver 1.8.3)
--       pbutils:                   YES (ver 1.8.3)
--     libv4l/libv4l2:              NO
--     v4l/v4l2:                    NO
--     gPhoto2:                     YES

from temporal-segment-networks.

blowing-wind avatar blowing-wind commented on July 16, 2024

我遇到了同样的问题,最后发现是磁盘空间满了。

from temporal-segment-networks.

TitaniumOne avatar TitaniumOne commented on July 16, 2024

@Light-- @niveditarahurkar @Ivy-blooming Hello, I met the same problem, have you solved it? Thank you!

from temporal-segment-networks.

TitaniumOne avatar TitaniumOne commented on July 16, 2024

I installed Dockers to solve this problem

------------------ 原始邮件 ------------------ 发件人: "nanhui69"<[email protected]>; 发送时间: 2019年9月9日(星期一) 下午2:41 收件人: "yjxiong/temporal-segment-networks"<[email protected]>; 抄送: "✨🍓"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [yjxiong/temporal-segment-networks] FATAL occured while opening videos in scripts/extract_optical_flow.sh (#10) @124399839 @Ivy-blooming Have you solved that problems ? if you have done it ,how did you do it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

I use the docker too, but it does not work.

from temporal-segment-networks.

smj0411 avatar smj0411 commented on July 16, 2024

@yjxiong ,The openCV came from the TSN installation package, it should be okay. excute scripts/extract_optical_flow.sh ,the log as follows:

2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal 2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583] 2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal 2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583] 305 v_WritingOnBoard_g20_c05 done

Any suggestion to solve this problem?

I meet the same problem as you,could you solve this problem and share with me how to solve it?

from temporal-segment-networks.

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.