Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How show all segments of one video from sdcard in one seekbar with total time of segments #5093

Closed
majidebrahimii opened this issue Nov 12, 2018 · 4 comments
Assignees
Labels

Comments

@majidebrahimii
Copy link

majidebrahimii commented Nov 12, 2018

How show all segments of one video from sdcard in one seekbar whit total time of segments. I user ConcatenatingMediaSource but it play segment One after another but i want play all segments in one play. like when play from link hls. At first, I saved all the segments in a one file and showed exo player but could not get the all time, and the seekbar was hidden too.

@majidebrahimii majidebrahimii changed the title How show all segments of one video from sdcard in one seekbar whit total time of segments How show all segments of one video from sdcard in one seekbar with total time of segments Nov 12, 2018
@tonihei
Copy link
Collaborator

tonihei commented Nov 12, 2018

Please try the multi-window timebar option to enable this. Note however, that it doesn't work well with ExtractorMediaSources (see #4727).

@tonihei tonihei self-assigned this Nov 12, 2018
@ojw28
Copy link
Contributor

ojw28 commented Nov 12, 2018

For MPEG-TS you're probably going to be better off concatenating the files, as you were exploring in #5090.

@majidebrahimii
Copy link
Author

@tonihei @ojw28 i use setShowMultiWindowTimeBar but seek bar and total time not correct. I initially decided to put all the segments in a file and play it(#5090 ), but it showed the total time zero and the seek bar was disabled(but MX Player play file very good). I decided to download the parts without altering and show that in this case, The exoplayer has a problem and the total time and seek bar are wrong. I confused and I probably have to forget to download and play HLS(m3u8) files.

@ojw28
Copy link
Contributor

ojw28 commented Nov 12, 2018

Let's use #5090 to track doing this the right way.

@ojw28 ojw28 closed this as completed Nov 12, 2018
@google google locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants