itszechs / DriveStream

Stream video files from Google drive
Apache License 2.0
283 stars 29 forks source link

Chapters are not extracted #9

Open itszechs opened 2 years ago

itszechs commented 2 years ago

Overview

Extracting ID3 Chapters for better seeking in a video and jumping to specific positions in a video file, of course only if the video file has Chapters.

Current Implementation

https://github.com/itsZECHS/DriveStream/blob/a62ca7221702c21600084a32a40d3c25e006632c/app/src/main/java/zechs/drive/stream/ui/player/PlayerActivity.kt#L145-L147

Using C.TRACK_TYPE_METADATA to filter metadata tracks which I presumed would contains chapters data but unfortunately no.

Not able to find anything concerte in documentation either other than a class name ChapterFrame in ExoPlayer's docs