Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additonal output channel mappings. #1540

Open
Mister-XY opened this issue Aug 14, 2018 · 11 comments
Open

Add additonal output channel mappings. #1540

Mister-XY opened this issue Aug 14, 2018 · 11 comments

Comments

@Mister-XY
Copy link

Describe the change or feature you'd like to see added to HandBrake:

Hello, i missing a small function in audio encoding. I can set mono, stereo, dolby surround, dolby pro logic II, 5.1, 7.1. But in some old movies, i have a 4.0 Sound or a 5.0 or other sound.
If i want to transcode from 4.0 dts to AC3 i cannot change this. I must take 5.1 but in this case i have no 5.1 sound, i have only a 4.0 Sound. Is it possible to set the channels under "mixdown" to original and not to mono, stereo, dolby surround ....?

A clear and concise description of what you want to happen.

What version of HandBrake are you currently using? (e.g., 1.0.0)

Nightly
HandBrake version here.

What operating system and version are you running? (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

OS and version here.

HandBrake Activity Log required (see https://handbrake.fr/docs/en/latest/help/activity-log.html)

If the request is off the back of failure or unsupported file format, please post a lot as it can help us track down what is missing.

Drag and drop file or...

Paste log text between these markers.
@woodstockathbf
Copy link

Do you have a log from an encode of one of these sources, so we can see what handbrake found when reading the file?

@Mister-XY
Copy link
Author

I can make a log ok.

@Mister-XY
Copy link
Author

Mister-XY commented Aug 15, 2018

HandBrake Nightly 20180809212638-b0725f6-master (2018081001)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 7097 MB,
GPU Information:
AMD Radeon(TM) RX Vega 11 Graphics - 24.20.13001.1010
Screen: 1920x1080
Temp Dir: C:\Users\Thomas\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Thomas\AppData\Roaming\HandBrake\Nightly


Cannot load nvEncodeAPI64.dll
[07:01:52] hb_init: starting libhb thread

Starting Scan ...

[07:01:52] CPU:
[07:01:52] - logical processor count: 8
[07:01:52] Intel Quick Sync Video support: no
[07:01:52] hb_scan: path=E:\DVD\backup\Hot_Shots!_-Der_zweite_Versuch_t00.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\DVD\backup\Hot_Shots!
-Der_zweite_Versuch_t00.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[07:01:52] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[07:01:52] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\DVD\backup\Hot_Shots!
-_Der_zweite_Versuch_t00.mkv':
Metadata:
title : Hot Shots! - Der zweite Versuch
encoder : libmakemkv v1.12.3 (1.3.5/1.4.7) win(x64-release)
creation_time : 2018-08-15T04:41:11.000000Z
Duration: 01:28:32.56, start: 0.000000, bitrate: 32436 kb/s
Chapter #0:0: start 0.000000, end 297.797500
Metadata:
title : Chapter 01
Chapter #0:1: start 297.797500, end 411.160750
Metadata:
title : Chapter 02
Chapter #0:2: start 411.160750, end 573.406167
Metadata:
title : Chapter 03
Chapter #0:3: start 573.406167, end 1119.868750
Metadata:
title : Chapter 04
Chapter #0:4: start 1119.868750, end 1306.888917
Metadata:
title : Chapter 05
Chapter #0:5: start 1306.888917, end 1593.216625
Metadata:
title : Chapter 06
Chapter #0:6: start 1593.216625, end 2122.203417
Metadata:
title : Chapter 07
Chapter #0:7: start 2122.203417, end 2605.144208
Metadata:
title : Chapter 08
Chapter #0:8: start 2605.144208, end 3085.123708
Metadata:
title : Chapter 09
Chapter #0:9: start 3085.123708, end 3168.874042
Metadata:
title : Chapter 10
Chapter #0:10: start 3168.874042, end 3613.109500
Metadata:
title : Chapter 11
Chapter #0:11: start 3613.109500, end 4009.255250
Metadata:
title : Chapter 12
Chapter #0:12: start 4009.255250, end 4336.498833
Metadata:
title : Chapter 13
Chapter #0:13: start 4336.498833, end 4538.575708
Metadata:
title : Chapter 14
Chapter #0:14: start 4538.575708, end 4819.731583
Metadata:
title : Chapter 15
Chapter #0:15: start 4819.731583, end 4988.274958
Metadata:
title : Chapter 16
Chapter #0:16: start 4988.274958, end 5036.990292
Metadata:
title : Chapter 17
Chapter #0:17: start 5036.990292, end 5312.557250
Metadata:
title : Chapter 18
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
BPS-eng : 31635191
DURATION-eng : 01:28:32.557250000
NUMBER_OF_FRAMES-eng: 127374
NUMBER_OF_BYTES-eng: 21007969610
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(deu): Audio: dts (DTS), 48000 Hz, 4.0, fltp, 768 kb/s (default)
Metadata:
title : Surround 4.0
BPS-eng : 768000
DURATION-eng : 01:28:32.565333333
NUMBER_OF_FRAMES-eng: 498053
NUMBER_OF_BYTES-eng: 510006272
SOURCE_ID-eng : 001105
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(deu): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 29050
DURATION-eng : 01:27:51.662229166
NUMBER_OF_FRAMES-eng: 1616
NUMBER_OF_BYTES-eng: 19142758
SOURCE_ID-eng : 001209
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(deu): Subtitle: hdmv_pgs_subtitle (default)
Metadata:
BPS-eng : 1440
DURATION-eng : 01:27:51.662229166
NUMBER_OF_FRAMES-eng: 74
NUMBER_OF_BYTES-eng: 949154
SOURCE_ID-eng : 001209
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:01:52] scan: decoding previews for title 1
[07:01:52] scan: audio 0x1: dca, rate=48000Hz, bitrate=768000 Deutsch (DTS) (4.0 ch)
[07:02:00] scan: 40 previews, 1920x1080, 23.976 fps, autocrop = 20/20/0/2, aspect 16:9, PAR 1:1
[07:02:00] scan: supported video decoders: avcodec qsv
[07:02:00] libhb: scan thread found 1 valid title(s)

Processing Scan Information ...

Scan Finished ...

@Mister-XY
Copy link
Author

And here is a small encode log

HandBrake Nightly 20180809212638-b0725f6-master (2018081001)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 7097 MB,
GPU Information:
AMD Radeon(TM) RX Vega 11 Graphics - 24.20.13001.1010
Screen: 1920x1080
Temp Dir: C:\Users\Thomas\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Thomas\AppData\Roaming\HandBrake\Nightly


Starting Encode ...

[07:04:58] hb_init: starting libhb thread
[07:04:58] 1 job(s) to process
[07:04:58] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 384,
"DRC": 0.0,
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": 7,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
},
{
"Name": "Chapter 3"
},
{
"Name": "Chapter 4"
},
{
"Name": "Chapter 5"
},
{
"Name": "Chapter 6"
},
{
"Name": "Chapter 7"
},
{
"Name": "Chapter 8"
},
{
"Name": "Chapter 9"
},
{
"Name": "Chapter 10"
},
{
"Name": "Chapter 11"
},
{
"Name": "Chapter 12"
},
{
"Name": "Chapter 13"
},
{
"Name": "Chapter 14"
},
{
"Name": "Chapter 15"
},
{
"Name": "Chapter 16"
},
{
"Name": "Chapter 17"
},
{
"Name": "Chapter 18"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "E:\DVD\crf 20\Hot_Shots!_-Der_zweite_Versuch_t00.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"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": 11,
"Settings": {
"crop-bottom": "20",
"crop-left": "0",
"crop-right": "2",
"crop-top": "20",
"height": "1040",
"width": "1918"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 18
},
"Title": 1,
"Path": "E:\DVD\backup\Hot_Shots!
-Der_zweite_Versuch_t00.mkv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": true,
"Forced": false,
"ID": 2,
"Offset": 0,
"Track": 1
}
]
},
"Video": {
"Encoder": "x265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "main",
"Quality": 20.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[07:04:58] CPU:
[07:04:58] - logical processor count: 8
[07:04:58] Intel Quick Sync Video support: no
[07:04:58] hb_scan: path=E:\DVD\backup\Hot_Shots!
-Der_zweite_Versuch_t00.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\DVD\backup\Hot_Shots!
-Der_zweite_Versuch_t00.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[07:04:58] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[07:04:58] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\DVD\backup\Hot_Shots!
-_Der_zweite_Versuch_t00.mkv':
Metadata:
title : Hot Shots! - Der zweite Versuch
encoder : libmakemkv v1.12.3 (1.3.5/1.4.7) win(x64-release)
creation_time : 2018-08-15T04:41:11.000000Z
Duration: 01:28:32.56, start: 0.000000, bitrate: 32436 kb/s
Chapter #0:0: start 0.000000, end 297.797500
Metadata:
title : Chapter 01
Chapter #0:1: start 297.797500, end 411.160750
Metadata:
title : Chapter 02
Chapter #0:2: start 411.160750, end 573.406167
Metadata:
title : Chapter 03
Chapter #0:3: start 573.406167, end 1119.868750
Metadata:
title : Chapter 04
Chapter #0:4: start 1119.868750, end 1306.888917
Metadata:
title : Chapter 05
Chapter #0:5: start 1306.888917, end 1593.216625
Metadata:
title : Chapter 06
Chapter #0:6: start 1593.216625, end 2122.203417
Metadata:
title : Chapter 07
Chapter #0:7: start 2122.203417, end 2605.144208
Metadata:
title : Chapter 08
Chapter #0:8: start 2605.144208, end 3085.123708
Metadata:
title : Chapter 09
Chapter #0:9: start 3085.123708, end 3168.874042
Metadata:
title : Chapter 10
Chapter #0:10: start 3168.874042, end 3613.109500
Metadata:
title : Chapter 11
Chapter #0:11: start 3613.109500, end 4009.255250
Metadata:
title : Chapter 12
Chapter #0:12: start 4009.255250, end 4336.498833
Metadata:
title : Chapter 13
Chapter #0:13: start 4336.498833, end 4538.575708
Metadata:
title : Chapter 14
Chapter #0:14: start 4538.575708, end 4819.731583
Metadata:
title : Chapter 15
Chapter #0:15: start 4819.731583, end 4988.274958
Metadata:
title : Chapter 16
Chapter #0:16: start 4988.274958, end 5036.990292
Metadata:
title : Chapter 17
Chapter #0:17: start 5036.990292, end 5312.557250
Metadata:
title : Chapter 18
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
BPS-eng : 31635191
DURATION-eng : 01:28:32.557250000
NUMBER_OF_FRAMES-eng: 127374
NUMBER_OF_BYTES-eng: 21007969610
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(deu): Audio: dts (DTS), 48000 Hz, 4.0, fltp, 768 kb/s (default)
Metadata:
title : Surround 4.0
BPS-eng : 768000
DURATION-eng : 01:28:32.565333333
NUMBER_OF_FRAMES-eng: 498053
NUMBER_OF_BYTES-eng: 510006272
SOURCE_ID-eng : 001105
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(deu): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 29050
DURATION-eng : 01:27:51.662229166
NUMBER_OF_FRAMES-eng: 1616
NUMBER_OF_BYTES-eng: 19142758
SOURCE_ID-eng : 001209
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(deu): Subtitle: hdmv_pgs_subtitle (default)
Metadata:
BPS-eng : 1440
DURATION-eng : 01:27:51.662229166
NUMBER_OF_FRAMES-eng: 74
NUMBER_OF_BYTES-eng: 949154
SOURCE_ID-eng : 001209
_STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2018-08-15 04:41:11
STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:04:58] scan: decoding previews for title 1
[07:04:58] scan: audio 0x1: dca, rate=48000Hz, bitrate=768000 Deutsch (DTS) (4.0 ch)
[07:05:00] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/20/0/2, aspect 16:9, PAR 1:1
[07:05:00] scan: supported video decoders: avcodec qsv
[07:05:00] libhb: scan thread found 1 valid title(s)
[07:05:00] starting job
[07:05:00] decomb filter thread started for segment 0
[07:05:00] decomb filter thread started for segment 1
[07:05:00] decomb filter thread started for segment 2
[07:05:00] decomb filter thread started for segment 4
[07:05:00] decomb filter thread started for segment 3
[07:05:00] decomb filter thread started for segment 6
[07:05:00] decomb filter thread started for segment 5
[07:05:00] decomb filter thread started for segment 7
[07:05:00] decomb check thread started for segment 0
[07:05:00] mask filter thread started for segment 2
[07:05:00] decomb check thread started for segment 2
[07:05:00] decomb check thread started for segment 4
[07:05:00] mask filter thread started for segment 4
[07:05:00] decomb check thread started for segment 5
[07:05:00] decomb check thread started for segment 6
[07:05:00] decomb check thread started for segment 7
[07:05:00] mask filter thread started for segment 0
[07:05:00] mask erode thread started for segment 5
[07:05:00] mask filter thread started for segment 1
[07:05:00] mask filter thread started for segment 3
[07:05:00] decomb check thread started for segment 3
[07:05:00] mask filter thread started for segment 5
[07:05:00] mask filter thread started for segment 6
[07:05:00] mask filter thread started for segment 7
[07:05:00] mask erode thread started for segment 0
[07:05:00] mask erode thread started for segment 1
[07:05:00] mask erode thread started for segment 2
[07:05:00] mask erode thread started for segment 4
[07:05:00] decomb check thread started for segment 1
[07:05:00] mask erode thread started for segment 3
[07:05:00] mask erode thread started for segment 6
[07:05:00] mask erode thread started for segment 7
[07:05:00] mask dilate thread started for segment 0
[07:05:00] mask dilate thread started for segment 1
[07:05:00] mask dilate thread started for segment 3
[07:05:00] mask dilate thread started for segment 4
[07:05:00] mask dilate thread started for segment 2
[07:05:00] mask dilate thread started for segment 5
[07:05:00] mask dilate thread started for segment 6
[07:05:00] job configuration:
[07:05:00] * source
[07:05:00] + E:\DVD\backup\Hot_Shots!
-Der_zweite_Versuch_t00.mkv
[07:05:00] + title 1, chapter(s) 1 to 18
[07:05:00] + container: matroska,webm
[07:05:00] + data rate: 32436 kbps
[07:05:00] * destination
[07:05:00] + E:\DVD\crf 20\Hot_Shots!
-_Der_zweite_Versuch_t00.mkv
[07:05:00] + container: Matroska (libavformat)
[07:05:00] mask dilate thread started for segment 7
[07:05:00] + chapter markers
[07:05:00] * video track
[07:05:00] + decoder: h264
[07:05:00] + filters
[07:05:00] yadif thread started for segment 0
[07:05:00] + 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)
[07:05:00] + Decomb (mode=39)
[07:05:00] + Framerate Shaper (mode=1)
[07:05:00] + frame rate: 23.976 fps -> constant 23.976 fps
[07:05:00] + Crop and Scale (width=1918:height=1040:crop-top=20:crop-bottom=20:crop-left=0:crop-right=2)
[07:05:00] + source: 1920 * 1080, crop (20/20/0/2): 1918 * 1040, scale: 1918 * 1040
[07:05:00] + Output geometry
[07:05:00] + storage dimensions: 1918 x 1040
[07:05:00] + pixel aspect ratio: 1 : 1
[07:05:00] + display dimensions: 1918 x 1040
[07:05:00] + encoder: H.265 (libx265)
[07:05:00] + preset: medium
[07:05:00] + profile: main
[07:05:00] + quality: 20.00 (RF)
[07:05:00] * subtitle track 1, Deutsch [PGS] (track 1, id 0x3, Picture) -> Passthrough, Default
[07:05:00] * audio track 1
[07:05:00] yadif thread started for segment 1
[07:05:00] + decoder: Deutsch (DTS) (4.0 ch) (track 1, id 0x1)
[07:05:00] + bitrate: 768 kbps, samplerate: 48000 Hz
[07:05:00] + mixdown: 5.1 Channels
[07:05:00] + dither: none
[07:05:00] + encoder: AC3 (libavcodec)
[07:05:00] + bitrate: 384 kbps, samplerate: 48000 Hz
[07:05:00] yadif thread started for segment 2
[07:05:00] yadif thread started for segment 3
[07:05:00] yadif thread started for segment 4
[07:05:00] yadif thread started for segment 5
[07:05:00] yadif thread started for segment 6
[07:05:00] yadif thread started for segment 7
[07:05:00] sync: expecting 127373 video frames
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[07:05:00] sync: first pts video is 0
[07:05:00] sync: "Chapter 1" (1) at frame 1 time 0
[07:05:00] sync: first pts audio 0x1 is 0

Encode Stopped

[07:05:27] work: average encoding speed for job is 11.281106 fps
[07:05:28] comb detect: heavy 0 | light 0 | uncombed 293 | total 293
[07:05:28] decomb: deinterlaced 0 | blended 0 | unfiltered 284 | total 284
[07:05:28] vfr: 276 frames output, 0 dropped and 0 duped for CFR/PFR
[07:05:28] vfr: lost time: 0 (0 frames)
[07:05:28] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:05:28] dca-decoder done: 1533 frames, 0 decoder errors
[07:05:28] h264-decoder done: 384 frames, 0 decoder errors
[07:05:28] sync: got 344 frames, 127373 expected
[07:05:28] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x265 [info]: frame I: 1, Avg QP:23.30 kb/s: 250.31
x265 [info]: frame P: 54, Avg QP:21.56 kb/s: 6934.14
x265 [info]: frame B: 182, Avg QP:24.40 kb/s: 3452.86
x265 [info]: Weighted P-Frames: Y:20.4% UV:14.8%
x265 [info]: consecutive B-frames: 8.8% 1.8% 5.3% 17.5% 66.7%
encoded 237 frames in 27.96s (8.48 fps), 4232.55 kb/s, Avg QP:23.75
[07:05:28] mux: track 0, 236 frames, 5209477 bytes, 2904.71 kbps, fifo 256
[07:05:28] mux: track 1, 447 frames, 686592 bytes, 382.83 kbps, fifo 512
[07:05:28] mux: track 2, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[07:05:28] libhb: work result = 1

Encode Completed ...

@bradleysepos bradleysepos changed the title Missing a small function in Audio encoding Add additonal output channel mappings. Sep 4, 2018
@bradleysepos bradleysepos added this to the Unscheduled milestone Sep 4, 2018
@Mister-XY
Copy link
Author

I Think, you are using ffmpeg for the encoding. Is it not an easy way for the ffmpeg api
with the command ffmpeg.exe -i -b:a (for the source audio channels)?
Or what is your command for the audio encode?

@woodstockathbf
Copy link

The current release version of isn't using ffmpeg at all, and the future versions of handbrake will not be using the command line ffmpeg program.

@Mister-XY
Copy link
Author

But the nightly use the ffmpeg engine?

@woodstockathbf
Copy link

Yes, the nightly is "the future", and it is using the ffmpeg library.

My point was that it isn't quite as simple as adding parameters to a command line.

@Mister-XY
Copy link
Author

Mister-XY commented Nov 8, 2018

So I get it right, it's not so easy to create a new "Mixtdown" field "Original Channel Layout" instead of e.g. 5.1, stereo, mono etc. where then the channel number remains the same instead of counting the channels? For example I have 2-3 movies
here, for example, only 4 channels or 5 have. These are then calculated with 5.1 channels and so I have instead of 4 channels 5.1

Thats my Option
channel layout2

Thats my Option
channel layout3

This is what i mean.
channel layout

And here is a 3.1 version.

channel mapping

@jstebbins
Copy link
Contributor

jstebbins commented Nov 9, 2018

HandBrake sanitizes the list of available mixdown options based on what the encoder is capable of. Every encoder does not support every mixdown option. So we would need to devise a way to test if the selected encoder supports the original layout and add that to the options list if it is supported.

Currently we don't have a way of performing this test. We currently have a hard coded list of what mixdowns are supported by which encoders. So there is additional thought that has to go into this.

@Rumourd
Copy link

Rumourd commented Feb 26, 2019

AC3 4.0 is Dolby Surround (Dolby 2.0, wherein 4 tracks (LCRS) are matrixed into two tracks, that are then decoded back to 4 tracks by a home theatre system).

However, I find the AC3 encoder doesn't properly re-encode, say, a DTS-HD Lt/Rt track into a 4.0 configuration, it seems to only re-encode to Dolby Stereo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants