pytorch-coviar icon indicating copy to clipboard operation
pytorch-coviar copied to clipboard

Data_loader

Open manza-ari opened this issue 7 years ago • 10 comments

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})?

manza-ari avatar Jul 18 '18 10:07 manza-ari

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/

chaoyuaw avatar Jul 19 '18 04:07 chaoyuaw

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

manza-ari avatar Jul 19 '18 04:07 manza-ari

@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 avatar Aug 01 '18 19:08 RyanCV

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

RyanCV avatar Aug 01 '18 19:08 RyanCV

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

Tylerjoe avatar Aug 05 '18 15:08 Tylerjoe

@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

RyanCV avatar Aug 13 '18 13:08 RyanCV

@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

Tylerjoe avatar Aug 13 '18 14:08 Tylerjoe

@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?

salt-fly avatar Dec 14 '18 08:12 salt-fly

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

AkonLau avatar Jun 16 '20 10:06 AkonLau

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

hi have you solved it?

fengfan028 avatar Jul 04 '20 14:07 fengfan028