harvitronix / five-video-classification-methods

Code that accompanies my blog post outlining five video classification methods in Keras and TensorFlow
https://medium.com/@harvitronix/five-video-classification-methods-implemented-in-keras-and-tensorflow-99cad29cc0b5
MIT License
1.18k stars 478 forks source link

ffmpeg error #57

Closed ramanandh25 closed 6 years ago

ramanandh25 commented 6 years ago

hi i am getting the following error when running the extract_ file .py

Traceback (most recent call last): File "2_extract_files.py", line 98, in main() File "2_extract_files.py", line 95, in main extract_files() File "2_extract_files.py", line 49, in extract_files call(['ffmpeg', "-i", src, dest]) File "/usr/lib/python3.5/subprocess.py", line 557, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.5/subprocess.py", line 947, in init restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

reynierhdez commented 6 years ago

You should install FFmpeg. If you are working on ubuntu, try to install it using apt, following these instructions: How to install FFmpeg on Ubuntu 14.04

harvitronix commented 6 years ago

And if you have ffmpeg installed, make sure it's available in your path. Or you can change line 49 in 2_extract_files.py to use the absolute path to ffmpeg.

ramanandh25 commented 6 years ago

thanks i have solved the problem

On 8 January 2018 at 00:14, Matt Harvey notifications@github.com wrote:

And if you have ffmpeg installed, make sure it's available in your path. Or you can change line 49 in 2_extract_files.py to use the absolute path to ffmpeg.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvitronix/five-video-classification-methods/issues/57#issuecomment-355843025, or mute the thread https://github.com/notifications/unsubscribe-auth/ANEJgb9zF5cOqNyFtvfTu5SKs_7u6xOyks5tIRB_gaJpZM4RQi8J .