When I convert one particular file the audio is garbled. It looks like normal PCM audio to me but the output sounds more like AC-3
Steps to reproduce the problem (If Applicable):
Convert the movie Paper Moon using Apple TV 1080/60 profile
HandBrake version (e.g., 1.0.0):
1.7.2
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 11
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 12th Gen Intel(R) Core(TM) i5-12600H
Ram: 16113 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.5186
Microsoft Remote Display Adapter - 10.0.22621.3593
Screen: 2611.2x1468.8
Temp Dir: C:\Users\Theater\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Theater\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[19:48:54] base preset: Apple 1080p30 Surround (Modified)
[19:48:54] Remote Process started with Process ID: 4760 using port: 8037. Max Allowed Instances: 1
[19:48:54] Worker: Starting HandBrake Engine ...
[19:48:54] Worker: Parent Process Id 2228
[19:48:54] Worker: Starting Web Server on port 8037 ...
[19:48:54] Worker: Server Started
[19:48:54] Worker: Disconnected worker monitoring enabled!
[19:48:54] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[19:48:54] vcn: not available on this system
[19:48:55] qsv: is available on this system
[19:48:55] hb_init: starting libhb thread
[19:48:55] Starting work at: Wed May 22 19:48:55 2024
[19:48:55] 1 job(s) to process
[19:48:55] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 448,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 640,
"DRC": 0,
"Encoder": "ac3",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 448,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 1,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\Users\\Theater\\Videos\\Paper Moon.mp4",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 5,
"Settings": {
"mode": "7"
}
},
{
"ID": 4,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "2",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1918"
}
},
{
"ID": 10,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "E:\\Movies\\Paper Moon\\Paper Moon.mkv",
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "quality",
"Profile": "auto",
"Quality": 22,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[19:48:55] CPU: 12th Gen Intel(R) Core(TM) i5-12600H
[19:48:55] - Intel microarchitecture Alder Lake performance hybrid architecture
[19:48:55] - logical processor count: 16
[19:48:55] Intel Quick Sync Video support: yes, gpu list: 0
[19:48:55] Intel Quick Sync Video integrated adapter with index 0
[19:48:55] Impl mfx-gen library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_64f1ea0105c67ec6\libmfx64-gen.dll
[19:48:55] - Intel Media SDK hardware: API 2.10 (minimum: 1.3)
[19:48:55] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[19:48:55] - H.264 encoder: yes
[19:48:55] - preferred implementation: hardware (1) via D3D11
[19:48:55] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[19:48:55] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[19:48:55] - preferred implementation: hardware (1) via D3D11
[19:48:55] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[19:48:55] - AV1 encoder: no
[19:48:55] hb_scan: path=E:\Movies\Paper Moon\Paper Moon.mkv, title_index=1
Input #0, matroska,webm, from 'E:\Movies\Paper Moon\Paper Moon.mkv':
Metadata:
ENCODER : Lavf58.29.100
Duration: 01:42:22.50, start: 0.016000, bitrate: 40001 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
DURATION : 01:42:22.470000000
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
DURATION : 01:42:22.499000000
Stream #0:2(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
DURATION : 01:42:22.482000000
[19:48:55] scan: decoding previews for title 1
hwaccel: failed to create hwdevice
[AVHWDeviceContext @ 000001f14b5bd540] Cannot load nvcuda.dll
[AVHWDeviceContext @ 000001f14b5bd540] Could not dynamically load CUDA
[19:48:55] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[19:48:55] scan: audio 0x2: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[19:48:56] using container PAR 1:1
[19:48:56] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[19:48:56] scan: supported video decoders: avcodec qsv
[19:48:56] libhb: scan thread found 1 valid title(s)
[19:48:56] Starting Task: Encoding Pass
[19:48:56] work: track 1, dithering not supported by codec
[19:48:56] work: track 2, dithering not supported by codec
[19:48:56] work: track 3, dithering not supported by codec
[19:48:56] work: only 1 chapter, disabling chapter markers
[19:48:56] job configuration:
[19:48:56] * source
[19:48:56] + E:\Movies\Paper Moon\Paper Moon.mkv
[19:48:56] + title 1, chapter(s) 1 to 1
[19:48:56] + container: matroska,webm
[19:48:56] + data rate: 40001 kbps
[19:48:56] * destination
[19:48:56] + C:\Users\Theater\Videos\Paper Moon.mp4
[19:48:56] + container: MPEG-4 (libavformat)
[19:48:56] * video track
[19:48:56] + decoder: h264_qsv 8-bit (yuv420p)
[19:48:56] + filters
[19:48:56] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[19:48:56] + Decomb (mode=39)
[19:48:56] + Framerate Shaper (mode=0)
[19:48:56] + frame rate: same as source (around 23.976 fps)
[19:48:56] + Crop and Scale (width=1918:height=1080:crop-top=0:crop-bottom=0:crop-left=2:crop-right=0)
[19:48:56] + source: 1920 * 1080, crop (0/0/2/0): 1918 * 1080, scale: 1918 * 1080
[19:48:56] + Format (format=nv12)
[19:48:56] + Output geometry
[19:48:56] + storage dimensions: 1918 x 1080
[19:48:56] + pixel aspect ratio: 1 : 1
[19:48:56] + display dimensions: 1918 x 1080
[19:48:56] + encoder: H.265 (Intel Media SDK)
[19:48:56] + preset: quality
[19:48:56] + options: lowpower=1
[19:48:56] + profile: auto
[19:48:56] + level: auto
[19:48:56] + quality: 22.00 (ICQ)
[19:48:56] + color profile: 1-1-1
[19:48:56] + chroma location: left
[19:48:56] * audio track 1
[19:48:56] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[19:48:56] + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:48:56] + mixdown: Stereo
[19:48:56] + encoder: AAC (libavcodec)
[19:48:56] + bitrate: 448 kbps, samplerate: 48000 Hz
[19:48:56] * audio track 2
[19:48:56] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[19:48:56] + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:48:56] + mixdown: Stereo
[19:48:56] + encoder: AC3 (libavcodec)
[19:48:56] + bitrate: 640 kbps, samplerate: 48000 Hz
[19:48:56] * audio track 3
[19:48:56] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 2, id 0x2)
[19:48:56] + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:48:56] + mixdown: Stereo
[19:48:56] + encoder: AAC (libavcodec)
[19:48:56] + bitrate: 448 kbps, samplerate: 48000 Hz
[19:48:57] sync: expecting 147272 video frames
[19:48:57] encqsvInit: using encode-only via system memory (LowPower) path
[19:48:57] encqsvInit: H.265/HEVC Main profile @ level (null)
[19:48:57] encqsvInit: TargetUsage 1 AsyncDepth 6
[19:48:57] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[19:48:57] encqsvInit: BFramesMax 7 BRefType pyramid
[19:48:57] encqsvInit: RateControlMethod ICQ ICQQuality 22
[19:48:57] sync: first pts audio 0x1 is 0
[19:48:57] sync: first pts audio 0x1 is 0
[19:48:57] sync: first pts audio 0x2 is 0
[19:48:57] sync: first pts video is 9810
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 6030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 6030
[19:48:57] sync: "Chapter 1" (1) at frame 2 time 13563
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 15030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 15030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 24030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 24030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 33030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 33030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 42030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 42030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 51030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 51030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 60030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 60030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 69030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 69030
[19:48:57] sync: audio 0x1 time went backwards 50 ms, dropped 1 frames. PTS 78030