Exoplayer
samples
Exoplayer | samples | |
---|---|---|
71 | 11 | |
21,484 | 78 | |
0.3% | - | |
8.5 | 0.0 | |
about 1 month ago | over 1 year ago | |
Java | Kotlin | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Exoplayer
-
Lost in Translation: The Bug That Spoke Russian and Crashed My App
According to some people on the Internet [0][1], it is. Apparently, Java's (Android's?) Locale.getLanguage() is broken for Russian locale and instead of returning "ru" as the docs promise [2], it returns "русский".
[0] https://stackoverflow.com/questions/46916210/cannot-get-writ...
[1] https://github.com/google/ExoPlayer/issues/8251
[2] https://docs.oracle.com/javase/8/docs/api/java/util/Locale.h...
-
Another post for Stremio on LG Web OS
I tried using the Fire TV but it has huge problems with some 4K HDR video formats that goes black screen. It is an issue reported by multiple users for Plex but it's the same for all applications on FireTV. This is the issue on github for Exoplayer: https://github.com/google/ExoPlayer/issues/11096
-
ExoPlayer vs MediaPlayer for playing audio only. Which should I use?
Media3 is the new home for APIs that enable you to create rich audio and video experiences. If you’ve used libraries like ExoPlayer, MediaCompat, or Media2, you’ll find Media3 to be familiar. However, instead of using these separate libraries, Media3 provides a unified API for playback use-cases and also expands to cover new use-cases like video editing and transcoding. The APIs are simple to use yet powerful, customizable to meet your needs, and reliable and optimized so you can build for the diverse Android device ecosystem. (https://android-developers.googleblog.com/2023/03/media3-is-ready-to-play.html)
-
ExoPlayer segment download
Haven't done video work in years, but checkout the DefaultTrackSelector and start following around in the source code. Android Studio should allow you to do this all in the IDE. It's really the only way to learn/understand this stuff.
- Hi everyone, I am working on ExoPlayer. Trying to implement CMCD on ExoPlayer. Has anyone had any experience related to CMCD?
- Dolby Vision on FireStick TV = just a black screen?
-
How to stream other games to friends while in VR chat?
Also in regards to having to tell PC rtspt:// and Quest rtsp:// and waiting for ExoPlayer to fail over to TCP (8 seconds delay) https://github.com/google/ExoPlayer/issues/11069
-
Audio - Video Out Of Sync
I wonder if it's an ExoPlayer bug?
-
ExoPlayer 2.18.2 is out and with some Dolby Vision fallback improvements
See the full changelog of ExoPlayer 2.18.2. Some notable changes are:
-
F1TV app micro stutter
This started happening on Android when they enabled DRM on the streams. Assuming you use a device with Android 12 or later, you can just use Race Control TV to fix the issue. With Android 11 or earlier, Race Control TV also stutters due to this issue, which can be fixed by a custom build of the the app and force-enabling the fix mentioned in the issue.
samples
-
I migrated my app from xml to compose 😄
regarding the LazyColumn/Row + IME issue. If that's it, then there is a workaround until the official fix is deployed. You can take a look at it here. It basically scrolls a little bit when focus is changed. Might fit your needs as well
-
What's the best/easiest way to use a bottom sheet for mobile and a modal for tablets with Jetpack Navigation?
you can find 3 options here https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/bottomSheets
-
Seamless video playback like in TikTok or Youtube Shorts
Hi, I was playing around with achieving exactly that, but have an issue - buffering happens even on pre-cached videos. In short - I use single ExoPlayer instance, and single playerView/surfaceView at a time. Would like to decrease buffering time from 100-200ms to 0. Hope someone here has relevant experience and might help answering the questions: 1) Do you absolutely must use 2 instances of ExoPlayer to achieve this? We can always assume which video will be next to play, thus we can send the "likely to be played video URL" to the non-playing player, so this definitely looks doable. Though there might be issue with this as well, didn't try it yet. Also would it make sense to pre-cache videos with this approach? I guess it would help, but wound't be mandatory. 2) Can anyone confirm that TikTok & Youtube Shorts use .mp4 format instead of adaptive streams? If yes, then are there any advantages for .mp4 for this type of feature, except the fact that pre-caching HLS videos might be a redundant job, if internet conditions change before playback happens? Link to the code folder. Link to ExoPlayer initialisation. Link to pre-caching mechanism for HLS videos. Video shows how it looks right now. The delay before video starts playing is basically time spent from Player.STATE_BUFFERING to Player.STATE_READY .
-
How do I navigate to bottom sheets in compose and then get a callback for a button click?
You can find an example here
-
Jetpack compose routing with bottom navigation bar and standalone full screen pages
Full compose
-
Compose bottom nav with nested graphs
this should help
-
Can anyone suggest me some good repos on GitHub. I want to contribute to open source more. Currently I am contributing to Oppia-Android. I am so targeting for GSoC. Any recommendations are appreciated.
if you're interested in Jetpack Compose - https://github.com/Skyyo/samples . It's a project with various samples in Compose. There is a quite big list inside the readme section, labeled TODO. Might find something that you want to do and contribute.
-
Template repository: fragment based & full compose
yes, you can find the example usages here https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/navigateWithResult
-
Video playback in LazyColumn in Jetpack Compose
Hey, I've found that there aren't any good articles on playing videos in columns for Jetpack Compose, so decided to share my recent experience with it here: https://proandroiddev.com/video-playback-in-lazycolumn-in-jetpack-compose-df355097f26e Links to the repositories: https://github.com/Skyyo/compose-video-playback https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/exoPlayer/columnAutoplay
-
Using Jetpack Compose in production
totally doable, just be careful with ditching fragments yet. Also keep in mind that you will use android views still, for cases such as google maps, camera X, sceneform related things any many others. Certain things are not achievable in compose yet, so be prepared to analyse the design and choose whether it will be XML or compose. For most cases - compose covers you. Also there is a small overhead when adding compose to existing project, don't exactly remember the details since it's not a deal breaker, but you can google it, I believe it was a medium article. A'm working on a non-trivial things in compose ( subjective of course ), so this project with samples might be useful for you. It also includes a readme file, which has current limitations & issues described. ( those, that affect me directly, there are way more of such points)
What are some alternatives?
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
android-template - Project with various common components, to reduce "project setup" operations
Easy-Video-Player
D_Note - Simple & Light Weight Notes App
mpv-android - #mpv-android @ libera.chat
codelab-android-paging - Jetpack Paging codelab
jellyfin-media-player - Jellyfin Desktop Client based on Plex Media Player
music-player - Music player written with jetpack compose
iptv - Collection of publicly available IPTV channels from all over the world [UnavailableForLegalReasons - Repository access blocked]
jellyfin-android - Android Client for Jellyfin
VideoPlayView - Custom Android view with video player, loader and placeholder image
plex-for-kodi - Offical Plex for Kodi add-on releases.