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

Thumbnail file name is incomplete #18764

tsia opened this Issue Jan 6, 2019 · 1 comment


None yet
2 participants
Copy link

tsia commented Jan 6, 2019

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 this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.01.02. 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 2019.01.02

Before submitting an issue make sure you have:

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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--output', u'%(title)s-%(id)s', u'--restrict-filenames', u'--write-thumbnail', u'--write-info-json', u'']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.02
[debug] Git HEAD: de0359c0a
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-8-amd64-x86_64-with-debian-9.6
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1
[debug] Proxy map: {}
[youtube] rALrayKDiB8: Downloading webpage
[youtube] rALrayKDiB8: Downloading video info webpage
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video description metadata as JSON to:
[youtube] rALrayKDiB8: Downloading thumbnail ...
[youtube] rALrayKDiB8: Writing thumbnail to: 4.jpg
[debug] Invoking downloader on u''
[download] Destination: 4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f313
[download] 100% of 4.00GiB in 02:33
[debug] Invoking downloader on u''
[download] Destination: 4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f251
[download] 100% of 43.09MiB in 00:02
[ffmpeg] Merging formats into "4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.webm"
[debug] ffmpeg command line: ffmpeg -y -i 'file:4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f313' -i 'file:4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f251' -c copy -map '0:v:0' -map '1:a:0' 'file:4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.temp.webm'
Deleting original file 4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f313 (pass -k to keep)
Deleting original file 4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.f251 (pass -k to keep)
<end of log>

the mentioned video ( contains a . in the title (4. Januar 2019 - Bundespressekonferenz - RegPK). I added the --output option to change the file name. In this case the downloaded thumbnail is just called 4.jpg instead of 4._Januar_2019_-_Bundespressekonferenz_-_RegPK-rALrayKDiB8.jpg.
i already had a look in the code but i can't reliably fix the issue myself without breaking something else


This comment has been minimized.

Copy link

dstftw commented Jan 6, 2019

Output template must contain ext sequence.

@dstftw dstftw closed this Jan 6, 2019

@dstftw dstftw added the invalid label Jan 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment