Jump to content

Audio transcode force video transcode


nodiaque

Recommended Posts

nodiaque

Hello,

I have a movie that is 4k HDR 10 with multiple audio track. The first track is Dolby Atmos 7.1, the second a Dolby Digital 5.1. My LG TV doesn't support Atmos 7.1 but support 5.1. If I playback using 5.1 audio, all stream are direct play.

image.png.d923462fb2c4cbd826b73a046ab7239a.png

If I select dolby Atmos 7.1, I get transcoding for audio and video

image.png.fea38cd1285e4db489732d61ff87aeb7.png

Attached are log files.

Thank you

ffmpeg-transcode-91e2d0ce-09f3-45c0-8fe6-8c3922d44600_1.txt ffmpeg-transcode-1899bd5c-3e79-440e-ba15-2eccf6640d40_1.txt ffmpeg-transcode-e6421d73-ecbf-4693-9316-37f6f47b55c4_1.txt embyserver.txt

Link to comment
Share on other sites

nodiaque

Why does it transcode the video when only the audio need transcoding? I would like to keep my 4k HDR10 untouched while I just need the audio transcoded.

Edited by nodiaque
Link to comment
Share on other sites

4 minutes ago, nodiaque said:

Why does it transcode the video when only the audio need transcoding?

HI, that's not true. In the example above you have subtitles selected that are not supported by the LG (PGS), so they require burn-in with transcoding.

Link to comment
Share on other sites

nodiaque

I didn't select any subtitle, I only switched audio track. I did many test, if you check in logs, you'll find one without PGS (PGS was another test). Also, the screenshot would show PGS like this:

With no subtitles

image.png.a78981fa0232bdbdaaaff205cb0e3f58.png

 

With subtitles

image.png.22495b76a9e5ce501fb649a9a89381f9.png

We can see under Stream why it'S converting, and the first one doesn't say Subtitles (same video file btw) but it also transcode the video, while it shouldn't (these 2 screenshot are the same video file with same logs then last post).

Edited by nodiaque
Link to comment
Share on other sites

SamES

@LukeI think we're still waiting for the next release which should resolve this issue (incorrect detection of hevc support in HLS)

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...

Emby for LG TV's 1.0.39 has been released. Stay tuned to the blog for the release announcement.

Link to comment
Share on other sites

nodiaque

oh yeah I saw it, gonna check if it fixed this, I know it didn't fix the other issue unfortunately :(

Link to comment
Share on other sites

nodiaque

Ok, did more test and I have multiple thing.

- 4k HDR 10 Video file with Dolby TrueHD 7.1 audio ==> Audio transcoding to 5.1 but video direct play. Good!

- 4k HDR 10 Video file with Dolby 5.1 audio ==> Direct play. Good

- 4k HDR 10 Video file with Dolby Atmos 5.1 audio ==> Direct play. Good

- 4k HDR 10 Video file with DTS-HD MA 7.1 audio. No transcoding, but my received connected in HDMI ARC only receive DTS-HD MA 5.1 (it used to transcode to 5.1 like above)

- 4k HDR 10 Video file with DTS 5.1 audio. Direct play. Good.

- 1080p H264 video file with Dolby 5.1 audio ==> Direct Play

- 1080p H264 video file with Dolby 5.1 audio ==> HLS Transcoding, video and audio transcoding

- 1080p h264 video file with DTS-HD MA 5.1 audio ==> HLS Transcoding, vide0 and audio transcoding

- 1080p h264 video file with DTS 5.1 audio ==> HLS trancoding, video and audio transcoding

For the 4 1080p, I used 3 different files I'm unsure why one didn't trigger the transcoding of everything while the other did.

I've tried to not mix up the log files

1080p dts 5.1 full transcode.txt1080p dolby 5.1 full transcode.txt4k hdr10 dolby truehd 7.1 - transcode (Remux log).txtserver.log1080p DTS-HD MA 5.1 full transcode.txt

  • Thanks 1
Link to comment
Share on other sites

Quote

- 1080p h264 video file with DTS-HD MA 5.1 audio ==> HLS Transcoding, vide0 and audio transcoding

- 1080p h264 video file with DTS 5.1 audio ==> HLS trancoding, video and audio transcoding

