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

Kaltura download error #20237

Open
ryvec opened this issue Mar 3, 2019 · 7 comments
Open

Kaltura download error #20237

ryvec opened this issue Mar 3, 2019 · 7 comments

Comments

@ryvec
Copy link

@ryvec ryvec commented Mar 3, 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.03.01. 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.03.01

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones
  • [x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

D:>youtube-dl -v kaltura:1955031:1_y39fkhaq -f mp4-2929
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'kaltura:1955031:1_y39fkhaq', '-f', 'mp4-2929'
]
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.03.01
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg 4.1, ffprobe N-89980-ge752da5464, rtmpdump 2.4
[debug] Proxy map: {}
[Kaltura] 1_y39fkhaq: Downloading video info JSON
[Kaltura] 1_y39fkhaq: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 404: Not Found
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1955031/sp/195503100
/playManifest/entryId/1_y39fkhaq/format/url/protocol/http/flavorId/1_6jf9b626'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\YoutubeDL.py", line 1913, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\YoutubeDL.py", line 1852, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\downloader\common.py", line 364, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\downloader\http.py", line 341, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\downloader\http.py", line 109, in establish_connection
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplyslo9xs\bu
ild\youtube_dl\YoutubeDL.py", line 2225, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found


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.

Cannot download video.
Command is:
youtube-dl -v kaltura:1955031:1_y39fkhaq -f mp4-2929
Command gets the overall "flavors" page, but can't download manifest for partricular flavor

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 3, 2019

Post the original link.

@dstftw dstftw added the incomplete label Mar 3, 2019
@ryvec
Copy link
Author

@ryvec ryvec commented Mar 3, 2019

Post the original link.

https://areena.yle.fi/1-4265502

@dstftw dstftw added geo-restricted and removed incomplete labels Mar 3, 2019
@ryvec
Copy link
Author

@ryvec ryvec commented Mar 4, 2019

To clarify: when I'm VPNing to Finland, I can watch and download episode via conventional means (with FFMPEG) just fine, but trying to access it via youtube-dl's kaltura calls doesn't work

@ryvec
Copy link
Author

@ryvec ryvec commented Mar 6, 2019

Any ideas?

@Hegezcc
Copy link

@Hegezcc Hegezcc commented Mar 8, 2019

Looks like this is intentional geo restriction feature in Kaltura public API. No ideas on how to pass it.

@maxst33l
Copy link

@maxst33l maxst33l commented Jun 19, 2020

I'm getting a similar issue with the following: https://curio.ca/en/video/the-great-transformation-1746/ Note that I am in the region I am trying to stream from (I can stream it no problem).
youtube-dl -v kaltura:1307701:1_ph1xslf9
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'kaltura:1307701:1_ph1xslf9']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2020-06-17-0b3bd00
[debug] Proxy map: {}
[Kaltura] 1_ph1xslf9: Downloading video info JSON
[Kaltura] 1_ph1xslf9: Checking mp4-1373 URL
[Kaltura] 1_ph1xslf9: mp4-1373 URL is invalid, skipping
[Kaltura] 1_ph1xslf9: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 404: Not Found
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1307701/sp/130770100/playManifest/entryId/1_ph1xslf9/format/url/protocol/http/flavorId/1_hlcfxgv2'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 1926, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 1865, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\common.py", line 366, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\http.py", line 341, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\http.py", line 109, in establish_connection
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 2238, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found

This appears to be the link that gets called when playing:

https://cdnapisec.kaltura.com/p/1307701/sp/130770100/playManifest/entryId/1_ph1xslf9/flavorIds/1_shhf71g1,1_nkq47xph,1_vgdbwbji,1_hlcfxgv2/format/applehttp/protocol/https/a.m3u8?referrer=aHR0cHM6Ly9jdXJpby5jYQ==&ks=ZjU2MTI3NzE2YjhlNjMxZTM4Mjc0MjkzZGU2NTc5Njk3ODI0YjZmZHwxMzA3NzAxOzEzMDc3MDE7MTU5MjYzMDg3MTswOzI4MTM4O2hlcmljay5tb25pekByYWRpby1jYW5hZGEuY2E7c3ZpZXc6MV9waDF4c2xmOQ==&playSessionId=947648c7-59aa-d2db-59b8-a451f81d930c&clientTag=html5:v2.82.5&uiConfId=28723181

if this helps this is what the API call returns:

