Closed keepClamDown closed 1 month ago
Same issue. Please give a demo how to upload video. There is only demo for local image. No demo for local video.
Is there a problem with my video encoding format?
Hi @keepClamDown @tianye2856. Any errors you're seeing about ffmpeg are generated by your model, not the Swift client library specifically. Can you share a link to a failed prediction and/or the full logs?
i only get the error code is Printing description of error: Command '['ffmpeg', '-i', '/tmp/tmp.mp4', '-c:v', 'libx264', '-crf', '23', '-preset', 'medium', '/tmp/output.mp4']' returned non-zero exit status 1. i can't get more info from the error info
could you give me a demo for video use faceswap? use swift code~i need your help.
@keepClamDown Sorry, I can't help you with this. My recommendation would be to debug locally to the extent possible, such as using a simulator build that writes a video file to your directory and processing it ffmpeg
running locally. That should give you a tighter iteration cycle than testing remotely.
the picture show my code but i get this error promote Command '['ffmpeg', '-i', '/tmp/tmp.mp4', '-c:v', 'libx264', '-crf', '23', '-preset', 'medium', '/tmp/output.mp4']' returned non-zero exit status 1. i need your help