I am encoding a particular video using handbrake CLI. If I encode the audio using av_aac with a bitrate of 384 kbps, I get noise in a particular scene. When using 256 kbps, everything is fine.
You can find the two encodings at the following link:
https://www.dropbox.com/sh/nmbjkk4fflow ... NOJTa?dl=0
The noise starts at about 17s, when the shower is turned on and vanishes when the shower is turned off again (not in the sample).
Any idea, what might be causing that?
HandBrake CLI version: 1.0.7 on Windows 10 Fall Creators Update
The activity-log:
Code: Select all
[21:44:18] hb_init: starting libhb thread
[21:44:18] thread 1 started ("libhb")
HandBrake 1.0.7 (2017040900) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening D:\MeinOrdner\Videoprojekte\Renderings\2016-04-30 Schwimmkurs Sophie.avi...
[21:44:18] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[21:44:18] - Intel microarchitecture Skylake
[21:44:18] - logical processor count: 8
[21:44:18] Intel Quick Sync Video support: yes
[21:44:18] - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[21:44:18] - H.264 encoder: yes
[21:44:18] - preferred implementation: hardware (any)
[21:44:18] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[21:44:18] - H.265 encoder: yes
[21:44:18] - preferred implementation: hardware (any)
[21:44:18] - capabilities (hardware): bpyramid vsinfo opt1
[21:44:18] hb_scan: path=D:\MeinOrdner\Videoprojekte\Renderings\2016-04-30 Schwimmkurs Sophie.avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\MeinOrdner\Videoprojekte\Renderings\2016-04-30 Schwimmkurs Sophie.avi
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[21:44:18] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[21:44:18] dvd: not a dvd - trying as a stream/file instead
Scanning title 1 of 1, 0.00 %Input #0, avi, from 'D:\MeinOrdner\Videoprojekte\Renderings\2016-04-30 Schwimmkurs Sophie.avi':
Metadata:
date : 2018-01-18T00:24:19+01:00
encoder : Adobe Premiere Pro CC (Windows)
Duration: 00:03:30.62, start: 0.000000, bitrate: -2147483 kb/s
Stream #0:0: Video: v210 [v210 / 0x30313276]
yuv422p10le, 1920x1080
59.94 tbn
Stream #0:1: Audio: pcm_s16le [[1][0][0][0] / 0x0001]
48000 Hz, 2 channels, s16, 1536 kb/s
[21:44:18] scan: decoding previews for title 1
[21:44:18] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 7, 70.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 9, 90.00 %
Scanning title 1 of 1, preview 10, 100.00 %[21:44:20] scan: 10 previews, 1920x1080, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:44:21] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ stream: D:\MeinOrdner\Videoprojekte\Renderings\2016-04-30 Schwimmkurs Sophie.avi
+ duration: 00:03:30
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 59.940 fps
+ autocrop: 0/0/0/0
+ support opencl: no
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:03:30
+ audio tracks:
+ 1, Unknown (pcm_s16le) (2.0 ch) (iso639-2: und)
+ subtitle tracks:
[21:44:21] 1 job(s) to process
[21:44:21] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 320,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": "stereo",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"Quality": -3.0,
"Samplerate": "auto",
"Track": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",
"copy:flac"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"ChapterList": [
{
"Name": ""
}
],
"ChapterMarkers": false,
"File": "D:\\MeinOrdner\\Videoprojekte\\Renderings\\2016-04-30 Schwimmkurs Sophie.experiments.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 1,
"rate": "27000000/450450"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 0,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 1080,
"width": 1920
}
}
]
},
"Metadata": {
"ReleaseDate": "2018-01-18T00:24:19+01:00"
},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "C:\SomePath\SomeFile.avi",
"Range": {
"End": 4050000,
"Type": "time"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ColorMatrixCode": 0,
"Encoder": "x265",
"OpenCL": false,
"Preset": "ultrafast",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 16.0,
"Turbo": false,
"TwoPass": false
}
}
[21:44:21] starting job
[21:44:21] job configuration:
[21:44:21] * source
[21:44:21] + C:\SomePath\SomeFile.avi
[21:44:21] + title 1, start 00:00:0.00 stop 00:00:45.00
[21:44:21] + container: avi
[21:44:21] + data rate: -2147483 kbps
[21:44:21] * destination
[21:44:21] + C:\SomePath\SomeFile.mp4
[21:44:21] + container: MPEG-4 (libavformat)
[21:44:21] * video track
[21:44:21] + decoder: v210
[21:44:21] + filters
[21:44:21] + Framerate Shaper (mode=1:rate=27000000/450450)
[21:44:21] + frame rate: 59.940 fps -> constant 59.940 fps
[21:44:21] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:44:21] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[21:44:21] + Output geometry
[21:44:21] + storage dimensions: 1920 x 1080
[21:44:21] + pixel aspect ratio: 1 : 1
[21:44:21] + display dimensions: 1920 x 1080
[21:44:21] + encoder: H.265 (libx265)
[21:44:21] + preset: ultrafast
[21:44:21] + quality: 16.00 (RF)
[21:44:21] * audio track 1
[21:44:21] + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[21:44:21] + bitrate: 1536 kbps, samplerate: 48000 Hz
[21:44:21] + mixdown: Stereo
[21:44:21] + encoder: AAC (libavcodec)
[21:44:21] + bitrate: 320 kbps, samplerate: 48000 Hz
[21:44:21] sync: expecting 2757 video frames
x265 [info]: HEVC encoder version 2.1
x265 [info]: build info [Windows][GCC 5.3.1][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-4.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : dia / 57 / 0 / 2
x265 [info]: Keyframe min / max / scenecut : 60 / 600 / 0
x265 [info]: Lookahead / bframes / badapt : 5 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0
x265 [info]: References / ref-limit cu / depth : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock
[21:44:23] sync: first pts video is 0
[21:44:23] sync: Chapter 1 at frame 1 time 0
[21:44:23] sync: first pts audio 0x1 is 0
[21:47:45] sync: reached video pts 4051047, exiting early
[21:47:45] sync: reached audio 0x1 pts 4051200, exiting early
[21:47:45] work: average encoding speed for job is 13.369290 fps
[21:47:45] vfr: 2698 frames output, 0 dropped and 0 duped for CFR/PFR
[21:47:45] vfr: lost time: 0 (0 frames)
[21:47:45] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:47:45] pcm_s16le-decoder done: 2144 frames, 0 decoder errors
[21:47:45] v210-decoder done: 2741 frames, 0 decoder errors
[21:47:45] sync: got 2698 frames, 2757 expected
[21:47:45] sync: framerate min 59.960 fps, max 59.960 fps, avg 59.940 fps
x265 [info]: frame I: 5, Avg QP:22.75 kb/s: 23760.24
x265 [info]: frame P: 672, Avg QP:23.68 kb/s: 8032.77
x265 [info]: frame B: 2021, Avg QP:26.67 kb/s: 1321.27
x265 [info]: consecutive B-frames: 0.4% 0.0% 0.1% 99.4%
encoded 2698 frames in 204.38s (13.20 fps), 3034.51 kb/s, Avg QP:25.92
[21:47:45] mux: track 0, 2698 frames, 17084306 bytes, 3036.42 kbps, fifo 2048
[21:47:45] mux: track 1, 2110 frames, 1804738 bytes, 320.76 kbps, fifo 2048
[21:47:45] libhb: work result = 0
Encode done!
HandBrake has exited.