Merge pull request #681 from jmt-gh/m4b_no_coverart

Fix cover art not being generated for M4B export
This commit is contained in:
advplyr
2022-06-04 20:56:04 -05:00
committed by GitHub

View File

@@ -151,7 +151,7 @@ class AbMergeManager {
input: coverPath,
options: ['-f image2pipe']
})
ffmpegOptions.push('-vf [2:v]crop=trunc(iw/2)*2:trunc(ih/2)*2')
ffmpegOptions.push('-c:v copy')
ffmpegOptions.push('-map 2:v')
}
@@ -281,4 +281,4 @@ class AbMergeManager {
this.downloads = this.downloads.filter(d => d.id !== download.id)
}
}
module.exports = AbMergeManager
module.exports = AbMergeManager