CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

What is the reason for this error (video)

Open g558800 opened this issue 2 years ago • 5 comments

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'

g558800 avatar Mar 18 '23 18:03 g558800

I have the exact same problem as you, have you solved it yet?

codeyy2023 avatar Apr 29 '23 23:04 codeyy2023

not yet

g558800 avatar Apr 30 '23 00:04 g558800

pip install ffmpeg-python

eloncarmo avatar May 10 '23 21:05 eloncarmo

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..

YABIJIU avatar Oct 14 '23 12:10 YABIJIU

Any solution for this issue? Thanks!

miguelquinones12 avatar Aug 10 '24 21:08 miguelquinones12