kenshohara / 3D-ResNets-PyTorch

3D ResNets for Action Recognition (CVPR 2018)
MIT License
3.9k stars 932 forks source link

RUN```util_scripts/generate_video_jpgs.py```,but get nothing. #199

Open huamgmin opened 4 years ago

huamgmin commented 4 years ago

I obey the code in README.md to run util_scripts/generate_video_jpgs.py, but the new floder I created to put jpgs has nothing. whether the path of floder l created is wrong. Can someone know that help me ?

guilhermesurek commented 4 years ago

@huamgmin can you give more information? code line that you are running, which type of dataset, which video converter (i.e. ffmpeg).

KongHangd commented 4 years ago

微信图片_20200914205317

KongHangd commented 4 years ago

Has this problem been solved,please?I had the same problem.

huamgmin commented 4 years ago

@KongHangd emmm, I'm sorry about that l can't help you. l haven't solved this problem.

TonyLi-Shu commented 3 years ago

@huamgmin You can try this

p = subprocess.run(ffprobe_cmd, capture_output = True)

origional code

p = subprocess.run(ffprobe_cmd,stdout= subprocess.PIPE,shell=True) Mine is working right now. Plus my python version is 3.7

One more thing do you download and install the ffmpeg? you need to install ffmpeg and add it to variable path so that you can really capture the images