-
Notifications
You must be signed in to change notification settings - Fork 6k
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
first parameter of Clippingmediasource can only accept Mediasource type and not Concatenatingmediasource type? #8289
Comments
This is correct. You can only pass a "leaf" media source (DashMS, HlsMS, ProgressiveMs, etc). Can you explain what the expected behavior of ClippingMediaSource(ConcatenatingMediaSource, ...) is? Perhaps we can find an alternative way of achieving the same? |
I need to link multiple videos into a video that can be played seamlessly. This video is a two-dimensional array composed of concatenatingmediasource. Multiple videos in the first dimension are played circularly and called player.next The second dimension video will be played when () player.next (), there will be a one second stuck delay. These videos are all local videos. The code is as follows:
` |
@tonihei, mind looking at this? I'm under the impression that it looks similar to [Internal ref: b/174093168]? |
@PeOS-China Am I right in assuming that you want to merge all video of one lesson together as if they were one single video?
If these are your requirements, then this is duplicate of #4868. Please follow this issue for updates. If you have different requirements to the above, please clarify again. In particular, your second post above no longer mentions |
When calling player.next (), there will be one second stuck.The data structure I set for the player is as follows: |
This is probably related to the fact that the player needs to load and decode the next media first. There is also #3327 that tracks improving this use case. So in summary, I think you mentioned multiple work in progress enhancements that are tracked elsewhere:
Unless there is something else I'm missing, I'm closing the issue as duplicate now because these separate issues are tracked elsewhere. If there is something else I'm missing, please let me know :) |
I use clipping media source (mediasource, 0, 3_ 000_ 000) create a clippingmediasource object. Mediasource is of mediasource type. Exoplayer can play normally, but use clippingmediasource (concatenatingmediasource, 0,3)_ 000_ 000), concatenatingmediasource is of concatenatingmediasource type, exoplayer cannot play. Whether the first parameter of clippingmediasource can only accept Mediasource type and not Concatenatingmediasource type
The code is as follows:
`
val application: BarbellApplication = requireActivity().application as BarbellApplication
`
The text was updated successfully, but these errors were encountered: