Changes between Version 2 and Version 3 of Ticket #9836


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9836 – Description

    v2 v3  
    1 I tried other version it same issue , is there a way force ffmpeg to parse location URL instead of main url ?
     1Hello Everyone
     22               I've small issue hopefully can be sorted out .
     33               I have an HTTP URL that redirects (status code 307) to another URL
     44               
     55               like this :
     66               {{{
     77               wget https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     88               --2022-07-18 21:51:33--  https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     99               Resolving ucdn.starhubgo.com (ucdn.starhubgo.com)... 202.156.10.23
     1010              Connecting to ucdn.starhubgo.com (ucdn.starhubgo.com)|202.156.10.23|:443... connected.
     1111              HTTP request sent, awaiting response... 307 Temporary Redirect
     1212              Location: https://sh-bks400-07.starhubgo.com:443/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd [following]
     1313              --2022-07-18 21:51:34--  https://sh-bks400-07.starhubgo.com/bpk-token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     1414              Resolving sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)... 203.116.4.46
     1515              Connecting to sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)|203.116.4.46|:443... connected.
     1616              HTTP request sent, awaiting response... 200 OK
     1717              Length: 4254 (4.2K) [application/dash+xml]
     1818              }}}
     1919             
     2020              but the issue is when I put it on FFmpeg it seems doen't redirect it
     2121             
     2222              {{{
     2323              ./ffprobe https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd
     2424              ffprobe version 4.3.git Copyright (c) 2007-2020 the FFmpeg developers
     2525                built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
     2626                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
     2727                libavutil      56. 62.100 / 56. 62.100
     2828                libavcodec     58.115.102 / 58.115.102
     2929                libavformat    58. 65.100 / 58. 65.100
     3030                libavdevice    58. 11.103 / 58. 11.103
     3131                libavfilter     7. 94.100 /  7. 94.100
     3232                libswscale      5.  8.100 /  5.  8.100
     3333                libswresample   3.  8.100 /  3.  8.100
     3434                libpostproc    55.  8.100 / 55.  8.100
     3535              [https @ 0x3276400] HTTP error 403 Forbidden
     3636              [dash @ 0x325c200] Failed to open an initialization section
     3737              [dash @ 0x325c200] Error when loading first fragment of playlist
     3838              https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd: Server returned 403 Forbidden (access denied)
     3939             
     4040              }}}
     4141              I can't use the redirected URL as it comes with token & Expire , if there a way to force ffmpeg to use second URL .
     4242             
     4343              Greetings .