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

Can't work --embed-thumbnail, if filename is non-english #12807

Closed
neverapple88 opened this issue Apr 20, 2017 · 4 comments
Closed

Can't work --embed-thumbnail, if filename is non-english #12807

neverapple88 opened this issue Apr 20, 2017 · 4 comments
Labels

Comments

@neverapple88
Copy link

@neverapple88 neverapple88 commented Apr 20, 2017

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 2017.04.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.04.17

Before submitting an issue make sure you have:

  • 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?

  • 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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


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 ```):

with --encoding UTF-8
image

$ youtube-dl --hls-prefer-native --embed-thumbnail --add-metadata  --verbose --encoding UTF-8
[04/21/17 07:17:09] [debug] System config: []
[04/21/17 07:17:09] [debug] User config: []
[04/21/17 07:17:09] [debug] Custom config: []
[04/21/17 07:17:09] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', '--encoding', 'UTF-8', 'https://youtu.be/W_OK4TLbvYs']
[04/21/17 07:17:09] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref UTF-8
[04/21/17 07:17:09] [debug] youtube-dl version 2017.04.17
[04/21/17 07:17:21] [debug] System config: []
[04/21/17 07:17:21] [debug] User config: []
[04/21/17 07:17:21] [debug] Custom config: []
[04/21/17 07:17:21] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', '--encoding', 'UTF-8', 'https://www.youtube.com/watch?v=FegWac9zSkI']
[04/21/17 07:17:22] [debug] System config: []
[04/21/17 07:17:22] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref UTF-8
[04/21/17 07:17:22] [debug] Python version 3.4.4 - Windows-10-10.0.15063
<end of log>

without --encoding UTF-8
image

$ youtube-dl --hls-prefer-native --embed-thumbnail --add-metadata  --verbose
[04/21/17 07:13:10] [debug] System config: []
[04/21/17 07:13:10] [debug] User config: []
[04/21/17 07:13:10] [debug] Custom config: []
[04/21/17 07:13:10] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', 'https://youtu.be/W_OK4TLbvYs']
[04/21/17 07:13:10] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
[04/21/17 07:13:10] [debug] youtube-dl version 2017.04.17
[04/21/17 07:13:22] [debug] System config: []
[04/21/17 07:13:22] [debug] User config: []
[04/21/17 07:13:22] [debug] Custom config: []
[04/21/17 07:13:22] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', 'https://www.youtube.com/watch?v=FegWac9zSkI']
[04/21/17 07:13:23] [debug] System config: []
[04/21/17 07:13:23] [debug] Python version 3.4.4 - Windows-10-10.0.15063
[04/21/17 07:13:23] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
<end of log>

I run without --hls-prefer-native & --add-metadata options. but same result.

** I select ID as Name or Restrict filenames, status is all error, but good work! but... I don't will strange file name. **
edit : little strange.. print images all same as mp3 file...

Result :
Exist Image
image
No Exist Image
image
Downdowned Files (everything!) :
image

ps. I can't english well. plz easy english.
if... bug duplicate.... I so sorry. my search miss.


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 20, 2017

What exactly does not work? Post complete verbose log of that command.

@neverapple88
Copy link
Author

@neverapple88 neverapple88 commented Apr 20, 2017

I want download mp3 from youtube with --embed-thumbnail --hls-prefer-native --add-metadata.
edit : does not work : I can download. but error and can't merge (thumbnail + mp3 file)
and this is complete my command...

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 21, 2017

Post complete verbose log of that command.

@dstftw dstftw closed this Apr 21, 2017
@dstftw dstftw added the incomplete label Apr 21, 2017
@neverapple88
Copy link
Author

@neverapple88 neverapple88 commented Apr 21, 2017

I carelessness.
common sense, I didn't use YoutubeDLG. I forget repository location :(

I try
#!/bin/sh
youtube-dl -v --extract-audio --audio-format mp3 --audio-quality 0 --embed-thumb
nail --add-metadata $1
Good work.

I'm sorry to irritate you.

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.