Audio AAC 5.1 to AC3 5.1 plex firstick not readable

Problem Description

hello, I'm making this bug report here, because I carried out encoding tests and this reading problem only occurs with handbrake, I tried the same encoding with ffmpeg from AAC 5.1 to AC3 5.1 and no problem.

when I convert an aac 5.1 video to ac3 5.1 with handbrake, the videos are unreadable on firestick

video test :

AAC 5.1 => OK
AC3 5.1 => KO

test audio.zip

Activity Log, Crash Log or any other details

activity_log_main.11292.txt :

HandBrake 1.9.0 (2024120100)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
Ram: 32671 MB, 
GPU Information:
  NVIDIA GeForce RTX 3060 - 32.0.15.6094
Screen: 1920x1080
Temp Dir: C:\Users\dvt-salon\AppData\Local\Temp\
Install Dir: C:\Users\dvt-salon\Downloads\HandBrake-1.9.0-x86_64-Win_GUI (2)\HandBrake\
Data Dir: C:\Users\dvt-salon\AppData\Roaming\HandBrake

-------------------------------------------
[16:04:52] hb_init: starting libhb thread

 # Starting Scan ...

[16:04:52] CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
[16:04:52]  - Intel microarchitecture Haswell
[16:04:52]  - logical processor count: 12
[16:04:52] Intel Quick Sync Video support: no
[16:04:52] hb_scan: path=Z:\test audio\AAC 5.1 fichier original.mp4, title_index=0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Z:\test audio\AAC 5.1 fichier original.mp4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: isomavc1
    creation_time   : 2012-05-17T00:54:33.000000Z
  Duration: 00:00:46.63, start: 0.000000, bitrate: 188 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 800x600, 26 kb/s, 8 fps, 8 tbr, 8 tbn (default)
      Metadata:
        creation_time   : 2012-05-17T00:54:33.000000Z
        handler_name    : GPAC ISO Video Handler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, 5.1, fltp, 159 kb/s (default)
      Metadata:
        creation_time   : 2012-05-17T00:56:13.000000Z
        handler_name    : GPAC ISO Audio Handler
        vendor_id       : [0][0][0][0]
[16:04:52] scan: decoding previews for title 1
[16:04:52] scan: audio 0x1: aac, rate=44100Hz, bitrate=159999 Unknown (HE-AAC, 5.1 ch, 159 kbps)
[16:04:53] scan: 10 previews, 800x600, 8.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1, color profile: 1-1-1, chroma location: left
[16:04:53] scan: supported video decoders: avcodec hwaccel
[16:04:53] libhb: scan thread found 1 valid title(s)

 # Scan Finished ...

Aac 5.1 Fichier Original-1_encode_01.26.2025 16-05-06 :


HandBrake 1.9.0 (2024120100)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
Ram: 32671 MB, 
GPU Information:
  NVIDIA GeForce RTX 3060 - 32.0.15.6094
Screen: 1920x1080
Temp Dir: C:\Users\dvt-salon\AppData\Local\Temp\
Install Dir: C:\Users\dvt-salon\Downloads\HandBrake-1.9.0-x86_64-Win_GUI (2)\HandBrake\
Data Dir: C:\Users\dvt-salon\AppData\Roaming\HandBrake

-------------------------------------------

 # Starting Encode ...

[16:05:06] base preset: hdlight 1080p v2
[16:05:06] Remote Process started with Process ID: 10100 using port: 8037. Max Allowed Instances: 1
[16:05:07] Worker: Starting HandBrake Engine ...
[16:05:07] Worker: Parent Process Id 11292
[16:05:07] Worker: Starting Web Server on port 8037 ...
[16:05:07] Worker: Starting Listener: 1
[16:05:07] Worker: Server Started
[16:05:07] Worker: Disconnected worker monitoring enabled!
[16:05:07] Compile-time hardening features are enabled
[16:05:07] nvenc: version 12.2 is available
[16:05:07] nvdec: is available
[16:05:07] CUDA Version: 8.6
[16:05:07] vcn: not available on this system
[16:05:07] qsv: not available on this system
[16:05:07] hb_init: starting libhb thread

