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

Use mpv based player #11

Open
P0bo opened this issue Apr 15, 2024 · 23 comments
Open

Use mpv based player #11

P0bo opened this issue Apr 15, 2024 · 23 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@P0bo
Copy link

P0bo commented Apr 15, 2024

Mpv player is a really great player and the aniyomi version of mpv player looks a lot better than official mpv , it also has material ui support.

aniyomi-https://github.com/aniyomiorg/aniyomi

@SkyD666
Copy link
Owner

SkyD666 commented Apr 16, 2024

There are some problems: 1. aniyomi-mpv-lib is not a library, so we need more work to use it; 2. aniyomi-mpv-lib includes native code, makes apk size larger

@P0bo
Copy link
Author

P0bo commented Apr 16, 2024

is there any way to use mpv based player ? customisation is really good in mpv , because of mpv.conf , also it supports stats for nerds which is really helpful for cross checking quality of episodes. And i use my tablet with keyboard and mpv allows customising almost every key input.conf

@Luffyirl
Copy link

Luffyirl commented Apr 16, 2024

Agree , mpv provides a hefty amount of customisation and personalisation.Its not only good for tablet but also phones . And it uses significantly less resources from phone than other players saving a lot of battery and ram. U can even specify max how much forword or backward ram it should use in mpv.

@P0bo
Copy link
Author

P0bo commented Apr 16, 2024

Agree , mpv provides a hefty amount of customisation and personalisation.Its not only good for tablet but also phones . And it uses significantly less resources from phone than other players saving a lot of battery and ram. U can even specify max how much forword or backward ram it should use in mpv.

Especially in AniVu, the subtitles look ugly, and there's no way to customize the border size/color, shadow color/offset, font size/color, etc. And the lack of keyboard support, let alone customizable keybindings. Don't get me wrong, I love AniVu (I loved it when I found the repo and still do now). I really thank and respect the dev for making the app. It's my humble request to the dev to please consider using an mpv-based player.

@Luffyirl
Copy link

Fair enough . Also Kudos to the developer for such an awesome app! ..

@SkyD666
Copy link
Owner

SkyD666 commented Apr 16, 2024

Agree , mpv provides a hefty amount of customisation and personalisation.Its not only good for tablet but also phones . And it uses significantly less resources from phone than other players saving a lot of battery and ram. U can even specify max how much forword or backward ram it should use in mpv.

Especially in AniVu, the subtitles look ugly, and there's no way to customize the border size/color, shadow color/offset, font size/color, etc. And the lack of keyboard support, let alone customizable keybindings. Don't get me wrong, I love AniVu (I loved it when I found the repo and still do now). I really thank and respect the dev for making the app. It's my humble request to the dev to please consider using an mpv-based player.

Subtitle effects are indeed a big problem because exoplayer does not support them.

This issue has existed for three years and there is still no progress:

google/ExoPlayer#8435

@SkyD666 SkyD666 added enhancement New feature or request help wanted Extra attention is needed labels Apr 16, 2024
@P0bo P0bo changed the title Use mpv based player from aniyomi Use mpv based player Apr 16, 2024
@SkyD666
Copy link
Owner

SkyD666 commented Apr 16, 2024

In addition, thank you for your valuable suggestions, but I am busy with my studies recently, so the update frequency may not be too frequent.

@SkyD666
Copy link
Owner

SkyD666 commented Apr 16, 2024

For the mpv player, I'll learn more about it.

@P0bo
Copy link
Author

P0bo commented Apr 16, 2024

In addition, thank you for your valuable suggestions, but I am busy with my studies recently, so the update frequency may not be too frequent.

Best of luck with ur studies .No problems with update frequency .

@SkyD666
Copy link
Owner

SkyD666 commented Apr 19, 2024

I found that mpv doesn't seem to be able to use a custom data source (such as Java InputStream)

This is bad for playing torrents

@Luffyirl
Copy link

Luffyirl commented Apr 19, 2024

I found that mpv doesn't seem to be able to use a custom data source (such as Java InputStream)

This is bad for playing torrents

Doesn't AniVu just play files after downloading? If #12 is implemented, the app will play the files inside that specific folder after they are downloaded; mpv won't have a problem playing such files. And if you want to implement torrent streaming (without downloading the torrent), you will need a webtorrent hook for mpv, which isn't available for Android devices. Another way is to implement a torrent server, but that will significantly increase the app's size.

Only app that has implemented torrent streaming which is usable is stremio , no alternatives what so ever for android , all the other apps that tried have either failed or didnt meet the expectatins .

@P0bo
Copy link
Author

