You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
884B

  1. #ifndef _mov_udta_h_
  2. #define _mov_udta_h_
  3. #include <stddef.h>
  4. #include <stdint.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. // https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/Metadata/Metadata.html
  9. struct mov_udta_meta_t
  10. {
  11. //char* title;
  12. //char* artist;
  13. //char* album_artist;
  14. //char* album;
  15. //char* date;
  16. //char* comment;
  17. //char* genre;
  18. //char* copyright;
  19. //char* lyrics;
  20. //char* description;
  21. //char* synopsis;
  22. //char* show;
  23. //char* episode_id;
  24. //char* network;
  25. //char* keywords;
  26. //char* season_num;
  27. //char* media_type;
  28. //char* hd_video;
  29. //char* gapless_playback;
  30. //char* compilation;
  31. uint8_t* cover; // cover binary data, jpeg/png only
  32. int cover_size; // cover binnary data length in byte
  33. };
  34. int mov_udta_meta_write(const struct mov_udta_meta_t* meta, void* data, int bytes);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /* !_mov_udta_h_ */