Pinokio
FeedApps
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation

'Error during processing: No faces detected in any frame of the video'

@xmilosobil
3mo ago

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

AboutLatentSyncmanat0912/LatentSync-PinokioView app
#bug
4

Replies

4
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).

Post context

App used

LatentSyncmanat0912/LatentSync-Pinokio

High quality LipSync Application with a simple UI

View app

Published by

@xmilosobil3mo ago
#bug
Pinokio
PrivacyTerms
FeedApps

Post context

App used

LatentSyncmanat0912/LatentSync-Pinokio

High quality LipSync Application with a simple UI

View app

Published by

@xmilosobil3mo ago
#bug

Related posts

[Fixed] Maestro AMD Error: MiniMax H3 renders a flat-grey video on my AMD card— and the fix was one dropdown@yoyokits · 23d agoOverworld: RuntimeError: PassManager::run failed@mesutmamuk · 1mo agoOverworld: RuntimeError: PassManager::run failed@mesutmamuk · 1mo ago