Показать сообщение отдельно
Старый 03.05.2025, 09:10   #2
tlya85
Главный Кинооператор
Медаль пользователю. ЗОЛОТО Новичок
Регистрация: 06.02.2023
Сообщения: 94
Репутация: 7
Спецификация и обложка

Ссылка на спецификацию MKV
https://www.matroska.org/technical/basics.html
Ссылка на спецификацию обложки (cover)

https://www.ietf.org/rfc/rfc9559.html#name-cover-art


Only JPEG and PNG image formats SHOULD be used for cover art pictures.
There can be two different covers for a movie/album: a portrait style (e.g., a DVD case) and a landscape style (e.g., a wide banner ad).
Только JPEG и PNG. И всего два варианта - портретный(вертикальный) и лэндскейпный(горизонтальный).


There can be two versions of the same cover, the normal cover and the small cover. The dimension of the normal cover SHOULD be 600 pixels on the smallest side – for example, 960x600 for landscape, 600x800 for portrait, or 600x600 for square. The dimension of the small cover SHOULD be 120 pixels on the smallest side – for example, 192x120 or 120x160.
два варианта normal и small. normal должен быть по одной из сторон равен 600 пикселей. Если портретный то по горизонтали должно быть ровно 600 пикселей, а по вертикали - не меньше 600. Если лэндскейпный - то по вертикали должно быть 600 пикселей, а по горизонтали - не меньше 600.
Для маленькой (small) обложки - тоже самое про 120 пикселей

Versions of cover art can be differentiated by the filename, which is stored in the FileName Element. The default filename of the normal cover in square or portrait mode is cover.(jpg|png). When stored, the normal cover SHOULD be the first Attachment in storage order. The small cover SHOULD be prefixed with “small_”, such as small_cover.(jpg|png). The landscape variant SHOULD be suffixed with “_land”, such as cover_land.(jpg|png). The filenames are case sensitive.
тип обычная (normal) и маленькая(small) определяется по имени. Если есть оба варианта - то нормальная(normal) должна быть первой в списке attachments. А маленькая обложка должна начинаться с "small_”, типа small_cover.jpg. имена чувствительные к регистру. Не надо называть обложку sMalL_...
  Ответить с цитированием