Jump to content

Why not mpv


mw420blazeit

Recommended Posts

mw420blazeit

The Android TV app for emby has matured alot, but the ExoPlayer baked in is way behind when compared to the android app, why not just bake mpv in for playback ?

 

Edited by CBers
Moved to Android TV/Fire TV area.
Link to comment
Share on other sites

vdatanet
53 minutes ago, mw420blazeit said:

The Android TV app for emby has matured alot, but the ExoPlayer baked in is way behind when compared to the android app, why not just bake mpv in for playback ?

 

I'm curious about the reverse question, what benefit would we have of going back to libmpv?

Link to comment
Share on other sites

neik
55 minutes ago, mw420blazeit said:

The Android TV app for emby has matured alot, but the ExoPlayer baked in is way behind when compared to the android app, why not just bake mpv in for playback ?

 

Fyi..

The latest Android app also rely on a customized ExoPlayer just like the ATV app. 😉

Link to comment
Share on other sites

7 hours ago, neik said:

Fyi..

The latest Android app also rely on a customized ExoPlayer just like the ATV app. 😉

Yes indeed.

Link to comment
Share on other sites

mw420blazeit
3 hours ago, ebr said:

Hi.  Exactly where do you feel it is "way behind"?

Not complaining btw I'm grateful for emby

It's unable to direct play H.264 High10 and struggles to render/show heavy .ASS subtitles

Mpv wont have those troubles

Link to comment
Share on other sites

45 minutes ago, mw420blazeit said:

It's unable to direct play H.264 High10 and struggles to render/show heavy .ASS subtitles

Can we please look at an example of those?  The player in use is exactly the same as the one in the mobile app.

Link to comment
Share on other sites

mw420blazeit
19 minutes ago, ebr said:

Can we please look at an example of those?  The player in use is exactly the same as the one in the mobile app.

Same file played on both android tv and android app

The android app is able to direct play

Cant really show you the stutter for .ASS subtitles, but it does happen sometimes

Android TV version - 2.0.29g
Android version - 3.2.01

Screenshot_20210708-000619_Emby.png

Screenshot_20210708-000725.png

Edited by mw420blazeit
Link to comment
Share on other sites

pünktchen

But you didn't tested it on the same device, did you? The screenshot of the Android (mobile) app looks like a smartphone which has probably a better chipset than your AndroidTV device.

  • Like 1
  • Agree 1
Link to comment
Share on other sites

Yes, unfortunately, most TVs are not even as powerful as most phones.

Link to comment
Share on other sites

rodainas
22 hours ago, mw420blazeit said:

Same file played on both android tv and android app

The android app is able to direct play

Cant really show you the stutter for .ASS subtitles, but it does happen sometimes

Android TV version - 2.0.29g
Android version - 3.2.01

Screenshot_20210708-000619_Emby.png

Screenshot_20210708-000725.png

H264 High10 or the “Anime Codec”

Is a problematic codec, and is not related to exoplayer, it is to the hardware you are using to run explayer.

Most devices cant hardware decode High 10, example: TVs, FireTV, Nvidia Shield.

As being said the smartphones are more powerful and advanced and can easily support, for example in the directplay department, no transcoding,  I can play High10 on an Iphone XR easily using emby, but that same file on a samsung tv, firestick 4k or nvidia shield is a different story. 

Edited by rodainas
Link to comment
Share on other sites

mw420blazeit
2 hours ago, rodainas said:

H264 High10 or the “Anime Codec”

Is a problematic codec, and is not related to exoplayer, it is to the hardware you are using to run explayer.

Most devices cant hardware decode High 10, example: TVs, FireTV, Nvidia Shield.

As being said the smartphones are more powerful and advanced and can easily support, for example in the directplay department, no transcoding,  I can play High10 on an Iphone XR easily using emby, but that same file on a samsung tv, firestick 4k or nvidia shield is a different story. 

If i use mpv as external player, the video plays just fine on the same hardware

So i just wanted to know if there was a way to use mpv instead of exo like emby theatre does

 

 

 

