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

ffmpeg and ffprobe does not work with ReadStream created by createReadStream #1

Open
James4Ever0 opened this issue Jan 28, 2023 · 0 comments

Comments

@James4Ever0
Copy link

James4Ever0 commented Jan 28, 2023

I submitted a similar issue to WebTorrent.

From your README I read that 'createReadStream' is not working as expected. Actually it will hang the program so it must be replaced.

I found that webtorrent-cli playing with mpv supports dynamic seeking by time. Serving media to localhost via WebTorrent (which is how webtorrent-cli communicates with various players) also supports ffprobe and ffmpeg seeking, though it might raise exceptions because of corruption.

I think this is because of the way ReadStream implements so it would be blocking. Switching to server seems to be the only solution.

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