Wrong YouTube video metadata fields - "Movie name" and "ARTIST".
See original GitHub issueChecklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2022.03.08.1. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Russia
Description
If YouTube video has detected music in the description, --embed-metadata
embeds title and artist of the song instead of the video title (Movie title
field) and channel name (ARTIST
field).
Example:
yt-dlp 3YvGFsc0SYw --embed-metadata
: expected Movie name
is “I sit” and expected ARTIST
is “Owlspark”.
Got “Sugar” and “System Of A Down” instead (detected song title and artist).
Verbose log
[debug] Command-line config: ['3YvGFsc0SYw', '--embed-metadata', '-vU']
[debug] Encodings: locale cp1251, fs utf-8, out utf-8 (No ANSI), err utf-8 (No ANSI), pref cp1251
[debug] yt-dlp version 2022.03.08.1 [c0c2c57] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg n4.4.1-3-g832b46a96e-20211206 (setts)
[debug] Optional libraries: brotli, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.1
yt-dlp is up to date (2022.03.08.1)
[debug] [youtube] Extracting URL: 3YvGFsc0SYw
[youtube] 3YvGFsc0SYw: Downloading webpage
[youtube] 3YvGFsc0SYw: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 3YvGFsc0SYw: Downloading 1 format(s): 247+251
[debug] Invoking downloader on "https://rr7---sn-n3toxu-axql.googlevideo.com/videoplayback?expire=1647906325&ei=tbk4YpTJJIWO7AS11K3wBg&ip=188.243.183.25&id=o-ANnrf-dMdYXrKZuj_KQz_D0OauYlC8PyHTnN_goR5dIH&itag=247&source=youtube&requiressl=yes&mh=zZ&mm=31%2C29&mn=sn-n3toxu-axql%2Csn-axq7sn7l&ms=au%2Crdu&mv=m&mvi=7&pl=21&initcwndbps=1070000&vprv=1&mime=video%2Fwebm&gir=yes&clen=498966&dur=11.499&lmt=1645625609945541&mt=1647884217&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5437434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgQhKqsRgWG7u1-7Hls_b4qBY-SJvNktif-h9u-L4x-NMCIHeGUfgX2YMWr9V4ZbKl-iVuqfZhjsTX36W3-2ESTDAr&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALOL3VZVMDuWkyRagFLMN2J7mJOSeGVTmlVCADlzn5PNAiEA8gQbng072qAg8hoa1MtGhtgTPeP-LvGagP7v_ASeREk%3D"
[download] Destination: I sit [3YvGFsc0SYw].f247.webm
[download] 100% of 487.27KiB in 00:00
[debug] Invoking downloader on "https://rr7---sn-n3toxu-axql.googlevideo.com/videoplayback?expire=1647906325&ei=tbk4YpTJJIWO7AS11K3wBg&ip=188.243.183.25&id=o-ANnrf-dMdYXrKZuj_KQz_D0OauYlC8PyHTnN_goR5dIH&itag=251&source=youtube&requiressl=yes&mh=zZ&mm=31%2C29&mn=sn-n3toxu-axql%2Csn-axq7sn7l&ms=au%2Crdu&mv=m&mvi=7&pl=21&initcwndbps=1070000&vprv=1&mime=audio%2Fwebm&gir=yes&clen=169344&dur=11.621&lmt=1645625530102349&mt=1647884217&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAPxIgzL-P1QesSJ2s4Cx3gZKyXh9c-fDn5J41FheXrwCAiBy9m7Hx5xiZWKUco_TSQjd7LvNZULD-rYSmjyZJqUotQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALOL3VZVMDuWkyRagFLMN2J7mJOSeGVTmlVCADlzn5PNAiEA8gQbng072qAg8hoa1MtGhtgTPeP-LvGagP7v_ASeREk%3D"
[download] Destination: I sit [3YvGFsc0SYw].f251.webm
[download] 100% of 165.38KiB in 00:00
[Merger] Merging formats into "I sit [3YvGFsc0SYw].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:I sit [3YvGFsc0SYw].f247.webm" -i "file:I sit [3YvGFsc0SYw].f251.webm" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:I sit [3YvGFsc0SYw].temp.webm"
Deleting original file I sit [3YvGFsc0SYw].f251.webm (pass -k to keep)
Deleting original file I sit [3YvGFsc0SYw].f247.webm (pass -k to keep)
[Metadata] Adding metadata to "I sit [3YvGFsc0SYw].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:I sit [3YvGFsc0SYw].webm" -map 0 -dn -ignore_unknown -c copy -metadata "title=Sugar" -metadata "date=20220214" -metadata "description=Edit: I wont unlist this vid cause a lot of people said they didnt want me to! aa sorry i keep saying that im gonna unlist videos, i get kinda nervous when i post things that arent what i usually post!
I made this in flipaclip and I have no idea how to draw in flipaclip so this looks awful but oh well I'm gonna unlist this vid really soon" -metadata "synopsis=Edit: I wont unlist this vid cause a lot of people said they didnt want me to! aa sorry i keep saying that im gonna unlist videos, i get kinda nervous when i post things that arent what i usually post!
I made this in flipaclip and I have no idea how to draw in flipaclip so this looks awful but oh well I'm gonna unlist this vid really soon" -metadata "purl=https://www.youtube.com/watch?v=3YvGFsc0SYw" -metadata "comment=https://www.youtube.com/watch?v=3YvGFsc0SYw" -metadata "artist=System Of A Down" -movflags "+faststart" "file:I sit [3YvGFsc0SYw].temp.webm"
Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (12 by maintainers)
Top Results From Across the Web
Fix incorrect track, album, or artist information - YouTube Help
See Creating Art Tracks for details about which metadata fields map to the Art Track and its ... Art track is not associated...
Read more >How to edit a movies meta data when in Video Station
In some instances Video Station can make a mistake, or pull meta data for the wrong film. As its not immediately obvious how...
Read more >Davinci Resolve 18 - Metadata Management - YouTube
Short tutorial on Metadata management for those big projects where you need to be able to easily find footage. Metadata helps you identify ......
Read more >What Is Music Metadata? - YouTube
How do you add metadata to music files? What is metadata in music? This video is audio metadata explained, including what metadata to...
Read more >HOW TO: Fix the Timezone and Date Metadata in your Video ...
I depend on the Date Created metadata field heavily while editing videos in DaVinci Resolve and Adobe Premiere. Sometimes it's WRONG !
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
From https://github.com/yt-dlp/yt-dlp#modifying-metadata
What OP wants here is to override
meta_title
, nottitle
So:
Then, to prevent other people from searching through closed issues, this solution of the problem (adding a couple of
--parse-metadata
) should be mentioned somewhere (“README.md”,--help
, etc.).