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

Generated Download link is not downloadable or seekable #248

Open
hrehfeld opened this issue Jul 8, 2022 · 0 comments
Open

Generated Download link is not downloadable or seekable #248

hrehfeld opened this issue Jul 8, 2022 · 0 comments

Comments

@hrehfeld
Copy link

hrehfeld commented Jul 8, 2022

https://www.ardmediathek.de/video/Y3JpZDovL3Nwb3J0c2NoYXUuZGUvOGI2YWNkZmEtMTQ1MC00ZmM1LTg1MDAtNmEwMzk0ZWU3YzUw

mpv:

$ mpv https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
[ffmpeg] Seek failed (to 6289891748, size -38)
 (+) Video --vid=1 (*) (h264 1280x720 50.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
Using hardware decoding (nvdec-copy).
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 nv12
AV: 00:00:02 / 04:15:27 (0%) A-V:  0.000 Cache: 62s/27MB
[ffmpeg] https: Stream ends prematurely at 35651584, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 35651584 in 0 second(s), error=Input/output error.
AV: 00:00:03 / 04:15:27 (0%) A-V:  0.000 Cache: 61s/27MB
[ffmpeg] https: Stream ends prematurely at 35651584, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 35651584 in 1 second(s), error=Input/output error.
AV: 00:00:04 / 04:15:27 (0%) A-V:  0.000 Cache: 60s/26MB
[ffmpeg] https: Stream ends prematurely at 35651584, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 35651584 in 3 second(s), error=Input/output error.
(Paused) AV: 00:00:06 / 04:15:27 (0%) A-V:  0.000 Cache: 58s/25MB
[autoconvert] Converting nv12 -> yuv420p
(...) AV: 00:00:06 / 04:15:27 (0%) A-V:  0.000 Cache: 58s/25MB
VO: [gpu] 3840x2160 yuv420p
AV: 00:00:06 / 04:15:27 (0%) A-V:  0.000 Cache: 58s/25MB
[ffmpeg] https: Stream ends prematurely at 35651584, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 35651584 in 7 second(s), error=Input/output error.
AV: 00:00:13 / 04:15:27 (0%) A-V:  0.000 Dropped: 3 Cache: 51s/22MB
[ffmpeg] https: Stream ends prematurely at 35651584, should be 18446744073709551615
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 5878800).
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, offset 0x2201636: partial file
AV: 00:00:19 / 04:15:27 (0%) A-V:  0.000 Dropped: 4 Cache: 45s/19MB
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, offset 0x220200c: partial file
(...) AV: 00:46:22 / 04:15:27 (18%) A-V:  0.000 Cache: 0.0s/14KB
[ffmpeg/video] h264: Invalid NAL unit size (8126 > 2440).
[ffmpeg/video] h264: Error splitting the input into NAL units.
Error while decoding frame (hardware decoding)!
(...) AV: 00:46:22 / 04:15:27 (18%) A-V:  0.000 Cache: 0.0s/0KB

(...) AV: 00:46:22 / 04:15:27 (18%) A-V:  0.000 Cache: 0.0s/0KB
[ffmpeg] Seek failed (to 6289891748, size -38)
$ wget https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
--2022-07-08 15:29:44--  https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)... 2001:1438:1:24::577b:fa52, 2001:1438:1:24::577b:fa53, 89.27.241.72, ...
Connecting to sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)|2001:1438:1:24::577b:fa52|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6289891810 (5.9G) [video/mp4]
Saving to: ‘a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4’

a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4              0%[                                                                                                                                           ]  34.00M  6.35MB/s    in 5.4s    

2022-07-08 15:29:49 (6.33 MB/s) - Connection closed at byte 35651584. Retrying.

--2022-07-08 15:29:50--  (try: 2)  https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
Connecting to sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)|2001:1438:1:24::577b:fa52|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.

--2022-07-08 15:29:52--  (try: 3)  https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
Connecting to sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)|2001:1438:1:24::577b:fa52|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.

--2022-07-08 15:29:55--  (try: 4)  https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
Connecting to sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)|2001:1438:1:24::577b:fa52|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.

--2022-07-08 15:29:59--  (try: 5)  https://sportschau-dd.akamaized.net/de/nfsk/2022/07/06/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8/a3d6ff4b-b9de-4e51-b84d-724e0ffb9ac8_AVC-720.mp4
Connecting to sportschau-dd.akamaized.net (sportschau-dd.akamaized.net)|2001:1438:1:24::577b:fa52|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.

youtube-dl works:

$ youtube-dl 'https://www.ardmediathek.de/video/Y3JpZDovL3Nwb3J0c2NoYXUuZGUvOGI2YWNkZmEtMTQ1MC00ZmM1LTg1MDAtNmEwMzk0ZWU3YzUw'
[ARDBetaMediathek] Y3JpZDovL3Nwb3J0c2NoYXUuZGUvOGI2YWNkZmEtMTQ1MC00ZmM1LTg1MDAtNmEwMzk0ZWU3YzUw: Downloading JSON metadata
[ARDBetaMediathek] 10634051: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1536
[download] Destination: 4. Etappe - die komplette Übertragung-10634051.mp4
[download]  25.9% of ~6.13GiB at  6.45MiB/s ETA 14:19

From Germany.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant