Ffmpeg python conda install6/13/2023 So I'm guessing that conda installed the dependencies wrong or python was importing the incorrect ffmpeg. I looked at #270 and saw that an attempted solution was to uninstall ffmpeg and ffmpeg-python, then reinstall ffmpeg-python. > 249 self._purge_images(bwframes_folder)Ģ50 ffmpeg-python.input(str(source_path)).output(Ģ51 str(bwframe_path_template), format='image2', vcodec='mjpeg', qscale=0ĪttributeError: module 'ffmpeg' has no attribute 'input' ~/DeOldify/deoldify/visualize.py in _extract_raw_frames(self, source_path)Ģ47 bwframe_path_template = str(bwframes_folder / '%5d.jpg')Ģ48 bwframes_folder.mkdir(parents=True, exist_ok=True) ~/DeOldify/deoldify/visualize.py in _colorize_from_path(self, source_path, render_factor, watermarked, post_process)ģ50 'Video at path specfied, ' + str(source_path) + ' could not be found.'ģ52 self._extract_raw_frames(source_path) ~/DeOldify/deoldify/visualize.py in colorize_from_file_name(self, file_name, render_factor, watermarked, post_process)ģ40 source_path = self.source_folder / file_nameģ42 source_path, render_factor=render_factor, post_process=post_process,watermarked=watermarked Install ffmpeg and pydub under anaconda Install jupyter notebook in anaconda under window to use ffmpeg Anaconda Install PyTorch under Anaconda Install. > 14 result_path = lorize_from_file_name(file_name_ext, render_factor=render_factor) ![]() Stacktrace -ĪttributeError Traceback (most recent call last)ġ2 result_path = lorize_from_url(source_url, file_name_ext, render_factor=render_factor) I ran everything in order just fine but this last step didn't seem to take. ![]() I'm getting this error when running VideoColorizer.ipynb locally.
0 Comments
Leave a Reply. |