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

Windows does not correctly recognize MP4 video year written with --add-metadata #16514

Closed
UserNaem opened this issue May 21, 2018 · 1 comment
Closed

Comments

@UserNaem
Copy link

@UserNaem UserNaem commented May 21, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.05.18
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

C:\Users\root>youtube-dl -v http://www.nicovideo.jp/watch/sm25309940
[debug] System config: []
[debug] User config: ['--console-title', '--add-metadata', '--mark-watched', '-f
', 'bestvideo[ext=webm]+bestaudio[ext=webm]/bestvideo[ext=webm]/bestvideo+bestau
dio/best', '-o', 'H:/v/youtube-dl/%(title)s~%(id)s.%(ext)s', '--cookies', 'H:\\v
\\youtube-dl\\cookies.txt']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.nicovideo.jp/watch/sm25309940']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.05.18
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-90610-g2accdd3871, ffprobe N-90610-g2accdd3871, r
tmpdump 2.3
[debug] Proxy map: {}
[niconico] sm25309940: Downloading webpage
[debug] Invoking downloader on 'http://smile-fnl31.nicovideo.jp/smile?m=25309940
.71088low'
[download] Destination: H:\v\youtube-dl\?Hatsune Miku??Packet Hero??Original?~sm
25309940.mp4
[download] 100% of 11.46MiB in 03:14
[ffmpeg] Adding metadata to 'H:\v\youtube-dl\?Hatsune Miku??Packet Hero??Origina
l?~sm25309940.mp4'
[debug] ffmpeg command line: ffmpeg -y -i "file:H:\v\youtube-dl\?Hatsune Miku??P
acket Hero??Original?~sm25309940.mp4" -c copy -metadata "artist=MARETU" -metadat
a "comment=?Mylist?? <a href=\"http://www.nicovideo.jp/mylist/17912525\" target=
\"_blank\" rel=\"noopener\">mylist/17912525</a><br /><br />?Twitter??<u>@maretu0
1</u><br /><br />?Karaoke???http://piapro.jp/t/eH-d" -metadata "purl=http://www.
nicovideo.jp/watch/sm25309940" -metadata "title=?Hatsune Miku??Packet Hero??Orig
inal?" -metadata "description=?Mylist?? <a href=\"http://www.nicovideo.jp/mylist
/17912525\" target=\"_blank\" rel=\"noopener\">mylist/17912525</a><br /><br />?T
witter??<u>@maretu01</u><br /><br />?Karaoke???http://piapro.jp/t/eH-d" -metadat
a "date=20150109" "file:H:\v\youtube-dl\?Hatsune Miku??Packet Hero??Original?~sm
25309940.temp.mp4"

Description of your issue, suggested solution and other information

After downloading the MP4 video above, Windows will recognize its year as 30557. Same issue can be reproduced with most videos from Twitch, Niconico and Youtube, with "year" being between 16914 and 60850.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 26, 2018

Which year are you talking about?

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.