Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
youtube-dl used to work with Twitter Events, now it no longer does. Getting following error (video DOES play in browser).
It's parsing the correct m3u8, it's just not able to actually fetch the data, it appears.
verbose log:
youtube-dl -v "https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_
GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/tw_master_dynam
ic_16907881229169821541.m3u8"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/tw_master_dynamic_16907881229169821541.m3u8']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.10.05
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-90578-g02ae52db87, ffprobe N-90578-g02ae52db87
[debug] Proxy map: {}
[generic] tw_master_dynamic_16907881229169821541: Requesting header
[generic] tw_master_dynamic_16907881229169821541: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/tw_playlist_16907881229169821541.m3u8'
[download] Destination: tw_master_dynamic_16907881229169821541-tw_master_dynamic_16907881229169821541.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip, deflate
" -i "https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/tw_playlist_16907881229169821541.m3u8" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:tw_master_dynamic_16907881229169821541-tw_master_dynamic_16907881229169821541.mp4.part"
ffmpeg version N-90578-g02ae52db87 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 12.100 / 56. 12.100
libavcodec 58. 17.100 / 58. 17.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 14.100 / 7. 14.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855427037263811_1292_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'https://twitter.com/i/live_video_stream/key?stream_name=5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw' for reading
[https @ 000002151492f3c0] HTTP error 400 Bad Request
Unable to open key file https://twitter.com/i/live_video_stream/key?stream_name=5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855427037263811_1292_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855429025819217_1293_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855429025819217_1293_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855431012227761_1294_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855431012227761_1294_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855432961617465_1295_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855432961617465_1295_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855435066656420_1296_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855435066656420_1296_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855436962958898_1297_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855436962958898_1297_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] HLS request for url 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855439006900968_1298_a.ts', offset 0, playlist 0
[hls,applehttp @ 00000215143bb0c0] Opening 'crypto+https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855439006900968_1298_a.ts' for reading
[hls,applehttp @ 00000215143bb0c0] Error when loading first segment 'https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/k0_chunk_1538855427037263811_1292_a.ts'
https://prod-video-eu-west-1.pscp.tv/5nxOetQ9WyvLjPl2mJMAZLZoT-SHU_B-jgKdXQObJfs9_GLP_YsE7pnibzBPy9_KvOcmE3tbGGovw5Hq7rYokw/replay_transcode/eu-west-1/periscope-replay-direct-prod-eu-west-1-public/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJIZWlnaHQiOjcyMCwiS2JwcyI6MjAwMCwiV2lkdGgiOjEyODB9.RYzh5rWQLNy-ZB1zO_EREmt9fkjSnJS2If9o7Ls4vOM/tw_playlist_16907881229169821541.m3u8: Invalid data found when processing input
ERROR: ffmpeg exited with code 1
File "main.py", line 19, in
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl_init_.py", line 472, in main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl_init_.py", line 462, in _real_main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 2001, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 803, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 857, in process_ie_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 1635, in process_video_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 1847, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\downloader\common.py", line 364, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\downloader\external.py", line 64, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\downloader\common.py", line 165, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 620, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 582, in trouble