Jump to content

Emby android resorts to transcoding without giving any reason why


nishwahareesh
 Share

Recommended Posts

nishwahareesh

Before I start, I'll explain what I mean by "without giving any reason why"

usually when it starts to transcode, it would give a reason why like this (check the blue circling)

533003109_onepiece.PNG.09909c9b5e09eb961da3c5b86c1982f2.PNG

Note:- I've forcefully made this video to transcode in the above picture by reducing the bitrate so that is not a bug 

 

but in this case, it doesn't

755286061_akunohana.PNG.ac029c494d8ec870d97763101b202adf.PNG

this could be a bug so I'm just reporting that

Now, I have no clue as to why this video transcodes while other videos with the same format doesn't. It's definitely not the subtitles or the audio because I've reencoded the video to HEVC and the audio and subtitle plays directly.

Here's the logs

ffmpeg-transcode-f5e334ff-98b7-4cd7-85d5-aeab259c3705_1.txt

 

Here's the media info

mediainfo.txt

 

And here's the sample video

Flowers of Evil - S01E01 - Flowers of Evil 1 of 13 (1)-001.mkv

 

Ran with galaxy s10 on Emby android 3.1.94

 

Link to comment
Share on other sites

vdatanet
Posted (edited)

In my opinion, subtitles are the transcode reason:

09:06:13.363 [subtitles@f2 @ 0000026b351ec100] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.6.1 (COMPLEX)
09:06:13.373 [subtitles@f2 @ 0000026b351ec100] Loading font file 'C:\Users\nishw\AppData\Roaming\Emby-Server\programdata\fonts/DroidSansFallback.ttf'
09:06:13.382 [subtitles@f2 @ 0000026b351ec100] Using font provider directwrite
09:06:14.397 Stream mapping:
09:06:14.397   Stream #0:0 (h264) -> format (graph 0)
09:06:14.397   subtitles (graph 0) -> Stream #0:0 (h264_nvenc)
09:06:14.397   Stream #0:1 -> #0:1 (flac (native) -> aac (native))

 

Edited by vdatanet
Link to comment
Share on other sites

nishwahareesh
2 hours ago, vdatanet said:

In my opinion, subtitles are the transcode reason:


09:06:13.363 [subtitles@f2 @ 0000026b351ec100] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.6.1 (COMPLEX)
09:06:13.373 [subtitles@f2 @ 0000026b351ec100] Loading font file 'C:\Users\nishw\AppData\Roaming\Emby-Server\programdata\fonts/DroidSansFallback.ttf'
09:06:13.382 [subtitles@f2 @ 0000026b351ec100] Using font provider directwrite
09:06:14.397 Stream mapping:
09:06:14.397   Stream #0:0 (h264) -> format (graph 0)
09:06:14.397   subtitles (graph 0) -> Stream #0:0 (h264_nvenc)
09:06:14.397   Stream #0:1 -> #0:1 (flac (native) -> aac (native))

 

definitely not the subtitles because it direct played in a HEVC video 

Screenshot_20210511-121550_Emby.thumb.jpg.6969a1d298eb08285efe864fa42101c7.jpg

Link to comment
Share on other sites

vdatanet

Just for testing, If you deactivate subtitles, what happens? it keeps transcoding?

Link to comment
Share on other sites

nishwahareesh
Posted (edited)
1 hour ago, vdatanet said:

Just for testing, If you deactivate subtitles, what happens? it keeps transcoding?

Yes it does. I should've mentioned that.

Edited by nishwahareesh
Link to comment
Share on other sites

vdatanet

It's strange. I've downloaded the sample and I get direct play in my Samsung S10

Link to comment
Share on other sites

nishwahareesh
2 hours ago, vdatanet said:

It's strange. I've downloaded the sample and I get direct play in my Samsung S10

Odd. Mine just resorts to transcoding despite having the capabilities of running it. 

Link to comment
Share on other sites

nishwahareesh
5 hours ago, vdatanet said:

Just for testing, If you deactivate subtitles, what happens? it keeps transcoding?

Correction

Video direct plays but audio is transcoded. Odd. S10 has FLAC support 

Link to comment
Share on other sites

vdatanet
40 minutes ago, nishwahareesh said:

Correction

Video direct plays but audio is transcoded. Odd. S10 has FLAC support 

If remuxing is required, ASS subtitles require full transcoding. It's odd, my Samsung S10 direct plays that content.

Link to comment
Share on other sites

nishwahareesh
Posted (edited)
27 minutes ago, vdatanet said:

If remuxing is required, ASS subtitles require full transcoding. It's odd, my Samsung S10 direct plays that content.

its fine. I'll just mux in the EAC3 audio into the original source. Since FLAC is a waste of space anyways. Thanks for the help. 

Edited by nishwahareesh
Link to comment
Share on other sites

nishwahareesh
Posted (edited)
16 hours ago, vdatanet said:

If remuxing is required, ASS subtitles require full transcoding. It's odd, my Samsung S10 direct plays that content.

I found the solution and its a weird one. Remuxing the original video with mkvtoolnix fixes it. This is probably due to the FLAC metadata not properly written. So it's the audio's fault and not the media player. 

Edited by nishwahareesh
  • Like 1
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...