ebb-earl-co / tidal-wave

Waving at the TIDAL music service
Apache License 2.0
35 stars 2 forks source link

Video Metadata Tags #127

Closed ebb-earl-co closed 3 months ago

ebb-earl-co commented 3 months ago

As videos are most likely always going to be H.264 + AAC stereo .mp4 files from TIDAL, the metadata around this is pretty well established. I am using as my guide:

There is the mp4v2 tool, but mutagen handles all the tags so far, and adding another binary would be silly. So, read the above guides and implement as many of the tags as possible from the (limited) TIDAL API endpoints for music videos.

ebb-earl-co commented 3 months ago

New resource: QuikTime TagNames. For the tag stik (i.e. MediaType), the value of 1 means music and the value of 6 means music video!

ebb-earl-co commented 3 months ago

Just a note here that all of this work is moot for those who use the pyinstaller-created binaries. This is because I cannot figure out how to compile FFmpeg with libopenh264 and configure minimal filters/bitstreams/operations/whatever-they-are-called to simply remux the concatenated .ts files into an MP4... Because the user of those binaries will leave the videos retrieved as they were, not even attempting to add metadata with FFmpeg :disappointed:

ebb-earl-co commented 3 months ago

Brought into trunk upon commit 62636164ee83f7929753581c7cb35970ed7b71a9