Loading...
Loading...
Download TikTok video samples for selected music or sounds, extract local audio references, and preserve manifests for reproducible music research archives.
npx skill4agent add postplusai/postplus-skills tiktok-music-archive-downloaderpostplus-sharedpostplus-shared../tiktok-music-sound-collector/SKILL.md../tiktok-research/SKILL.mdnode ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-runtime/scripts/download_videos_from_manifest_with_ytdlp.mjs \
--manifest <download-manifest.json> \
--output-dir <videos-dir> \
--report <download-report.json> \
--concurrency 2 \
--attempts 3{
"items": [
{
"sourceId": "musicid-videoid",
"sourceUrl": "https://www.tiktok.com/@user/video/123"
}
]
}postPageUrlsourceUrlyt_dlpffmpegm4affmpeg -y -i <video.mp4> -vn -c:a aac -b:a 192k <audio.m4a>wavffmpeg -y -i <video.mp4> -vn -ac 1 -ar 48000 <audio.wav><work-folder>/.postplus/tiktok-music-archive-downloader/<run-id>/
manifest/
download-manifest.json
download-report.json
videos/
audio/
index.jsonindex.jsonmusicIdmusicTitlesourceVideoUrlsourceCollectionPath../audio-transcription/SKILL.md../video-transcription/SKILL.md../subtitle-packager/SKILL.md<work-folder>/.postplus/tiktok-music-archive-downloader/.postplus/python3yt_dlpffmpegpython3python3yt_dlppython3 -m pip install --user yt-dlpffmpegffmpegpython3 --versionpython3 -c "import yt_dlp"ffmpeg -version