rigaya / QSVEnc

QSVによる高速エンコードの性能実験
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Other
313 stars 28 forks source link

Adding/Embedding fonts in MKV #116

Closed quamt closed 1 year ago

quamt commented 1 year ago

Hello @rigaya

I want to check if it is possible to add fonts to mkv files, same as mkvtoolnix does when encoding the files? This would be especially helpful for subtitles in ASSformat.

I saw this option --attachment-source but not sure if this can be used for fonts and if yes, what the mimetype would be.

Thank you

quamt commented 1 year ago

I did try --attachment-source "arial.ttf":metadata=mimetype=font/ttf But this errors out with:

Error: Unknown option: font/ttf

Did you mean option(s) below?
  --output
QSVEncC.exe finished with error!
rigaya commented 1 year ago

I have added example of using --attachment-source with fonts on the documents.

quamt commented 1 year ago

Thank you @rigaya Will report back.

quamt commented 1 year ago

@rigaya

Thank you. Works: Attachments : ARIAL.TTF / TREBUC.TTF / VERDANA.TTF