Skip to content

feat: embed YouTube metadata into downloaded MP4 files#5

Merged
jamie-bear merged 1 commit into
masterfrom
claude/youtube-metadata-mapping-Bxia7
Mar 19, 2026
Merged

feat: embed YouTube metadata into downloaded MP4 files#5
jamie-bear merged 1 commit into
masterfrom
claude/youtube-metadata-mapping-Bxia7

Conversation

@jamie-bear

Copy link
Copy Markdown
Owner

Map YouTube video metadata to MP4 container metadata via FFmpeg:

  • Video URL → purl (Author URL)
  • Upload date → creation_time (Media created) and date
  • Video title → title
  • Channel name → artist
  • Tags → keywords
  • Video URL, channel URL, and description excerpt → comment

Both code paths (segment cut and full video) now embed metadata. Full video downloads use -c copy to avoid re-encoding.

https://claude.ai/code/session_01PAMMadkSxmHaFft3guok85

Map YouTube video metadata to MP4 container metadata via FFmpeg:
- Video URL → purl (Author URL)
- Upload date → creation_time (Media created) and date
- Video title → title
- Channel name → artist
- Tags → keywords
- Video URL, channel URL, and description excerpt → comment

Both code paths (segment cut and full video) now embed metadata.
Full video downloads use -c copy to avoid re-encoding.

https://claude.ai/code/session_01PAMMadkSxmHaFft3guok85
@jamie-bear
jamie-bear merged commit 8d8393a into master Mar 19, 2026
1 check passed
@jamie-bear
jamie-bear deleted the claude/youtube-metadata-mapping-Bxia7 branch March 19, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants