Jump to content

Help: Why must server transcode when playing HEVC/H.265?


fanfan.li
 Share

Recommended Posts

Hello everyone, I installed Emby Server (3.5.3.0) on my DS3617 and installed the app on both iPhone and AndroidTV.

 

When I use my phone or TV to play video files in H.264 format (I am at home, LAN connection, video files are about 5GB), the video will not be transcoded by emby server, drag the playback progress during playback. The article is very sensitive and there is no such thing as a Caton.

 

But when I use the phone or AndroidTV to play the HEVC/H.265 format video file (1.6GB), the file is forced to be transcoded by the emby server. At this time, I drag the playback progress bar to buffer for a while (because The server is transcoding the video file, and my DS3617 CPU usage is almost 100%.

 

When I try to use the Kodi app on AndroidTV to play video files in the HEVC/H.265 format at Emby server, it can be played directly.

 

Can we not transcode when playing video files in HEVC/H.265 format by setting some options?

 

Thank you for your answers.

Link to comment
Share on other sites

I don't think it should transcode HEVC for your Shield TV unless you have set a bitrate limit in the app settings. Can you tell to what bitrate setting the Emby for Android TV is set?

Edited by Charlie117
Link to comment
Share on other sites

Hi:

 

I just saw the AndroidTV app settings, it is 100Mbits/s, this value should be enough, my video file is only 1.6GB (about 60 minutes)

Link to comment
Share on other sites

I don't think it should transcode HEVC for your Shield TV unless you have set a bitrate limit in the app settings. Can you tell to what bitrate setting the Emby for Android TV is set?

 

 

Hi:

 

    thanks for your help.

    I just saw the AndroidTV app settings, it is 100Mbits/s, this value should be enough, my video file is only 1.6GB (about 60 minutes)

Link to comment
Share on other sites

Hi luke:

 

Thank you for your reminder.

I have read the guidance document "How to submit a bug", but I don't think it is necessary to provide a log.

This is a very obvious problem. When I play a video file in hevc format, I am Unable to prevent the server from transcoding him.

Link to comment
Share on other sites

Hi Luke:

 

Can this picture illustrate the problem?

 

My phone is iPhone8 plus, using the latest version of the emby client on Appstore. It can be seen from the figure that the HEVC encoded video is converted into a H.264 encoded video. This transcoding action should be performed on the server side. Is the emby app unable to decode H.265 format video?

Edited by fanfan.li
Link to comment
Share on other sites

Currently 10-bit HEVC is excluded from direct play. We need to improve that to allow it on iOS devices that support it. Thanks.

  • Like 1
Link to comment
Share on other sites

Hi Luke:

 

Thank you for your answer, AndroidTV should not support HEVC10 direct playback also?

 

Can you tell me when the premium version of $119 will be discounted

Link to comment
Share on other sites

We'll look at this for the next update to the iOS app.

 

As far as Android TV goes, this depends on whether or not your device supports HEVC. Does it? What device?

Link to comment
Share on other sites

Hello --

 

I'm getting this, too.  I'm on a FireTV 4k Stick.  Almost all my movies are HEVC encoded, and most (all?) are transcoding.  This transcoding (I assume) is also playing havoc with the audio sync; the audio is 1-2 seconds ahead of the video.  

 

The error listed in the transcode is "DirectPlayError,ContainerBitrateExceedsLimit".  Later errors are "Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream".

 

Logs attached.  For some reason, it's giving me multiple "remux" logs, followed by a "transcode" log.

 

Foul

server.txt

remux.txt

transcode.txt

Link to comment
Share on other sites

It looks like the app tried to direct play, but the video player reported an error and then it automatically switched to transcoding. If i had to guess, the reason for the video player having trouble with the file is probably similar to the reason for ffmpeg having trouble with it on the server.

 

@@softworkz do you have any insight?

Link to comment
Share on other sites

Just to make it more complicated -- I recently upgraded to the 4k stick from the FireTV Gen 2; I don't recall having these transcoding issues on the Gen 2 (or at least, there was no lipsync problem, so I might not have noticed that it was transcoding).  I'll try and verify that today, by hooking the Gen 2 back up and viewing the logs.

 

Foul

Link to comment
Share on other sites

  • 8 months later...

Hi,

 

I am not really sure if i can post my question here but i have the same issue on my LG Smart TV Emby app. My smart tv from 2018 can play H.265 content.

 

But when i select H.265 content the server is transcoding it back to H.264.

 

My questions are:

 

1. In a previous answer, in this topic, it was stated that the Emby app, on ios, was not ready to play H.265. Does the same apply for the emby app for the LG smart tv, 2018 version?

 

2. If so, do you have any idea when this app will be updated so that it will play H.265?

 

 

Thanks,

 

Niels

Link to comment
Share on other sites

Hi,

 

I am not really sure if i can post my question here but i have the same issue on my LG Smart TV Emby app. My smart tv from 2018 can play H.265 content.

 

But when i select H.265 content the server is transcoding it back to H.264.

 

My questions are:

 

1. In a previous answer, in this topic, it was stated that the Emby app, on ios, was not ready to play H.265. Does the same apply for the emby app for the LG smart tv, 2018 version?

 

2. If so, do you have any idea when this app will be updated so that it will play H.265?

 

 

Thanks,

 

Niels

 

Hi there, the Emby LG app already plays h265. Did you explore the server dashboard during playback to learn why it was transcoding? Or did you use the video player stats feature to check this?

Link to comment
Share on other sites

Hi there, the Emby LG app already plays h265. Did you explore the server dashboard during playback to learn why it was transcoding? Or did you use the video player stats feature to check this?

 

I used the video player stats to check this.

 

Later this evening I shall check it again, just to be sure. And post a picture.

Link to comment
Share on other sites

I used the video player stats to check this.

 

Later this evening I shall check it again, just to be sure. And post a picture.

 

And what did it say?

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
 Share

×
×
  • Create New...