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 gets year wrong and crashes on strange characters #2583

Closed
svrnwnsch opened this issue Mar 18, 2014 · 1 comment
Closed

add-metadata gets year wrong and crashes on strange characters #2583

svrnwnsch opened this issue Mar 18, 2014 · 1 comment

Comments

@svrnwnsch
Copy link

@svrnwnsch svrnwnsch commented Mar 18, 2014

If I run "youtube-dl https://www.youtube.com/watch?v=sHF1q1qGuNU -f 1
37+140 --embed-subs --add-metadata" the year presented under windows is 11065 which should be more like 17.06.2013 as this is the day when the video was uploaded.

Also if I run "youtube-dl https://www.youtube.com/watch?v=Pv-Do30-P8A -f 1
37+140 --add-metadata -v" I get the Traceback:

[ffmpeg] Adding metadata to 'SOFLES ù LIMITLESS.-Pv-Do30-P8A.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'SOFLES ù LIMITLESS.-Pv-Do30-P8A.mp4'
-c copy -metadata date=20131122 -metadata artist=ironlakfilms -metadata 'title=S
OFLES ù LIMITLESS.' 'SOFLES ù LIMITLESS.-Pv-Do30-P8A.temp.mp4'
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 811, in main
File "youtube_dl__init__.pyo", line 801, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 1016, in download
File "youtube_dl\YoutubeDL.pyo", line 521, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 550, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 797, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 999, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1050, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 472, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 64, in run_ffmpeg
File "youtube_dl\postprocessor\ffmpeg.pyo", line 56, in run_ffmpeg_multiple_fi
les
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 907, in _execute_child
File "subprocess.pyo", line 646, in list2cmdline
UnicodeDecodeError: 'ascii' codec can't decode byte 0x97 in position 0: ordinal
not in range(128)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 20, 2015

Works fine with latest version.

@dstftw dstftw closed this Dec 20, 2015
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.