[{"partnerId":1307701,"ks":"djJ8MTMwNzcwMXwLiGdqt8hr3HYrOciKA5p6XkRDLbzJ6jkf5DnEYhQRTVpwMZYA4RUXNzsUwCAC-QTiogmujwWdKS_WyCheN7pCiLZPQNBLchBeHJlvfx3-AQ==","userId":0,"objectType":"KalturaStartWidgetSessionResponse"},{"dataUrl":"http://cdnapi.kaltura.com/p/1307701/sp/130770100/playManifest/entryId/1_ph1xslf9/format/url/protocol/http","plays":10435,"duration":6380,"name":"The Great Transformation","userId":"first.last@radio-canada.ca","type":1,"createdAt":1374782038,"thumbnailUrl":"http://cfvod.kaltura.com/p/1307701/sp/130770100/thumbnail/entry_id/1_ph1xslf9/version/100081","objectType":"KalturaMediaEntry"},[{"flavorParamsId":0,"width":718,"height":360,"bitrate":1373,"frameRate":29.97,"isOriginal":true,"isWeb":true,"containerFormat":"mp42","videoCodecId":"avc1","status":2,"isDefault":false,"id":"1_x22x1afq","entryId":"1_ph1xslf9","partnerId":1307701,"version":"1","size":1069547,"tags":"web","fileExt":"mp4","createdAt":1374782765,"updatedAt":1374782773,"description":"","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487041,"width":480,"height":256,"bitrate":461,"frameRate":29.97,"isOriginal":false,"isWeb":true,"containerFormat":"isom","videoCodecId":"avc1","status":2,"isDefault":false,"id":"1_shhf71g1","entryId":"1_ph1xslf9","partnerId":1307701,"version":"1","size":359424,"tags":"mobile,web,mbr,iphone,iphonenew","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374788038,"description":"","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487051,"width":640,"height":360,"bitrate":660,"frameRate":29.97,"isOriginal":false,"isWeb":true,"containerFormat":"isom","videoCodecId":"avc1","status":2,"isDefault":false,"id":"1_nkq47xph","entryId":"1_ph1xslf9","partnerId":1307701,"version":"1","size":514048,"tags":"mobile,web,mbr,iphone,iphonenew","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374827629,"description":"audio warnings: 2106,#Redundant bitrate.\n","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487061,"width":640,"height":360,"bitrate":954,"frameRate":29.97,"isOriginal":false,"isWeb":true,"containerFormat":"isom","videoCodecId":"avc1","status":2,"isDefault":false,"id":"1_vgdbwbji","entryId":"1_ph1xslf9","partnerId":1307701,"version":"1","size":737280,"tags":"mobile,web,mbr,ipad,ipadnew","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374825979,"description":"audio warnings: 2106,#Redundant bitrate.\n","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487071,"width":640,"height":360,"bitrate":1560,"frameRate":29.97,"isOriginal":false,"isWeb":true,"containerFormat":"isom","videoCodecId":"avc1","status":2,"isDefault":false,"id":"1_hlcfxgv2","entryId":"1_ph1xslf9","partnerId":1307701,"version":"1","size":1216348,"tags":"mobile,web,mbr,ipad,ipadnew","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374826281,"description":"","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487091,"width":0,"height":0,"bitrate":0,"frameRate":0,"isOriginal":false,"isWeb":true,"status":4,"isDefault":false,"id":"1_e3sn5h0e","entryId":"1_ph1xslf9","partnerId":1307701,"size":0,"tags":"web,mbr","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374782773,"description":"video warnings: 2107,1440,4000#The target flavor bitrate (1440) does not comply with the requested bitrate (4000).; 2106,#Redundant bitrate.\naudio warnings: 2106,#Redundant bitrate.\n","objectType":"KalturaFlavorAsset"},{"flavorParamsId":487081,"width":0,"height":0,"bitrate":0,"frameRate":0,"isOriginal":false,"isWeb":true,"status":4,"isDefault":false,"id":"1_nfotuudg","entryId":"1_ph1xslf9","partnerId":1307701,"size":0,"tags":"web,mbr","fileExt":"mp4","createdAt":1374782773,"updatedAt":1374782773,"description":"video warnings: 2107,1440,2500#The target flavor bitrate (1440) does not comply with the requested bitrate (2500).; 2106,#Redundant bitrate.\naudio warnings: 2106,#Redundant bitrate.\n","objectType":"KalturaFlavorAsset"}],{"objects":[],"totalCount":0,"objectType":"KalturaCaptionAssetListResponse"}]

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
4 participants
You can’t perform that action at this time.