Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m4a 形式のサポートをどうするか #16

Open
Asteriskx opened this issue Jul 21, 2018 · 3 comments
Open

m4a 形式のサポートをどうするか #16

Asteriskx opened this issue Jul 21, 2018 · 3 comments

Comments

@Asteriskx
Copy link
Member

No description provided.

@marihachi
Copy link
Contributor

M4Aの規格に従えば取得できそう
PICTチャンクってやつがそれか

@marihachi
Copy link
Contributor

これもし対応すれば、mp4に埋め込まれたアルバムアートも取れるなw

@Asteriskx
Copy link
Member Author

M4Aは"chunk"という塊が連なって構成されています。
ぞれぞれのchunkは8 byteのヘッダを持っています。
その8 byteのうち、最初の4 byteにはchunkの大きさが格納されており、次の4 byteにはchunkの種類が記述してあります。
chunkの種類は事前に定義された指定子を使用し、以下のようなものがあります。
ex) "ftyp", "mdat", "moov", "pnot", "udta", "uuid", "moof", "free", "skip", "jP2", "wide", "load", "ctab", "imap", "matt", "kmat", "clip", "sync", "chap", "tmcd", "scpt", "ssrc", "PICT"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants