Changes between Version 3 and Version 4 of Ticket #9836


Ignore:
Timestamp:
Jul 18, 2022, 8:30:16 PM (4 years ago)
Author:
chopo31
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9836 – Description

    v3 v4  
    11Hello Everyone
    2 2               I've small issue hopefully can be sorted out .
    3 3               I have an HTTP URL that redirects (status code 307) to another URL
    4 4               
    5 5               like this :
    6 6               {{{
    7 7               wget https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
    8 8               --2022-07-18 21:51:33--  https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
    9 9               Resolving ucdn.starhubgo.com (ucdn.starhubgo.com)... 202.156.10.23
    10 10              Connecting to ucdn.starhubgo.com (ucdn.starhubgo.com)|202.156.10.23|:443... connected.
    11 11              HTTP request sent, awaiting response... 307 Temporary Redirect
    12 12              Location: https://sh-bks400-07.starhubgo.com:443/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd [following]
    13 13              --2022-07-18 21:51:34--  https://sh-bks400-07.starhubgo.com/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd
    14 14              Resolving sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)... 203.116.4.46
    15 15              Connecting to sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)|203.116.4.46|:443... connected.
    16 16              HTTP request sent, awaiting response... 200 OK
    17 17              Length: 4254 (4.2K) [application/dash+xml]
    18 18              }}}
    19 19             
    20 20              but the issue is when I put it on FFmpeg it seems doen't redirect it
    21 21             
    22 22              {{{
    23 23              ./ffprobe https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
    24 24              ffprobe version 4.3.git Copyright (c) 2007-2020 the FFmpeg developers
    25 25                built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
    26 26                configuration: --enable-gpl --enable-libass --enable-libfdk-aac --enable-libxml2 --enable-demuxer=dash --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libzvbi --enable-gpl --enable-fontconfig --enable-openssl --enable-nonfree --extra-libs=-lpthread --enable-libass
    27 27                libavutil      56. 62.100 / 56. 62.100
    28 28                libavcodec     58.115.102 / 58.115.102
    29 29                libavformat    58. 65.100 / 58. 65.100
    30 30                libavdevice    58. 11.103 / 58. 11.103
    31 31                libavfilter     7. 94.100 /  7. 94.100
    32 32                libswscale      5.  8.100 /  5.  8.100
    33 33                libswresample   3.  8.100 /  3.  8.100
    34 34                libpostproc    55.  8.100 / 55.  8.100
    35 35              [https @ 0x3276400] HTTP error 403 Forbidden
    36 36              [dash @ 0x325c200] Failed to open an initialization section
    37 37              [dash @ 0x325c200] Error when loading first fragment of playlist
    38 38              https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd: Server returned 403 Forbidden (access denied)
    39 39             
    40 40              }}}
    41 41              I can't use the redirected URL as it comes with token & Expire , if there a way to force ffmpeg to use second URL .
    42 42             
    43 43              Greetings .
     2I've small issue hopefully can be sorted out .
     3I have an HTTP URL that redirects (status code 307) to another URL
     4
     5like this :
     6{{{
     7wget https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     8--2022-07-18 21:51:33--  https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     9Resolving ucdn.starhubgo.com (ucdn.starhubgo.com)... 202.156.10.23
     10Connecting to ucdn.starhubgo.com (ucdn.starhubgo.com)|202.156.10.23|:443... connected.
     11HTTP request sent, awaiting response... 307 Temporary Redirect
     12Location: https://sh-bks400-07.starhubgo.com:443/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd [following]
     13--2022-07-18 21:51:34--  https://sh-bks400-07.starhubgo.com/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     14Resolving sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)... 203.116.4.46
     15Connecting to sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)|203.116.4.46|:443... connected.
     16HTTP request sent, awaiting response... 200 OK
     17Length: 4254 (4.2K) [application/dash+xml]
     18}}}
     19
     20but the issue is when I put it on FFmpeg it seems doen't redirect it
     21
     22{{{
     23./ffprobe https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     24ffprobe version 4.3.git Copyright (c) 2007-2020 the FFmpeg developers
     25built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
     26configuration: --enable-gpl --enable-libass --enable-libfdk-aac --enable-libxml2 --enable-demuxer=dash --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libzvbi --enable-gpl --enable-fontconfig --enable-openssl --enable-nonfree --extra-libs=-lpthread --enable-libass
     27libavutil      56. 62.100 / 56. 62.100
     28libavcodec     58.115.102 / 58.115.102
     29libavformat    58. 65.100 / 58. 65.100
     30libavdevice    58. 11.103 / 58. 11.103
     31libavfilter     7. 94.100 /  7. 94.100
     32libswscale      5.  8.100 /  5.  8.100
     33libswresample   3.  8.100 /  3.  8.100
     34libpostproc    55.  8.100 / 55.  8.100
     35[https @ 0x3276400] HTTP error 403 Forbidden
     36[dash @ 0x325c200] Failed to open an initialization section
     37[dash @ 0x325c200] Error when loading first fragment of playlist
     38https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd: Server returned 403 Forbidden (access denied)
     39
     40}}}
     41I can't use the redirected URL as it comes with token & Expire , if there a way to force ffmpeg to use second URL .
     42
     43Greetings .