CodeFormer
CodeFormer copied to clipboard
What is the reason for this error (video)
What is the reason for this error:
python inference_codeformer.py --bg_upsampler realesrgan --face_upsample -w 1.0 --input_path .\30.mp4 Traceback (most recent call last): File "H:\AI\CodeFormer\inference_codeformer.py", line 93, in
vidreader = VideoReader(args.input_path) File "H:\AI\CodeFormer\basicsr\utils\video_util.py", line 35, in init ffmpeg.input(video_path).output('pipe:', format='rawvideo', pix_fmt='bgr24', AttributeError: module 'ffmpeg' has no attribute 'input'
I have the exact same problem as you, have you solved it yet?
not yet
pip install ffmpeg-python
python inference_codeformer.py --bg_upsampler realesrgan --face_upsample -w 1.0 --input_path .\30.mp4 Traceback (most recent call last): File "H:\AI\CodeFormer\inference_codeformer.py", line 93, in vidreader = VideoReader(args.input_path) File "H:\AI\CodeFormer\basicsr\utils\video_util.py", line 35, in init ffmpeg.input(video_path).output('pipe:', format='rawvideo', pix_fmt='bgr24', AttributeError: module 'ffmpeg' has no attribute 'input'
pip install ffmpeg-python
IT DOESN'T WORK..
Any solution for this issue? Thanks!