hadifar / Downloader-M3u8

Download M3u8 easily with FFMpeg library in Android
31 stars 7 forks source link

Why use ffmpeg? #3

Open ArjixWasTaken opened 3 years ago

ArjixWasTaken commented 3 years ago

It's not only a pain to setup, it's also not as fast. Here I made a basic m3u8 downloader in kotlin. It's a port from here.

It's much better to directly download rather than rely on an external tool.

PS: This can't download a livestream.

styog11 commented 2 years ago

It's not only a pain to setup, it's also not as fast. Here I made a basic m3u8 downloader in kotlin. It's a port from here.

It's much better to directly download rather than rely on an external tool.

PS: This can't download a livestream.

bro , you don't have direct downloader in java ?

ArjixWasTaken commented 2 years ago

It's not only a pain to setup, it's also not as fast. Here I made a basic m3u8 downloader in kotlin. It's a port from here. It's much better to directly download rather than rely on an external tool. PS: This can't download a livestream.

bro , you don't have direct downloader in java ?

Sadly I don't know java, but since kotlin and java are so similar you can easily port the code.

styog11 commented 2 years ago

It's not only a pain to setup, it's also not as fast. Here I made a basic m3u8 downloader in kotlin. It's a port from here. It's much better to directly download rather than rely on an external tool. PS: This can't download a livestream.

bro , you don't have direct downloader in java ?

Sadly I don't know java, but since kotlin and java are so similar you can easily port the code.

bro , this class download all .ts files and integrate them to one file .mp4 ? and before this parse m3u8 playlist to qualities if they found ?

ArjixWasTaken commented 2 years ago

It's not only a pain to setup, it's also not as fast. Here I made a basic m3u8 downloader in kotlin. It's a port from here. It's much better to directly download rather than rely on an external tool. PS: This can't download a livestream.

bro , you don't have direct downloader in java ?

Sadly I don't know java, but since kotlin and java are so similar you can easily port the code.

bro , this class download all .ts files and integrate them to one file .mp4 ? and before this parse m3u8 playlist to qualities if they found ?

Not quite It is an iterator that returns the bytes for each ts and the progress info

You may do whatever you want with those bytes

I myself append them to a file with the mp4 file extension.