YuvalNirkin / fsgan

FSGAN - Official PyTorch Implementation
https://nirkin.com/fsgan
Creative Commons Zero v1.0 Universal
749 stars 147 forks source link

ffmpeg._run.Error: ffprobe error (see stderr output for detail) #165

Open zhouzk5 opened 1 year ago

zhouzk5 commented 1 year ago

Screenshot from 2022-11-20 20-31-49

Based on #70

I add --encoder_codec mp4v onto the end of the command.

But the problem remains unsolved.

this is my commend: python fsgan/inference/swap.py docs/examples/shinzo_abe.mp4 -t docs/examples/conan_obrien.mp4 -o . --finetune --finetune_save --seg_remove_mouth --encoder_codec mp4v

I read many issues, but I really don't know how to solve this problem.Could you help me?

YuvalNirkin commented 1 year ago

Does the file shinzo_abe_seq00.mp4 exists in a directory in the same folder as the original video?

zhouzk5 commented 1 year ago

Does the file shinzo_abe_seq00.mp4 exists in a directory in the same folder as the original video?

Yes,as shown in the figure. @YuvalNirkin Screenshot from 2022-11-21 08-55-26

AWGiaGia commented 1 year ago

@zhouzikang Hi! Have you fixed this error ?QAQ

akankshasingh25 commented 1 year ago

@zhouzikang Hi, did you find a solution to this error? There are many issues raised, but none of them seem to work.

YuvalNirkin commented 1 year ago

Try to run ffprobe directly with the path to the videos and see if that works.