Link to comment
Share on other sites

GrimReaper

In your AndroidTV App: Settings>Playback>Enable "Use External Player for Videos". 

  • Agree 1
Link to comment
Share on other sites

generiq
1 hour ago, mw420blazeit said:

If i use mpv as external player, the video plays just fine on the same hardware

So i just wanted to know if there was a way to use mpv instead of exo like emby theatre does

 

 

 

If the hardware doesn't support the pixel format, the only other way to play is via software. I'd be interested to see what mpv is doing. Go into the mpv settings and enable the stats. When playing, the stats will tell you how it's decoding it. I suspect it's software decoding. If it is, then the question becomes what is exoplayer doing differently with it's software decoding. I suspect it has to do with the demuxer.

  • Agree 1
Link to comment
Share on other sites

mw420blazeit
14 hours ago, generiq said:

If the hardware doesn't support the pixel format, the only other way to play is via software. I'd be interested to see what mpv is doing. Go into the mpv settings and enable the stats. When playing, the stats will tell you how it's decoding it. I suspect it's software decoding. If it is, then the question becomes what is exoplayer doing differently with it's software decoding. I suspect it has to do with the demuxer.

Seems like it's using hardware decode

Screenshot_20210709-175318.png

Link to comment
Share on other sites

rodainas
42 minutes ago, mw420blazeit said:

Seems like it's using hardware decode

Screenshot_20210709-175318.png

Out of curiosity, what hardware are you using on AndroidTV? 

Link to comment
Share on other sites

The TV app is currently not allowing it to direct play.  Do you have any samples with higher bitrates you can test?  The one  you showed us was a pretty low bitrate.

Link to comment
Share on other sites

generiq
2 hours ago, mw420blazeit said:

Seems like it's using hardware decode

Screenshot_20210709-175318.png

If you use stats.lua instead of general, it will give you more information. It's probably using gpu-copy.

Edited by generiq
Link to comment
Share on other sites

mw420blazeit
2 hours ago, rodainas said:

Out of curiosity, what hardware are you using on AndroidTV? 

Generic Android TV box
Screenshot_20210709-204413.thumb.png.25635a57592593f797dfa8bb8ec55d7e.png

2 hours ago, ebr said:

The TV app is currently not allowing it to direct play.  Do you have any samples with higher bitrates you can test?  The one  you showed us was a pretty low bitrate.

I replaced all my high10 encodes so this is the highest I could find

IScreenshot_20210709-205537.thumb.png.333fef4496f86099f20fbad6660c5219.png

56 minutes ago, generiq said:

If you use stats.lua instead of general, it will give you more information. It's probably using gpu-copy.

Screenshot_20210709-204119.thumb.png.9d3b5f7a09af5a7121cba4128bb52834.png

Link to comment
Share on other sites

generiq
37 minutes ago, mw420blazeit said:

Generic Android TV box
Screenshot_20210709-204413.thumb.png.25635a57592593f797dfa8bb8ec55d7e.png

I replaced all my high10 encodes so this is the highest I could find

IScreenshot_20210709-205537.thumb.png.333fef4496f86099f20fbad6660c5219.png

Screenshot_20210709-204119.thumb.png.9d3b5f7a09af5a7121cba4128bb52834.png

Yeah, that confirms the video is 8bit, and mpv is using hardware acceleration. Is it the same with high10?

  • Agree 1
Link to comment
Share on other sites

mw420blazeit
22 minutes ago, generiq said:

Yeah, that confirms the video is 8bit, and mpv is using hardware acceleration. Is it the same with high10?

Yes

 

Edited by mw420blazeit
Link to comment
Share on other sites

rodainas
17 minutes ago, mw420blazeit said:

Yes

 

Could you post the decoding info with lua for the high10 file please?

Link to comment
Share on other sites

mw420blazeit
30 minutes ago, rodainas said:

Could you post the decoding info with lua for the high10 file please?

the mpv stats shown are for the high10 file

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...