Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

ffmpeg error #54

Open
a11e opened this issue Jun 25, 2023 · 0 comments
Open

ffmpeg error #54

a11e opened this issue Jun 25, 2023 · 0 comments

Comments

@a11e
Copy link

a11e commented Jun 25, 2023

after I launch the program in the browser and choose a video an a picture, it does some processing and gives me the error below:

Extracting frames:  99%|██████████████████████████████████████▍| 273/277 [00:00<00:00, 334.97it/s]
Processing frames: 100%|████████████████████████████████████████| 273/273 [03:09<00:00,  1.44it/s]
Merging audio with the refaced video...
Traceback (most recent call last):
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/gradio/routes.py", line 427, in run_predict
    output = await app.get_blocks().process_api(
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api
    result = await self.call_function(
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 28, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(func, *args, cancellable=cancellable,
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 818, in run_sync_in_worker_thread
    return await future
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 754, in run
    result = context.run(func, *args)
  File "/Users/mac/develop/refacer/app.py", line 64, in run
    return refacer.reface(video_path,faces)
  File "/Users/mac/develop/refacer/refacer.py", line 222, in reface
    return self.__convert_video(video_path,output_video_path)
  File "/Users/mac/develop/refacer/refacer.py", line 126, in __convert_video
    out.run(overwrite_output=True,quiet=True)
  File "/Users/mac/anaconda3/lib/python3.10/site-packages/ffmpeg/_run.py", line 325, in run
    raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant