Repository: youtube-dl
Issue: Crash on one (out of 24) videos on Sofia the first
Labels: tv-provider-account-needed

## 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.07.02*. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
- [ x] I've **verified** and **I assure** that I'm running youtube-dl **2017.07.02**

### Before submitting an *issue* make sure you have:
- [x ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x ] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones

### What is the purpose of your *issue*?
- [x ] 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 ```):
```
keybounceMBP:Disney michael$ ./yt-dl -v http://watchdisneyjunior.go.com/sofia-the-first
[debug] System config: []
[debug] User config: ['-k', '-o', '%(title)s.%(ext)s', '-f', '\nbest[ext=mp4][height>431][height<=576]/\nbestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/\nbest[ext=mp4][height>340][height<=431]/\nbestvideo[ext=mp4][height>360][height<=576]+bestaudio/\nbest[height>340][height<=576]/\nbestvideo[height>360][height<=576]+bestaudio/\nbestvideo[height=360]+bestaudio/\nbest[ext=mp4][height>=280][height<=360]/\nbest[height<=576]/\nworst', '--ap-mso', 'Dish', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--write-sub', '--write-auto-sub', '--sub-lang', 'en,enUS,en-us', '--sub-format', 'ass/srt/best', '--convert-subs', 'ass', '--embed-subs', '--mark-watched', '--download-archive', 'downloaded-videos.txt']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--hls-prefer-native', '-o', '%(series)s/s%(season_number)02d-e%(episode_number)02d-%(title)s.%(ext)s', '-v', 'http://watchdisneyjunior.go.com/sofia-the-first']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.02
[debug] Python version 3.6.1 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2.4, ffprobe 3.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[Go] sofia-the-first: Downloading webpage
[Go] SH55246331: Downloading JSON metadata
[download] Downloading playlist: Sofia the First
[Go] playlist Sofia the First: Collected 24 video ids (downloading 24 of them)
[download] Downloading video 1 of 24
[download] Music Video: True Sisters has already been recorded in archive
[download] Downloading video 2 of 24
[download] Music Video: Blue Ribbon Bunny has already been recorded in archive
[download] Downloading video 3 of 24
[download] Rise and Shine (Ariel Winter) has already been recorded in archive
[download] Downloading video 4 of 24
[download] Dare to Risk It All has already been recorded in archive
[download] Downloading video 5 of 24
[download] Bigger is Better has already been recorded in archive
[download] Downloading video 6 of 24
[download] Make It Right has already been recorded in archive
[download] Downloading video 7 of 24
[download] Small New World has already been recorded in archive
[download] Downloading video 8 of 24
[download] Stronger Than You Know has already been recorded in archive
[download] Downloading video 9 of 24
[download] Theme Song has already been recorded in archive
[download] Downloading video 10 of 24
[download] Theme Song has already been recorded in archive
[download] Downloading video 11 of 24
[download] A Knight Such As I has already been recorded in archive
[download] Downloading video 12 of 24
[download] This Panda Just Wants to Dance has already been recorded in archive
[download] Downloading video 13 of 24
[download] Enchancia Fashion Insider with Tim Gunn has already been recorded in archive
[download] Downloading video 14 of 24
[download] The Broomstick Dance has already been recorded in archive
[download] Downloading video 15 of 24
[download] Ghostly Gala has already been recorded in archive
[download] Downloading video 16 of 24
[download] S3 E24: Royal Vacation has already been recorded in archive
[download] Downloading video 17 of 24
[download] S4 E1: Day of the Sorcerers has already been recorded in archive
[download] Downloading video 18 of 24
[download] S4 E2: The Secret Library: Tale of the Eternal Torch has already been recorded in archive
[download] Downloading video 19 of 24
[download] S4 E3: The Crown of Blossoms has already been recorded in archive
[download] Downloading video 20 of 24
[download] S4 E4: Pin the Blame on the Genie has already been recorded in archive
[download] Downloading video 21 of 24
[download] S4 E5: The Mystic Isles has already been recorded in archive
[download] Downloading video 22 of 24
[download] S4 E6: The Mystic Isles: The Princess and the Protector has already been recorded in archive
[download] Downloading video 23 of 24
[download] Let's Play Sofia the First! has already been recorded in archive
[download] Downloading video 24 of 24
[Go] vdka3952398: Downloading JSON metadata
[Go] VDKA3952398: Retrieving Media Token
[Go] VDKA3952398: Downloading JSON metadata
[Go] VDKA3952398: Downloading m3u8 information
WARNING: en subtitles not available for VDKA3952398
WARNING: enUS subtitles not available for VDKA3952398
[info] Writing video subtitles to: Sofia the First/s01-e123-Two Episodes.en-us.ttml
[debug] Invoking downloader on 'http://content-ause3.uplynk.com/d9082eb62eb34819b9e0019b7e04d687/f.m3u8?exp=1499158782&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10097567&iph=8cbc60807f773b928fa894609146e614c72cd33d54465e9e70dd7dfcdcea8c3f&rays=jihgfedcb&euid=CA3F7063-D15B-4B9E-8AE8-7CE99D41EE33_000_1_001_mp_04-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=ace269199a76369f87f3ffe3ad1ee503d19606b8cfb1c32ad2c818d9d00fb7b6&pbs=b109ec45d5af413ebfbfcd1e6538a89c'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1297
[download] Destination: Sofia the First/s01-e123-Two Episodes.mp4
[download]  44.7% of ~742.71MiB at Unknown speed ETA Unknown ETATraceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/michael/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/Users/michael/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main
  File "/Users/michael/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1927, in download
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 773, in extract_info
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 964, in process_ie_result
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 834, in process_ie_result
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 773, in extract_info
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1570, in process_video_result
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1834, in process_info
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1776, in dl
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in download
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/hls.py", line 149, in real_download
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/Crypto/Cipher/blockalgo.py", line 295, in decrypt
    return self._cipher.decrypt(ciphertext)
ValueError: Input strings must be a multiple of 16 in length
keybounceMBP:Disney michael$ 
```