question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stream from local m3u8 playlist file or stdin?

See original GitHub issue

Is it possible to give streamlink as input an m3u8 on disk or piped in from stdin?

The following didn’t work

streamlink hls://file.m3u8 best -o out.ts
streamlink hls://file://file.m3u8 best -o out.ts
streamlink hls:///mnt/g/file.m3u8 best -o out.ts

It would also be nice if you could pipe in the url to an m3u8 or it’s contents directory via stdin. For example

echo $some_url | streamlink hls://stdin best -o out.ts
streamlink hls://stdin best -o out.ts < file.m3u8
curl ... | streamlink hls://stdin best | ffmpeg ...

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
beardypigcommented, Dec 16, 2016

@zacklb @fishscene this has been merged now 😃

0reactions
beardypigcommented, Dec 12, 2016

@fishscene I have it working on a branch: https://github.com/beardypig/streamlink/tree/local-files. I need to update the docs to explain how to use it, but otherwise it seems to work pretty well…

Read more comments on GitHub >

github_iconTop Results From Across the Web

M3U8 File (What It Is and How to Open One) - Lifewire
An M3U8 file is a UTF-8 Encoded Audio Playlist file. Open one with VLC, iTunes, Songbird, and other media players. Convert to M3U,...
Read more >
Using Apple's HTTP Live Streaming (HLS) Tools
Segment your video stream and create media playlists for successful transmission with Apple's provided tools.
Read more >
Command-Line Interface - Streamlink 5.1.2 documentation
Make the player read the stream through HTTP instead of the stdin pipe. ... can be set with --stream-segment-threads and the HLS playlist...
Read more >
Can .m3u8 playlist files reference OTHER .m3u8 playlist files?
What I would like to do is return a playlist that references actual .ts files but the last reference in the playlist is...
Read more >
iptv-checker - npm
Node.js CLI tool for checking links in IPTV playlists. Latest version: 0.25.0, ... Check local playlist file: ... Pipe playlist from stdin :....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found