Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front.mp4 and back.mp4 files are missing? not seen in repo, did I miss anything? #74

Open
zeushera140 opened this issue Nov 29, 2024 · 1 comment

Comments

@zeushera140
Copy link

zeushera140 commented Nov 29, 2024

windows conda env.

[in#0 @ 0000017e6dd8a200] Error opening input: No such file or directory
Error opening input file ./data/front.mp4.
Error opening input files: No such file or directory

@zeushera140
Copy link
Author

修改了一下代码,OK了
def CirculateVideo(video_in_path, video_out_path, export_imgs = False):
front_video_path = "C:\Users\zeush\DH_live\data\front.mp4"
back_video_path = "C:\Users\zeush\DH_live\data\back.mp4"

# Quote the paths to handle spaces
ffmpeg_cmd = 'ffmpeg -i "{}" -r 25 -an -loglevel quiet -y "{}"'.format(video_in_path, front_video_path)
print("Running command:", ffmpeg_cmd)  # Add this to debug
os.system(ffmpeg_cmd)

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

No branches or pull requests

1 participant