google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.72k stars 6.03k forks source link

Support clipping in Downloaders #7599

Open YucelT94 opened 4 years ago

YucelT94 commented 4 years ago

Hi, I have an question: I played youtube videos and clipped them. But how can I save that ClippedVideos at my phone?

I found https://github.com/google/ExoPlayer/issues/4618 this issue but there must has a way to save them. Because we can download all stream with DownloadService's why can't we download a part of that stream.

tonihei commented 4 years ago

This is currently not possible because there is no Downloader implementation that applies the clipping. We may want to support this in the future though because MediaItem has clipping parameters. [Note MediaItem will only be part of 2.12.0+]. Marking as an enhancement.