Skip to content

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

@James4Ever0

Description

@James4Ever0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions