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

Unnecessary x265 transcoding #55

Closed
imjustarandomguy opened this issue Aug 24, 2020 · 3 comments
Closed

Unnecessary x265 transcoding #55

imjustarandomguy opened this issue Aug 24, 2020 · 3 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@imjustarandomguy
Copy link

Describe the bug
When trying to play a x265 10 bit file using the jellyfin android app v2.0.0-rc2 the file is being transcoded with the given reason : VideoCodecNotSupported when I know for a fact that my phone (Xiaomi Mi 9T) supports it. When trying to play the same file using Plex or Emby it is able to direct play.

To Reproduce

  1. Try to play x265 10bit file on android app.
  2. Go to dashboard and see that the file is being transcoded with reason: VideoCodecNotSupported

Expected behavior
The file should direct play.

Logs
Logs of transcode : Log.txt

Screenshots

System (please complete the following information):

  • App version: 2.0.0-rc.2
  • Android version: Android 10
  • Device manufacturer and model: Xiaomi Mi 9T
  • Jellyfin server version: 10.6.3
  • The type of video player implementation used: Jellyfin android player

Additional context

@imjustarandomguy imjustarandomguy added the bug Something isn't working label Aug 24, 2020
@Maxr1998
Copy link
Member

With "jellyfin android player", you mean the web player embedded into the app? As in, you didn't enable the native player in the client settings?

@imjustarandomguy
Copy link
Author

Yes, sorry that's what I meant. I just tried with the native player option (ExoPlayer) that you mentioned but the file wouldn't play, I got a black screen and pressing the play button didnt't do anything even tho the dashboard said that I was transcoding the file.

Logs with ExoPlayer : Log_exoplayer.txt

You can see an error at the end of the log file that I though was caused by hardware acceleration. I disabled hardware acceleration on my server to see if it would fix the problem but it didn't.

Logs with ExoPlayer and no hardware acceleration : Log_exoplayer_without_hw_transcoding.txt

Even with ExoPlayer it would still try to transcode and it seemed to be even worse since it not only gave the reason VideoCodecNotSupported but also AudioCodecNotSupported.

@Maxr1998
Copy link
Member

Yes, sorry that's what I meant. I just tried with the native player option (ExoPlayer) that you mentioned but the file wouldn't play, I got a black screen and pressing the play button didnt't do anything even tho the dashboard said that I was transcoding the file.

Logs with ExoPlayer : Log_exoplayer.txt

You can see an error at the end of the log file that I though was caused by hardware acceleration. I disabled hardware acceleration on my server to see if it would fix the problem but it didn't.

Logs with ExoPlayer and no hardware acceleration : Log_exoplayer_without_hw_transcoding.txt

Even with ExoPlayer it would still try to transcode and it seemed to be even worse since it not only gave the reason VideoCodecNotSupported but also AudioCodecNotSupported.

Yes, the player profile published by ExoPlayer (and possibly its handling on the server side?) is still bugged, that is already tracked at #28.

@Maxr1998 Maxr1998 changed the title [Bug] x265 file unnecessary transcoding Unnecessary x265 transcoding Sep 22, 2020
@Maxr1998 Maxr1998 added the duplicate This issue or pull request already exists label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants