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

add-metadata broken title, performer, and album in metadata #21491

Open
3 of 6 tasks
godane opened this issue Jun 22, 2019 · 0 comments
Open
3 of 6 tasks

add-metadata broken title, performer, and album in metadata #21491

godane opened this issue Jun 22, 2019 · 0 comments

Comments

@godane
Copy link

godane commented Jun 22, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.06.21
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

youtube-dl -i --sub-lang en --embed-subs --write-auto-sub --write-thumbnail --write-info-json --write-description --add-metadata --restrict-filenames -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/best -v https://www.youtube.com/watch?v=cGfCUh9qy54
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-i', u'--sub-lang', u'en', u'--embed-subs', u'--write-auto-sub', u'--write-thumbnail', u'--write-info-json', u'--write-description', u'--add-metadata', u'--restrict-filenames', u'-f', u'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best', u'-v', u'https://www.youtube.com/watch?v=cGfCUh9qy54']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.06.21
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-2-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 4.1.1-1, ffprobe 4.1.1-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] cGfCUh9qy54: Downloading webpage
[youtube] cGfCUh9qy54: Downloading video info webpage
[youtube] {43} signature length 104, html5 player vfl49f_g4
[youtube] {18} signature length 100, html5 player vfl49f_g4
[youtube] {135} signature length 104, html5 player vfl49f_g4
[youtube] {134} signature length 104, html5 player vfl49f_g4
[youtube] {140} signature length 104, html5 player vfl49f_g4
[youtube] {251} signature length 100, html5 player vfl49f_g4
[youtube] cGfCUh9qy54: Looking for automatic captions
WARNING: Couldn't find automatic captions for cGfCUh9qy54
[youtube] cGfCUh9qy54: Downloading MPD manifest
[info] Writing video description to: D_s_Garage21_2000_03_30-cGfCUh9qy54.description
[info] Writing video description metadata as JSON to: D_s_Garage21_2000_03_30-cGfCUh9qy54.info.json
[youtube] cGfCUh9qy54: Downloading thumbnail ...
[youtube] cGfCUh9qy54: Writing thumbnail to: D_s_Garage21_2000_03_30-cGfCUh9qy54.jpg
[download] D_s_Garage21_2000_03_30-cGfCUh9qy54.mp4 has already been downloaded and merged
[ffmpeg] Adding metadata to 'D_s_Garage21_2000_03_30-cGfCUh9qy54.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:D_s_Garage21_2000_03_30-cGfCUh9qy54.mp4' -c copy -metadata 'comment=水曜深夜にテレビ朝日で放送していた未来のクリエーターを発掘する番組です。
(日付は木曜にしています)

出演者
伊藤裕子
川北桃子 (当時テレビ朝日アナウンサー)
渡辺浩弐
桃井はるこ' -metadata 'album=Innervisions' -metadata 'description=水曜深夜にテレビ朝日で放送していた未来のクリエーターを発掘する番組です。
(日付は木曜にしています)

出演者
伊藤裕子
川北桃子 (当時テレビ朝日アナウンサー)
渡辺浩弐
桃井はるこ' -metadata 'artist=Stevie Wonder' -metadata 'title=Don'"'"'t You Worry '"'"'Bout a Thing' -metadata 'date=20190605' -metadata 'purl=https://www.youtube.com/watch?v=cGfCUh9qy54' 'file:D_s_Garage21_2000_03_30-cGfCUh9qy54.temp.mp4'
[ffmpeg] There aren't any subtitles to embed

Description

My issue is that youtube-dl is giving metadata for title and artist song that maybe in video. This is incorrect. It should be just grabbing the title and performer of the video.

When a video gets demonetize there is a info in the description area saying what song is played and who owns it. Its grabbing that stuff for that title and performer info.
here is the mediainfo of that file also:
mediainfo D_s_Garage21_2000_03_30-cGfCUh9qy54.mp4
General
Complete name : D_s_Garage21_2000_03_30-cGfCUh9qy54.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 152 MiB
Duration : 24 min 15 s
Overall bit rate : 874 kb/s
Movie name : Don't You Worry 'Bout a Thing
Album : Innervisions
Performer : Stevie Wonder
Description : 水曜深夜にテレビ朝日で放送していた未来のクリエーターを発掘する番組です。 / (日付は木曜にしています) / / 出演者 / 伊藤裕子 / 川北桃子 (当時テレビ朝日アナウンサー) / 渡辺浩弐 / 桃井はるこ
Recorded date : 20190605
Writing application : Lavf58.20.100
Comment : 水曜深夜にテレビ朝日で放送していた未来のクリエーターを発掘する番組です。 / (日付は木曜にしています) / / 出演者 / 伊藤裕子 / 川北桃子 (当時テレビ朝日アナウンサー) / 渡辺浩弐 / 桃井はるこ

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 24 min 14 s
Bit rate : 740 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.101
Stream size : 128 MiB (85%)
Title : ISO Media file produced by Google Inc. Created on: 06/04/2019.
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 24 min 15 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 22.2 MiB (15%)
Title : ISO Media file produced by Google Inc. Created on: 06/04/2019.
Language : English
Default : Yes
Alternate group : 1

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

No branches or pull requests

1 participant