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

Index of video in a playlist on youtube not tallying with the number during and after downloading #15543

Closed
rawdpiper opened this issue Feb 9, 2018 · 2 comments
Labels

Comments

@rawdpiper
Copy link

@rawdpiper rawdpiper commented Feb 9, 2018

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 2018.02.08. 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 2018.02.08

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] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.02.08
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

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

I tried downloading a set of videos randomly from a particular playlist on YouTube, then i noticed that when the program starts the downloading it assigns a number(or index) starting from 1 to the video instead of the original playlist index of the video on YouTube

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


C:\Users\USER>youtube-dl --config-location C:\Users\USER\Desktop\Youtube-dl --pl
aylist-items 77,78,79,80,81,82 https://www.youtube.com/playlist?list=PLBlnK6fEyq
RhG6s3jYIU48CqsT5cyiDTO
[debug] System config: []
[debug] User config: []
[debug] Custom config: ['-o', 'C:\\Users\\USER\\Desktop\\YouTube Videos\\%(playl
ist)s\\%(playlist_index)s.%(title)ss', '--console-title', '--write-thumbnail', '
-v', '-f', 'bestvideo[height<=480]+bestaudio/best[height<=480]']
[debug] Command-line args: ['--config-location', 'C:\\Users\\USER\\Desktop\\Yout
ube-dl', '--playlist-items', '77,78,79,80,81,82', 'https://www.youtube.com/playl
ist?list=PLBlnK6fEyqRhG6s3jYIU48CqsT5cyiDTO']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.02.04
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-89956-gcaa4bd7a9f, ffprobe N-89956-gcaa4bd7a9f
[debug] Proxy map: {}
[youtube:playlist] PLBlnK6fEyqRhG6s3jYIU48CqsT5cyiDTO: Downloading webpage
[download] Downloading playlist: Signals and Systems
[youtube:playlist] playlist Signals and Systems: Downloading 6 videos
[download] Downloading video 1 of 6
[youtube] XMuSNiCO-TI: Downloading webpage
[youtube] XMuSNiCO-TI: Downloading video info webpage
[youtube] XMuSNiCO-TI: Extracting video information
[youtube] XMuSNiCO-TI: Downloading thumbnail ...
[youtube] XMuSNiCO-TI: Writing thumbnail to: C:\Users\USER\Desktop\YouTube Video
s\Signals and Systems\1.jpg
WARNING: Requested formats are incompatible for merge and will be merged into mk
v.
[debug] Invoking downloader on 'https://r2---sn-nfp4uob-avnl.googlevideo.com/vid
eoplayback?mt=1518201347&mv=m&ms=au%2Crdu&source=youtube&keepalive=yes&mime=vide
o%2Fmp4&gir=yes&clen=3776723&requiressl=yes&mm=31%2C29&mn=sn-nfp4uob-avnl%2Csn-w
oc7en7d&itag=135&signature=AFE1F23913A8AA1FC1CE1463C5AAAAE1A8555B7E.E13F6B960824
D68556E2E829BC4E2C6931EE0B70&ipbits=0&aitags=133%2C134%2C135%2C136%2C137%2C160%2
C242%2C243%2C244%2C247%2C248%2C278&pl=20&dur=949.533&expire=1518223083&c=WEB&key
=yt6&initcwndbps=266250&ei=i-p9Wqn4HcfeW_CykagC&id=o-AJch_TTBHNzEm1LODEtxxseB-iN
QzYt9N0swRabBYRlw&lmt=1501779437916616&fvip=1&ip=41.58.201.220&sparams=aitags%2C
clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%
2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ratebypass=yes'
[download] Destination: C:\Users\USER\Desktop\YouTube Videos\Signals and Systems
\1.Differentiation of Continuous Time Signalss.f135
[download] 100% of 3.60MiB in 00:20
[debug] Invoking downloader on 'https://r2---sn-nfp4uob-avnl.googlevideo.com/vid
eoplayback?mt=1518201347&mv=m&ms=au%2Crdu&source=youtube&keepalive=yes&mime=audi
o%2Fwebm&clen=13502093&requiressl=yes&mm=31%2C29&mn=sn-nfp4uob-avnl%2Csn-woc7en7
d&itag=251&signature=321700C3AE722C5B73998F667E60BD5DEF352616.4850B8E0282ADFEE82
ECE04ED0936AC43B1DD19A&ipbits=0&gir=yes&pl=20&dur=949.561&expire=1518223083&c=WE
B&key=yt6&initcwndbps=266250&ei=i-p9Wqn4HcfeW_CykagC&id=o-AJch_TTBHNzEm1LODEtxxs
eB-iNQzYt9N0swRabBYRlw&lmt=1501781526516639&fvip=1&ip=41.58.201.220&sparams=clen
%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmi
me%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ratebypass=yes'
[download] Destination: C:\Users\USER\Desktop\YouTube Videos\Signals and Systems
\1.Differentiation of Continuous Time Signalss.f251
[download] 100% of 12.88MiB in 00:50
[ffmpeg] Merging formats into "C:\Users\USER\Desktop\YouTube Videos\Signals and
Systems\1.Differentiation of Continuous Time Signalss.mkv"
[debug] ffmpeg command line: ffmpeg -y -i "file:C:\Users\USER\Desktop\YouTube Vi
deos\Signals and Systems\1.Differentiation of Continuous Time Signalss.f135" -i
"file:C:\Users\USER\Desktop\YouTube Videos\Signals and Systems\1.Differentiation
 of Continuous Time Signalss.f251" -c copy -map "0:v:0" -map "1:a:0" "file:C:\Us
ers\USER\Desktop\YouTube Videos\Signals and Systems\1.Differentiation of Continu
ous Time Signalss.temp.mkv"
Deleting original file C:\Users\USER\Desktop\YouTube Videos\Signals and Systems\
1.Differentiation of Continuous Time Signalss.f135 (pass -k to keep)
Deleting original file C:\Users\USER\Desktop\YouTube Videos\Signals and Systems\
1.Differentiation of Continuous Time Signalss.f251 (pass -k to keep)
[download] Downloading video 2 of 6
[youtube] jPMxF_qYZdg: Downloading webpage
[youtube] jPMxF_qYZdg: Downloading video info webpage
[youtube] jPMxF_qYZdg: Extracting video information
[youtube] jPMxF_qYZdg: Downloading MPD manifest
[youtube] jPMxF_qYZdg: Downloading MPD manifest
[youtube] jPMxF_qYZdg: Downloading thumbnail ...
[youtube] jPMxF_qYZdg: Writing thumbnail to: C:\Users\USER\Desktop\YouTube Video
s\Signals and Systems\2.jpg
[debug] Invoking downloader on 'https://r1---sn-nfp4uob-avnl.googlevideo.com/vid
eoplayback/id/8cf33117fa9865d8/itag/135/source/yt_otf/requiressl/yes/pl/20/initc
wndbps/282500/mn/sn-nfp4uob-avnl,sn-woc7en7s/mm/31,29/ms/au,rdu/ei/3up9Wo7JE8GMW
o6zpKAB/mv/m/ratebypass/yes/mime/video%2Fmp4/otfp/1/otf/1/lmt/1501846908912168/f
vip/11/mt/1518201473/ip/41.58.201.220/ipbits/0/expire/1518223166/sparams/ip,ipbi
ts,expire,id,itag,source,requiressl,pl,initcwndbps,mn,mm,ms,ei,mv,ratebypass,mim
e,otfp,otf,lmt/signature/1B4983C790F5DB5F268BD240E0EC901273504818.85F42AA80932A0
5F7C101235085CA8B6C948DFBC/key/dg_yt0/'
[dashsegments] Total fragments: 119
[download] Destination: C:\Users\USER\Desktop\YouTube Videos\Signals and Systems
\2.Differentiation of Continuous Time Signals (Solved Problems)s.f135
[download]  15.1% of ~4.47MiB at 76.44KiB/s ETA 08:16
ERROR: Interrupted by user```
@rawdpiper
Copy link
Author

@rawdpiper rawdpiper commented Feb 9, 2018

Link to the Playlist: https://www.youtube.com/playlist?list=PLBlnK6fEyqRhG6s3jYIU48CqsT5cyiDTO

This doesn't happen if you were to make use of the --playlist-start - --playlist-end arguments.

@dstftw dstftw closed this Feb 9, 2018
@dstftw dstftw added the duplicate label Feb 9, 2018
@rawdpiper
Copy link
Author

@rawdpiper rawdpiper commented Feb 10, 2018

@dstfw could you please direct me to the issue that's the same as this? Can't seem to locate it.

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.