[16:05:07] Starting work at: Sun Jan 26 16:05:07 2025
[16:05:07] 1 job(s) to process
[16:05:07] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 384,
        "DRC": 0,
        "Encoder": "ac3",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapitre1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\dvt-salon\\Videos\\Aac 5.1 Fichier Original-1.mkv",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 6,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 4,
        "Settings": {
          "block-height": "16",
          "block-thresh": "80",
          "block-width": "16",
          "filter-mode": "1",
          "mode": "0",
          "motion-thresh": "2",
          "spatial-metric": "2",
          "spatial-thresh": "3"
        }
      },
      {
        "ID": 20,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "600",
          "width": "800"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "Z:\\test audio\\AAC 5.1 fichier original.mp4",
    "HWDecode": 4,
    "KeepDuplicateTitles": false
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "MultiPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 24,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[16:05:07] CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
[16:05:07]  - Intel microarchitecture Haswell
[16:05:07]  - logical processor count: 12
[16:05:07] Intel Quick Sync Video support: no
[16:05:07] hb_scan: path=Z:\test audio\AAC 5.1 fichier original.mp4, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Z:\test audio\AAC 5.1 fichier original.mp4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: isomavc1
    creation_time   : 2012-05-17T00:54:33.000000Z
  Duration: 00:00:46.63, start: 0.000000, bitrate: 188 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 800x600, 26 kb/s, 8 fps, 8 tbr, 8 tbn (default)
      Metadata:
        creation_time   : 2012-05-17T00:54:33.000000Z
        handler_name    : GPAC ISO Video Handler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, 5.1, fltp, 159 kb/s (default)
      Metadata:
        creation_time   : 2012-05-17T00:56:13.000000Z
        handler_name    : GPAC ISO Audio Handler
        vendor_id       : [0][0][0][0]
[16:05:08] scan: decoding previews for title 1
[16:05:08] scan: audio 0x1: aac, rate=44100Hz, bitrate=159999 Unknown (HE-AAC, 5.1 ch, 159 kbps)
[16:05:08] scan: 10 previews, 800x600, 8.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1, color profile: 1-1-1, chroma location: left
[16:05:08] scan: supported video decoders: avcodec hwaccel
[16:05:08] libhb: scan thread found 1 valid title(s)
[16:05:08] Starting Task: Encoding Pass
[16:05:08] work: skipping crop/scale filter
[16:05:08] work: track 1, dithering not supported by codec
[16:05:08] work: only 1 chapter, disabling chapter markers
[16:05:08] job configuration:
[16:05:08]  * source
[16:05:08]    + Z:\test audio\AAC 5.1 fichier original.mp4
[16:05:08]    + title 1, chapter(s) 1 to 1
[16:05:08]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:05:08]    + data rate: 188 kbps
[16:05:08]  * destination
[16:05:08]    + C:\Users\dvt-salon\Videos\Aac 5.1 Fichier Original-1.mkv
[16:05:08]    + container: Matroska (libavformat)
[16:05:08]  * video track
[16:05:08]    + decoder: h264 8-bit (yuv420p)
[16:05:08]      + bitrate 26 kbps
[16:05:08]    + filters
[16:05:08]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[16:05:08]      + Decomb (mode=39)
[16:05:08]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:05:08]        + frame rate: 8.000 fps -> peak rate limited to 30.000 fps
[16:05:08]    + Output geometry
[16:05:08]      + storage dimensions: 800 x 600
[16:05:08]      + pixel aspect ratio: 1 : 1
[16:05:08]      + display dimensions: 800 x 600
[16:05:08]    + encoder: H.264 (libx264)
[16:05:08]      + preset:  veryfast
[16:05:08]      + profile: main
[16:05:08]      + level:   4.0
[16:05:08]      + quality: 24.00 (RF)
[16:05:08]      + color profile: 1-1-1
[16:05:08]      + color range: tv
[16:05:08]      + chroma location: left
[16:05:08]  * audio track 1
[16:05:08]    + decoder: Unknown (HE-AAC, 5.1 ch, 159 kbps) (track 1, id 0x1)
[16:05:08]      + bitrate: 159 kbps, samplerate: 44100 Hz
[16:05:08]    + mixdown: 5.1 Channels
[16:05:08]    + encoder: AC3 (libavcodec)
[16:05:08]      + bitrate: 384 kbps, samplerate: 44100 Hz
[16:05:08] sync: expecting 373 video frames
[16:05:08] encx264: min-keyint: 8, keyint: 80
[16:05:08] encx264: encoding at constant RF 24.000000
[16:05:08] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 UnalignedStack
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[16:05:08] sync: first pts video is 0
[16:05:08] sync: "Chapitre1" (1) at frame 1 time 0
[16:05:08] sync: first pts audio 0x1 is 0
[16:05:09] reader: done. 1 scr changes
[16:05:09] work: average encoding speed for job is 0.000000 fps
[16:05:09] comb detect: heavy 0 | light 0 | uncombed 373 | total 373
[16:05:09] decomb: deinterlaced 0 | blended 0 | unfiltered 373 | total 373
[16:05:09] vfr: 373 frames output, 0 dropped and 0 duped for CFR/PFR
[16:05:09] vfr: lost time: 0 (0 frames)
[16:05:09] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:05:09] aac-decoder done: 1004 frames, 0 decoder errors
[16:05:09] h264-decoder done: 373 frames, 0 decoder errors
[16:05:09] sync: got 373 frames, 373 expected
[16:05:09] sync: framerate min 8.000 fps, max 8.000 fps, avg 8.000 fps
x264 [info]: frame I:5     Avg QP: 7.87  size: 17957
x264 [info]: frame P:93    Avg QP:13.45  size:   987
x264 [info]: frame B:275   Avg QP:11.86  size:    50
x264 [info]: consecutive B-frames:  1.3%  0.0%  3.2% 95.4%
x264 [info]: mb I  I16..4: 83.3%  0.0% 16.7%
x264 [info]: mb P  I16..4:  1.4%  0.0%  0.5%  P16..4:  0.3%  0.1%  0.0%  0.0%  0.0%    skip:97.7%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.0%  0.0%  direct: 0.0%  skip:99.5%  L0:72.6% L1:27.3% BI: 0.2%
x264 [info]: coded y,uvDC,uvAC intra: 15.3% 12.8% 10.4% inter: 0.0% 0.1% 0.1%
x264 [info]: i16 v,h,dc,p: 87%  9%  3%  1%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 23%  3%  9%  6%  6%  6%  7%
x264 [info]: i8c dc,h,v,p: 89%  5%  5%  1%
x264 [info]: Weighted P-Frames: Y:1.1% UV:1.1%
x264 [info]: kb/s:33.50
[16:05:09] mux: track 0, 373 frames, 195037 bytes, 33.38 kbps, fifo 512
[16:05:09] mux: track 1, 1338 frames, 2236916 bytes, 382.79 kbps, fifo 2048
[16:05:09] Finished work at: Sun Jan 26 16:05:09 2025
[16:05:09] libhb: work result = 0

 # Job Completed!


What Operating System are you running?

windows 10

What version of HandBrake are you running?

1.9.0

Where did you download HandBrake from?

https://handbrake.fr/rotation.php?file=HandBrake-1.9.0-x86_64-Win_GUI.zip