Looked at one of these examples and the h264 profile is not supported by the device. Please note  you can see this information on your own using the stats feature in the video player.

Link to comment
Share on other sites

nodiaque

I've never had transcode for 1080p h264 before. I've watched this video before without any transcode. I used to have transcode only when I watched something with 7.1 audio channel because the arc port doesn't support it. Even in my test, you can see 1 file that played without transcoding. I'm currently watching a show that is h264 without trancoding

image.png.ffc0d5b54f09b93928d014bf35b0fb47.png

Edited by nodiaque
Link to comment
Share on other sites

1 hour ago, nodiaque said:

I've never had transcode for 1080p h264 before. I've watched this video before without any transcode. I used to have transcode only when I watched something with 7.1 audio channel because the arc port doesn't support it. Even in my test, you can see 1 file that played without transcoding. I'm currently watching a show that is h264 without trancoding

image.png.ffc0d5b54f09b93928d014bf35b0fb47.png

Perhaps it has a different h264 profile.

Link to comment
Share on other sites

nodiaque

Ok, but it still transcode everything including audio, which shouldn't if that's the case.

Link to comment
Share on other sites

33 minutes ago, nodiaque said:

Ok, but it still transcode everything including audio, which shouldn't if that's the case.

I already told you why the video is transcoding, because the h264 profile is not supported. Does that answer your question?

Link to comment
Share on other sites

nodiaque

But why does it transcode the audio? It's ac3 codec, same as the other file. It should transcode only the video

Link to comment
Share on other sites

In the example you provided, the audio was DTS, not ac3. Again all of this information is available to you in both the stats feature in the video player and the server dashboard during playback.

Link to comment
Share on other sites

nodiaque

I had audio transcoding in various file type, all file type (except the 7.1) that are natively supported and worked in other case. I'm feelink some agressivity Luke, I might be wrong since it's only a forum, but if it's the case, I'm wondering what I did for this. If not, please disregard the comment.

I've made more test, and there is something not right when it decide to transcode 1080p video file that use AVC codec (which I don't get why it does it cause it wasn't transcoding 1080p file in 1.0.38).

4k HDR 10 + DTS-HD MA 7.1 - no transcoding

image.png.0476f7aab7f61f8648d2b31dfd64d44e.png

Funny is, DTS-HD MA 7.1 should be transcode to 5.1 (the tv now does it before sending it to the receiver) cause HDMI ARC doesn't support DTS-HD MA 7.1 or Dolby TrueHD 7.1, it require eArc.

Using same file but switched to DTS 5.1, no transcoding

image.png.aa3690dc6b3b3bdea2e6ce801a82efe8.png

Decided to force a 1080p 25mbps quality on the same file, full transcode. "Might" be ok since I'm asking for lower bitrate, unsure

image.png.32deea37812b3eb8a5a320a3df9d8fd5.png

1080p AVC with DTS-HD MA 5.1 - Full transcode

image.png.54d0351dddd58738c2498d45a7819929.png

It should only transcode video cause we already know DTS-HD MA 5.1 is supported (since DTS-HD MA 7.1 is) in directplay

Same file but with DTS 5.1 audio - full transcode

image.png.ec013a73fb5efbd90ac40cf9a628bca8.png

So if it was because DTS is not supported, it should transcode the audio on all file. They have the same audio codec so there's still an issue. Before, when only audio needed transcoding, we had the video transcoded for no reason. Now, we have the audio transcoded when only the video is needed.

Looking at another 1080p file, this one play without any transcoding

image.png.8451d340a6e4348de547534043a03363.png

The difference I found between these 2 1080p file is that the first one getting transcoded is in High 10@L4.1 format profile in 10-bits while the other one is in High @ L4.0 format profile at 8-bits. But this TV support 10-bits h264. I've watched these movie many time without any transcoding.

4k hdr10 - dts-hd ma 7.1+5.1.txt 1080p dts 5.1 - full transcode.txt

Link to comment
Share on other sites

SamES

DTS audio isn't supported in the HLS container, so if it is not DirectPlaying then DTS must convert to AC3.

I'm not seeing anything unexpected in your examples.  They all play exactly as I would expect them to

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...