P0bo commented Apr 19, 2024

I found that mpv doesn't seem to be able to use a custom data source (such as Java InputStream)

This is bad for playing torrents

can u please elaborate a bit , i don't have much experience with playing torrents .

@P0bo
Copy link
Author

P0bo commented Apr 19, 2024

I found that mpv doesn't seem to be able to use a custom data source (such as Java InputStream)
This is bad for playing torrents

Doesn't AniVu just play files after downloading? If #12 is implemented, the app will play the files inside that specific folder after they are downloaded; mpv won't have a problem playing such files. And if you want to implement torrent streaming (without downloading the torrent), you will need a webtorrent hook for mpv, which isn't available for Android devices. Another way is to implement a torrent server, but that will significantly increase the app's size.

Only app that has implemented torrent streaming which is usable is stremio , no alternatives what so ever for android , all the other apps that tried have either failed or didnt meet the expectatins .

@Luffyirl Stremio uses libVLC on Android, if I recall correctly. There's an app called Kuukiyomi that uses libmpv with ffmpeg kit (it uses same player since it's a fork of Aniyomi) which supports streaming torrents, but their server is not nearly as good or buffer-free as Stremio.

@SkyD666
Copy link
Owner

SkyD666 commented Apr 20, 2024

Can you give the Stremio android repository? I can't find it.

@P0bo
Copy link
Author

P0bo commented Apr 20, 2024

Can you give the Stremio android repository? I can't find it.

Stremio android is not open source :

reason (From a stremio dev)
"The reason for the mobile app itself not being open source is that we have an agreement with a partner company and an investor preventing us from publishing it."

@Luffyirl
Copy link

1713637442598

damn i thought most ppl dont even use mpv .

@SkyD666
Copy link
Owner

SkyD666 commented Apr 21, 2024

Actually, I have a question, why not use an external player to open the video?

Screenshot_20240421_082744_edit_126683168353064.jpg

@Luffyirl
Copy link

  1. I have been doing that with Flud and LibreTorrent; both of them support RSS feeds with auto-downloading.
  2. I do use VLC and mpv from time to time, but both have ugly UI and don't support Material You.
  3. Doesn't that just defy the whole point of the app?

    All-in-one Android app for anime RSS, BitTorrent dl & play.

  4. Won't it be just the same as any other torrent app out there that has feed support?

@P0bo
Copy link
Author

P0bo commented Apr 21, 2024

Actually, I have a question, why not use an external player to open the video?

Screenshot_20240421_082744_edit_126683168353064.jpg

I actually do that , i just love this app ❤️ and want the in-app player to get better .And since this app even supports playing other files , i have plans to use it as my main player but the in-app player isnt good enough for that yet .

@SkyD666
Copy link
Owner

SkyD666 commented Apr 21, 2024

  1. I have been doing that with Flud and LibreTorrent; both of them support RSS feeds with auto-downloading.
  2. I do use VLC and mpv from time to time, but both have ugly UI and don't support Material You.
  3. Doesn't that just defy the whole point of the app?

    All-in-one Android app for anime RSS, BitTorrent dl & play.

  4. Won't it be just the same as any other torrent app out there that has feed support?

Using an external player to open videos is only an option for users who feel that the built-in player experience is not good.

On the other hand, judging from the recent situation of playing torrent, most of the time, the torrent resources are poor and often cannot be loaded, so whether to support directly playing torrent is also a question that needs to be considered.

I posted a vote in the telegram group

@Ripl0gic
Copy link

  1. I have been doing that with Flud and LibreTorrent; both of them support RSS feeds with auto-downloading.
  2. I do use VLC and mpv from time to time, but both have ugly UI and don't support Material You.
  3. Doesn't that just defy the whole point of the app?

    All-in-one Android app for anime RSS, BitTorrent dl & play.

  4. Won't it be just the same as any other torrent app out there that has feed support?

Using an external player to open videos is only an option for users who feel that the built-in player experience is not good.

On the other hand, judging from the recent situation of playing torrent, most of the time, the torrent resources are poor and often cannot be loaded, so whether to support directly playing torrent is also a question that needs to be considered.

I posted a vote in the telegram group

Can someone please sent the result of the poll ? I'm not on teligram

@Luffyirl
Copy link

Screenshot_2024-04-23-01-33-20-920_org.telegram.messenger-edit.jpg

@Ripl0gic
Copy link

Add +1 for Mpv from me too , seems most people want Mpv.
Also streaming torrents isn't a good idea , because of the peers-leechers situation.

@SkyD666 SkyD666 pinned this issue Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants