Does anyone answer me why this compatible audio is being transcoded?

Version: 10.6.4

Operating System: Windows

Architecture: X64


I was playing a video, I tried to change the audio language but I couldn’t, so I remembered that I had disabled transcoding for my user, I went there and activated it, so I came across the second audio being transcoded … but this second audio has the same aspects that the first one that is not being transcoded …

MediaInfo

General

Complete name : D:\Mídia\Séries\Lucifer\Temporada 1\S01E01.mp4

Format : MPEG-4

Format profile : Base Media

Codec ID : isom (isom/iso2/avc1/mp41)

File size : 1.20 GiB

Duration : 44 min 56 s

Overall bit rate : 3 806 kb/s

Writing application : Lavf58.20.100

Video

ID : 1

Format : AVC

Format/Info : Advanced Video Codec

Format profile : Main@L4.2

Format settings : CABAC / 4 Ref Frames

Format settings, CABAC : Yes

Format settings, Reference frames : 4 frames

Codec ID : avc1

Codec ID/Info : Advanced Video Coding

Duration : 44 min 56 s

Bit rate : 3 544 kb/s

Width : 1 920 pixels

Height : 1 080 pixels

Display aspect ratio : 16:9

Frame rate mode : Variable

Frame rate : 23.976 (24000/1001) FPS

Minimum frame rate : 23.810 FPS

Maximum frame rate : 24.390 FPS

Standard : Component

Color space : YUV

Chroma subsampling : 4:2:0

Bit depth : 8 bits

Scan type : Progressive

Bits/(Pixel*Frame) : 0.071

Stream size : 1.11 GiB (93%)

Color range : Limited

Codec configuration box : avcC

Audio # 1

ID: 2

Format: AAC LC SBR

Format / Info: Advanced Audio Codec Low Complexity with Spectral Band Replication

Commercial name: HE-AAC

Format settings: Explicit

Codec ID: mp4a-40-2

Duration: 44 min 56s

Bit rate mode: Constant

Bit rate: 128 kb / s

Channel (s): 2 channels

Channel layout: L R

Sampling rate: 48.0 kHz

Frame rate: 23,438 FPS (2048 SPF)

Compression mode: Lossy

Stream size: 41.2 MiB (3%)

Language: Portuguese

Default: Yes

Alternate group: 1

Audio # 2

ID: 3

Format: AAC LC SBR

Format / Info: Advanced Audio Codec Low Complexity with Spectral Band Replication

Commercial name: HE-AAC

Format settings: Explicit

Codec ID: mp4a-40-2

Duration: 44 min 56s

Bit rate mode: Constant

Bit rate: 128 kb / s

Channel (s): 2 channels

Channel layout: L R

Sampling rate: 48.0 kHz

Frame rate: 23,438 FPS (2048 SPF)

Compression mode: Lossy

Stream size: 41.2 MiB (3%)

Language: English

Default: No

Alternate group: 1

Investigating further, I arrived at the panel where he showed me this message

"The media is compatible with the device in relation to the resolution and media type (H.264, AC3, etc.), but it is in an incompatible file format (mkv, avi, wmv, etc.). The video will be repackaged in time before starting streaming to the device.

Direct streaming of a file uses low processing without loss of video quality. "

Can anyone help me solve this? The logs will be below.

LOGs

http://localhost:8096/videos/385cff07-aa70-2731-21a3-9d74e8ccdb0c/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzg1LjAuNDE4My44MyBTYWZhcmkvNTM3LjM2fDE1OTk0Mjk3MjQ2MTc1&MediaSourceId=385cff07aa70273121a39d74e8ccdb0c&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=2&VideoBitrate=139872000&AudioBitrate=128000&PlaySessionId=180e98dcc97d430b9786ccfdf6a617fc&api_key=aa20c19fc8d247f7b1cf7415bf425b4f&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=73d4d3985c670cbebbff31f81a1a1323&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&h264-deinterlace=true&TranscodeReasons=SecondaryAudioNotSupported

{"Protocol":"File","Id":"385cff07aa70273121a39d74e8ccdb0c","Path":"D:\\Mídia\\Séries\\Lucifer\\Temporada 1\\S01E01.mp4","Type":"Default","Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":1283157888,"Name":"S01E01","IsRemote":false,"ETag":"73d4d3985c670cbebbff31f81a1a1323","RunTimeTicks":26968750080,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","TimeBase":"1/16000","CodecTimeBase":"2696777/129316000","VideoRange":"SDR","DisplayTitle":"1080p H264","NalLengthSize":"0","IsInterlaced":false,"IsAVC":false,"BitRate":3544167,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976028,"RealFrameRate":23.976025,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":42},{"Codec":"aac","CodecTag":"mp4a","Language":"por","TimeBase":"1/48000","CodecTimeBase":"1/48000","DisplayTitle":"Por AAC stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"HE-AAC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","TimeBase":"1/48000","CodecTimeBase":"1/48000","DisplayTitle":"Eng AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"HE-AAC","Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"por","localizedUndefined":"Undefined","localizedDefault":"Default","localizedForced":"Forced","DisplayTitle":"Por","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"D:\\Mídia\\Séries\\Lucifer\\Temporada 1\\S01E01.pt.srt"}],"MediaAttachments":[],"Formats":[],"Bitrate":3806354,"RequiredHttpHeaders":{}}

C:\Program Files\Jellyfin\Server\ffmpeg.exe -fflags +genpts -i file:"D:\Mídia\Séries\Lucifer\Temporada 1\S01E01.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:s -codec:v:0 copy -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 128000 -copyts -avoid_negative_ts disabled -f hls -max_delay 5000000 -hls_time 6 -individual_header_trailer 0 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a7%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a7.m3u8"

ffmpeg version n4.3.1-1-g4c6eb642fe Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 10.1.0 (Rev3, Built by MSYS2 project)

configuration: --disable-static --enable-shared --cc='ccache gcc' --cxx='ccache g++' --disable-ffplay --disable-debug --enable-gpl --enable-version3 --enable-bzlib --enable-iconv --enable-lzma --enable-zlib --enable-sdl2 --enable-fontconfig --enable-gmp --enable-libass --enable-libzimg --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libdav1d --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec --enable-gnutls --shlibdir=/local64/bin-video

libavutil 56. 51.100 / 56. 51.100

libavcodec 58. 91.100 / 58. 91.100

libavformat 58. 45.100 / 58. 45.100

libavdevice 58. 10.100 / 58. 10.100

libavfilter 7. 85.100 / 7. 85.100

libswscale 5. 7.100 / 5. 7.100

libswresample 3. 7.100 / 3. 7.100

libpostproc 55. 7.100 / 55. 7.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:D:\Mídia\Séries\Lucifer\Temporada 1\S01E01.mp4':

Metadata:

major_brand : isom

minor_version : 512

compatible_brands: isomiso2avc1mp41

encoder : Lavf58.20.100

Duration: 00:44:56.88, start: 0.000000, bitrate: 3806 kb/s

Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 3544 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)

Metadata:

handler_name : VideoHandler

Stream #0:1(por): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)

Metadata:

handler_name : SoundHandler

Stream #0:2(eng): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s

Metadata:

handler_name : SoundHandler

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Stream #0:2 -> #0:1 (aac (native) -> mp3 (libmp3lame))

Press [q] to stop, [?] for help

Output #0, hls, to 'C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a7.m3u8':

Metadata:

encoder : Lavf58.45.100

Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3544 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default)

Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp, 128 kb/s

Metadata:

encoder : Lavc58.91.100 libmp3lame

[hls @ 000001e234623380] Opening 'C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a70.ts' for writing

frame= 442 fps=0.0 q=-1.0 size=N/A time=00:00:18.39 bitrate=N/A speed=36.8x

[hls @ 000001e234623380] Opening 'C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a71.ts' for writing

[hls @ 000001e234623380] Opening 'C:\Users\krism\AppData\Local\Jellyfin\transcodes\ad495bc168a755b0b449c761b830d0a72.ts' for writing

frame= 671 fps=0.0 q=-1.0 Lsize=N/A time=00:00:27.98 bitrate=N/A speed=30.6x

video:11495kB audio:438kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown