Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP3 metadata #9960

Closed
k2kemp opened this issue Jun 30, 2016 · 1 comment
Closed

MP3 metadata #9960

k2kemp opened this issue Jun 30, 2016 · 1 comment

Comments

@k2kemp
Copy link

@k2kemp k2kemp commented Jun 30, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.06.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [X ] I've verified and I assure that I'm running youtube-dl 2016.06.27

Before submitting an issue make sure you have:

  • [X ] At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [X ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I want to add metadata to audio-extract(MP3). I use --add-metadata but it don't seem to do anything.


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl -v --metadata-from-title "%(artist)s - %(title)s" -x --audio-quality=4 --audio-format=mp3 -i -v -o %(title)s.%(ext)s --add-metadata https://www.youtube.com/watch?v=vr2jSR_ML9s
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '--metadata-from-title', '%(artist)s - %(title)s', '-x', '--audio-quality=4', '--audio-format=mp3', '-i', '-v', '-o', '%(title)s.%(ext)s', '--add-metadata', 'https://www.youtube.com/watch?v=vr2jSR_ML9s']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.06.27
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-80256-g0a9e781, ffprobe N-80256-g0a9e781
[debug] Proxy map: {}
[youtube] vr2jSR_ML9s: Downloading webpage
[youtube] vr2jSR_ML9s: Downloading video info webpage
[youtube] vr2jSR_ML9s: Extracting video information
[youtube] {43} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {18} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {36} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {17} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {135} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {244} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {134} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {243} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {133} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {242} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {160} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {278} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {140} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {171} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {249} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {250} signature length 40.45, html5 player en_US-vflOfyD_m
[youtube] {251} signature length 40.45, html5 player en_US-vflOfyD_m
[debug] Invoking downloader on 'https://r4---sn-cxaaj5o5q5-t9ce.googlevideo.com/
videoplayback?sparams=clen%2Cdur%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2C
itag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cu
pn%2Cexpire&requiressl=yes&clen=4928337&lmt=1449624802236193&initcwndbps=1136250
&key=yt6&fexp=9405969%2C9406821%2C9416126%2C9416891%2C9419452%2C9420112%2C942259
6%2C9426977%2C9428398%2C9431012%2C9431686%2C9432049%2C9433096%2C9433380%2C943385
5%2C9433946%2C9435526%2C9435876%2C9437066%2C9437553%2C9437742%2C9437982%2C943882
0%2C9439419%2C9439496%2C9439562%2C9439652%2C9439892%2C9439952%2C9440139%2C944019
1&sver=3&ipbits=0&expire=1467321496&keepalive=yes&upn=Qz110jEhUeM&itag=251&gcr=c
a&mime=audio%2Fwebm&dur=286.301&ms=au&id=o-APMqgkDUH_-2atiolookdzlJVMNq9PxjoIfzD
weN4Vxv&mv=m&pl=23&mt=1467299691&gir=yes&ip=69.159.245.22&mn=sn-cxaaj5o5q5-t9ce&
source=youtube&mm=31&signature=8231724F9688912E8B3FF9A878D11A0AC123830D.C957ACBC
1D01D7E4A7A1B34E19013912607929D9&ratebypass=yes'
[download] Destination: WC - The Streets ft. Snoop Dogg, Nate Dogg.webm
[download] 100% of 4.70MiB in 00:13
[fromtitle] parsed artist: WC
[fromtitle] parsed title: The Streets ft. Snoop Dogg, Nate Dogg
[ffmpeg] Adding metadata to 'WC - The Streets ft. Snoop Dogg, Nate Dogg.webm'
[debug] ffmpeg command line: ffmpeg -y -i 'file:WC - The Streets ft. Snoop Dogg,
 Nate Dogg.webm' -c copy -metadata 'purl=https://www.youtube.com/watch?v=vr2jSR_
ML9s' -metadata 'description=Music video by WC performing The Streets. (C) 2002
The Island Def Jam Music Group' -metadata date=20100930 -metadata 'comment=Music
 video by WC performing The Streets. (C) 2002 The Island Def Jam Music Group' -m
etadata artist=WC -metadata 'title=The Streets ft. Snoop Dogg, Nate Dogg' 'file:
WC - The Streets ft. Snoop Dogg, Nate Dogg.temp.webm'
[debug] ffmpeg command line: ffprobe -show_streams 'file:WC - The Streets ft. Sn
oop Dogg, Nate Dogg.webm'
[ffmpeg] Destination: WC - The Streets ft. Snoop Dogg, Nate Dogg.mp3
[debug] ffmpeg command line: ffmpeg -y -i 'file:WC - The Streets ft. Snoop Dogg,
 Nate Dogg.webm' -vn -acodec libmp3lame -q:a 4 'file:WC - The Streets ft. Snoop
Dogg, Nate Dogg.mp3'
Deleting original file WC - The Streets ft. Snoop Dogg, Nate Dogg.webm (pass -k
to keep)

Description of your issue, suggested solution and other information

When i put the file in iTunes or mp3 tag editor, all the field are empty. Is there a syntax problem in my command or a switch that i should use ?

thanks ! Love the tool BTW !

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 6, 2016

MP3 ID3 tags are not supported yet. See #5957.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.