Added support for embedding cover artwork to AAC encoder.
This commit is contained in:
parent
bbf7e8f446
commit
cb34771fee
@ -11,7 +11,7 @@
|
|||||||
<li>Added an option to manually specify the number of parallel instances
|
<li>Added an option to manually specify the number of parallel instances
|
||||||
<li>Added an option to select a user-defined TEMP directory
|
<li>Added an option to select a user-defined TEMP directory
|
||||||
<li>Added an option to shutdown the computer as soon as all files are completed
|
<li>Added an option to shutdown the computer as soon as all files are completed
|
||||||
<li>Added support for embedding cover artwork (currently with LAME only)
|
<li>Added support for embedding cover artwork (currently works with LAME and Nero AAC only)
|
||||||
<li>Updated Qt runtime libraries to v4.7.2
|
<li>Updated Qt runtime libraries to v4.7.2
|
||||||
<li>Updated LAME encoder to v3.99.0.14 (2011-02-28), compiled with ICL 12.0.2
|
<li>Updated LAME encoder to v3.99.0.14 (2011-02-28), compiled with ICL 12.0.2
|
||||||
<li>Updated Vorbis encoder to v2.87 using aoTuV Beta-6.02 (2011-02-28), compiled with ICL 11.1 and MSVC 9.0
|
<li>Updated Vorbis encoder to v2.87 using aoTuV Beta-6.02 (2011-02-28), compiled with ICL 11.1 and MSVC 9.0
|
||||||
|
@ -188,6 +188,7 @@ bool AACEncoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
|
|||||||
if(!metaInfo.fileComment().isEmpty()) args << QString("-meta:comment=%1").arg(metaInfo.fileComment());
|
if(!metaInfo.fileComment().isEmpty()) args << QString("-meta:comment=%1").arg(metaInfo.fileComment());
|
||||||
if(metaInfo.fileYear()) args << QString("-meta:year=%1").arg(QString::number(metaInfo.fileYear()));
|
if(metaInfo.fileYear()) args << QString("-meta:year=%1").arg(QString::number(metaInfo.fileYear()));
|
||||||
if(metaInfo.filePosition()) args << QString("-meta:track=%1").arg(QString::number(metaInfo.filePosition()));
|
if(metaInfo.filePosition()) args << QString("-meta:track=%1").arg(QString::number(metaInfo.filePosition()));
|
||||||
|
if(!metaInfo.fileCover().isEmpty()) args << QString("-add-cover:%1:%2").arg("front", metaInfo.fileCover());
|
||||||
|
|
||||||
if(!startProcess(process, m_binary_tag, args))
|
if(!startProcess(process, m_binary_tag, args))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user