chaoyuaw / pytorch-coviar

Compressed Video Action Recognition
https://www.cs.utexas.edu/~cywu/projects/coviar/
GNU Lesser General Public License v2.1
499 stars 126 forks source link

Data_loader #5

Open manza-ari opened 6 years ago

manza-ari commented 6 years ago

Hi I am facing this error while doing installation steps in data_loader folder

error

Kindly please guide me.

How to Modify setup.py to use your FFmpeg path (${FFMPEG_INSTALL_PATH})?

chaoyuaw commented 6 years ago

Hi, thanks for the question. What I meant was modifying ./ffmpeg/include/ and -L./ffmpeg/lib/

For example, if you install ffmpeg in /home/users/cywu/my_ffmpeg, then you should modify them to be /home/users/cywu/my_ffmpeg/include/ and -L/home/users/cywu/my_ffmpeg/lib/

manza-ari commented 6 years ago

Thank you so much for your reply, I already tried this.

Do you understand my error?

Kindly, check the attach file for errors. log.txt

RyanCV commented 5 years ago

@chaoyuaw I followed your instruction as follows:

1. Download FFmpeg (git clone https://github.com/FFmpeg/FFmpeg.git).
2. Go to FFmpeg home, and git checkout 74c6a6d3735f79671b177a0e0c6f2db696c2a6d2.
3. make clean
4. ./configure --prefix=${my_ffmpeg} --enable-pic --disable-yasm --enable-shared
5. make
6. make install
7. If needed, add ${FFMPEG_INSTALL_PATH}/lib/ to $LD_LIBRARY_PATH.

After step1, I have downloaded the file in path /FFmpeg, and I create the folder at path /FFmpeg/my_ffmpeg, but after installation, there is no xx/lib folder in /FFmpeg or /FFmpeg/my_ffmpeg, why is it? Any thing wrong here?

RyanCV commented 5 years ago

It works now using ./configure --prefix=./my_ffmpeg --enable-pic --disable-yasm --enable-shared

Tylerjoe commented 5 years ago

@RyanCV but in the my_ffmpeg folder ,there isn't the include and lib,how should I modify them.Thanks

RyanCV commented 5 years ago

@Tylerjoe try this, my_ffmpeg is the new folder you need to create before run: ./configure --prefix=./my_ffmpeg --enable-pic --disable-yasm --enable-shared

Tylerjoe commented 5 years ago

@RyanCV Thanks for your reply, I have create my_ffmpeg, but I don't know why there is nothing in the folder. But I have solved this problem by set with the default path

salt-fly commented 5 years ago

@RyanCV but in the my_ffmpeg folder ,there isn't the include and lib,how should I modify them.Thanks

hi! i also encounter this problem, can't find lib and include , how do you solve it ? should i reinstall?

AkonLau commented 4 years ago

@manza-ari Hi, I meet the same questions with yours. Have you solved it? What should I do? Thanks!

fengfan028 commented 4 years ago

@manza-ari Hi, I meet the same questions with yours. Have you solved it? What should I do? Thanks!

hi have you solved it?