0
'Error during processing: No faces detected in any frame of the video'
i was having this error on windows, it turned out to be video path construction problem within python script and ffmpeg according to chatgpt, and i did solve it according to its instruction
what i had to do was to go to file PINOKIO\api\LatentSync-Pinokio\app\latentsync\utils\util.py and replace:
command = (
f"ffmpeg -loglevel error -y -nostdin -i {shlex.quote(video_path)} -r 25 -crf 18 {shlex.quote(os.path.join(temp_dir, 'video.mp4'))}"
)
subprocess.run(command, shell=True)
with
subprocess.run(
[
"ffmpeg",
"-loglevel", "error",
"-y",
"-nostdin",
"-i", video_path,
"-r", "25",
"-crf", "18",
os.path.join(temp_dir, "video.mp4"),
],
check=True,
)
EDIT: Well even tho this fixed issue with at least starting video processing, after it finishes it still gets similar error saying:
[in#0 @ 0000017828E97E80] Error opening input: No such file or directory
Error opening input file 'temp\video.mp4'.
Error opening input files: No such file or directory
Processing completed successfully.
But i probably give up on this tool either way since it seems very slow on my 5070
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
