Closed lal12 closed 5 years ago
Running HandBrakeCLI -i dvd.iso -t 1 --min-duration 30 -f av_mkv -o S4E05.mkv --all-audio --aencoder copy --aname English,Deutsch,asd leads to the error
HandBrakeCLI -i dvd.iso -t 1 --min-duration 30 -f av_mkv -o S4E05.mkv --all-audio --aencoder copy --aname English,Deutsch,asd
ERROR: Invalid audio encoder ((null)) Failed to initialize job
The problem only occurs if I specify more than two audio track names on --aname.
--aname
1.2.0
18.04 LTS
[16:12:07] hb_init: starting libhb thread [16:12:07] thread 7f5780351700 started ("libhb") HandBrake 1.2.0 (2018122200) - Linux x86_64 - https://handbrake.fr 8 CPUs detected Opening dvd.iso... [16:12:07] CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz [16:12:07] - Intel microarchitecture Kaby Lake [16:12:07] - logical processor count: 8 [16:12:07] hb_scan: path=dvd.iso, title_index=1 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv [16:12:07] bd: not a bd - trying as a stream/file instead libdvdnav: Using dvdnav version 6.0.0 libdvdread: Encrypted DVD support unavailable. libdvdnav: DVD Title: DVD1 libdvdnav: DVD Serial Number: 2b147197 libdvdnav: DVD Title (Alternative): libdvdnav: DVD disk reports itself with Region mask 0x00f50000. Regions: 2 4 libdvdread: Encrypted DVD support unavailable. [16:12:07] scan: DVD has 14 title(s) [16:12:07] scan: scanning title 1 [16:12:07] scan: opening IFO for VTS 1 [16:12:07] scan: duration is 00:42:27 (2547920 ms) [16:12:07] pgc_id: 1, pgn: 1: pgc: 0x7f5770015800 [16:12:07] scan: vts=1, ttn=1, cells=0->3, blocks=0->918693, 918694 blocks [16:12:07] scan: checking audio 1 [16:12:07] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1 [16:12:07] scan: checking audio 2 [16:12:07] scan: id=0x81bd, lang=Deutsch (AC3), 3cc=deu ext=1 [16:12:07] scan: checking audio 3 [16:12:07] scan: id=0x82bd, lang=español (AC3), 3cc=spa ext=1 [16:12:07] scan: checking audio 4 [16:12:07] scan: id=0x83bd, lang=English (AC3), 3cc=eng ext=3 [16:12:07] scan: checking subtitle 1 [16:12:07] scan: id=0x20bd, lang=English Closed Caption (Wide Screen) [VOBSUB], 3cc=eng ext=5 [16:12:07] scan: checking subtitle 2 [16:12:07] scan: id=0x21bd, lang=Deutsch Closed Caption (Wide Screen) [VOBSUB], 3cc=deu ext=5 [16:12:07] scan: checking subtitle 3 [16:12:07] scan: id=0x22bd, lang=svenska (Wide Screen) [VOBSUB], 3cc=swe ext=1 [16:12:07] scan: checking subtitle 4 [16:12:07] scan: id=0x23bd, lang=norsk (Wide Screen) [VOBSUB], 3cc=nor ext=1 [16:12:07] scan: checking subtitle 5 [16:12:07] scan: id=0x24bd, lang=dansk (Wide Screen) [VOBSUB], 3cc=dan ext=1 [16:12:07] scan: title 1 has 4 chapters [16:12:07] scan: chap 1 c=0->0, b=0->257236 (257237), 668840 ms [16:12:07] scan: chap 2 c=1->1, b=257237->457972 (200736), 550800 ms [16:12:07] scan: chap 3 c=2->2, b=457973->724730 (266758), 766280 ms [16:12:07] scan: chap 4 c=3->3, b=724731->918693 (193963), 562000 ms [16:12:07] scan: aspect = 16:9 [16:12:07] scan: decoding previews for title 1 libdvdnav: DVD disk reports itself with Region mask 0x00f50000. Regions: 2 4 [16:12:07] scan: title angle(s) 1 [ac3 @ 0x7f577001f340] frame sync error [ac3 @ 0x7f5770071e80] frame sync error [ac3 @ 0x7f5770072ec0] frame sync error [ac3 @ 0x7f5770072ec0] frame sync error [16:12:07] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) [ac3 @ 0x7f5770072ec0] frame sync error [16:12:07] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch) [ac3 @ 0x7f5770072ec0] frame sync error [16:12:07] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=448000 español (AC3) (5.1 ch) [ac3 @ 0x7f5770072ec0] frame sync error [16:12:07] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=224000 English (AC3) (Director's Commentary 1) (2.0 ch) (Dolby Surround) [16:12:07] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45 [16:12:07] libhb: scan thread found 1 valid title(s) + Using preset: CLI Default + title 1: + vts 1, ttn 1, cells 0->3 (918694 blocks) + duration: 00:42:27 + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps + autocrop: 0/0/0/0 + chapters: + 1: cells 0->0, 257237 blocks, duration 00:11:09 + 2: cells 1->1, 200736 blocks, duration 00:09:11 + 3: cells 2->2, 266758 blocks, duration 00:12:46 + 4: cells 3->3, 193963 blocks, duration 00:09:22 + audio tracks: + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps + 2, Deutsch (AC3) (5.1 ch) (iso639-2: deu), 48000Hz, 448000bps + 3, español (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 448000bps + 4, English (AC3) (Director's Commentary 1) (2.0 ch) (Dolby Surround) (iso639-2: eng), 48000Hz, 224000bps + subtitle tracks: + 1, English Closed Caption (Wide Screen) [VOBSUB] + 2, Deutsch Closed Caption (Wide Screen) [VOBSUB] + 3, svenska (Wide Screen) [VOBSUB] + 4, norsk (Wide Screen) [VOBSUB] + 5, dansk (Wide Screen) [VOBSUB] ERROR: Invalid audio encoder ((null)) Failed to initialize job HandBrake has exited.
Thanks for the report. Working on a PR to fix it.
Description of the problem
Running
HandBrakeCLI -i dvd.iso -t 1 --min-duration 30 -f av_mkv -o S4E05.mkv --all-audio --aencoder copy --aname English,Deutsch,asd
leads to the errorThe problem only occurs if I specify more than two audio track names on
--aname
.HandBrake version
1.2.0
Operating system and version Ubuntu
18.04 LTS
Error message text or screenshot
STDOUT