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

Can't absolute paths be used in the ffmpeg.run method #756

Open
syjf opened this issue Jun 7, 2024 · 2 comments
Open

Can't absolute paths be used in the ffmpeg.run method #756

syjf opened this issue Jun 7, 2024 · 2 comments

Comments

@syjf
Copy link

syjf commented Jun 7, 2024

Can't it be written like this
ffmpeg.run('-i' , 'http://127.0.0.1:5001/upload/202406/11dc85da-4937-473e-9e79-d193bf83902d.mp4'.......)
Can we only do this
ffmpeg.FS(
"writeFile",
"video",
await fetchFile(
"http:xxxx.mp4"
)
)
ffmpeg.run('-i' , 'video'.......)

@syjf
Copy link
Author

syjf commented Jun 7, 2024

If you write the address directly, an error message will appear, prompting WebSocket connection to 'ws://127.0.0.1:5001/' failed: Error during WebSocket handshake: Unexpected response code: 200
Is there anything to configure

@syjf
Copy link
Author

syjf commented Jun 7, 2024

Why call WebSocket
Do you just want to request resources

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