[FFmpeg-trac] #9836(ffmpeg:new): Redirecting an Input by FFmpeg
FFmpeg
trac at avcodec.org
Mon Jul 18 23:11:11 EEST 2022
#9836: Redirecting an Input by FFmpeg
---------------------------------+----------------------------------
Reporter: chopo31 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: 4.3.3 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------
Description changed by chopo31:
Old description:
> Hello Everyone
> I've small issue hopefully can be sorted out .
> I have an HTTP URL that redirects (status code 307) to another URL
>
> like this :
> {{{
> wget https://ucdn.starhubgo.com/bpk-
> tv/HubSports1HDNEW/output/manifest.mpd
> --2022-07-18 21:51:33-- https://ucdn.starhubgo.com/bpk-
> tv/HubSports1HDNEW/output/manifest.mpd
> Resolving ucdn.starhubgo.com (ucdn.starhubgo.com)... 202.156.10.23
> Connecting to ucdn.starhubgo.com
> (ucdn.starhubgo.com)|202.156.10.23|:443... connected.
> HTTP request sent, awaiting response... 307 Temporary Redirect
> Location: https://sh-bks400-07.starhubgo.com:443/bpk-
> token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-
> tv/HubSports1HDNEW/output/manifest.mpd [following]
> --2022-07-18 21:51:34-- https://sh-bks400-07.starhubgo.com/bpk-
> token/m3hstwfbabaaaaaaaodt0mcaaaaaaaaaaaaetcngvzngt1yg/bpk-
> tv/HubSports1HDNEW/output/manifest.mpd
> Resolving sh-bks400-07.starhubgo.com (sh-bks400-07.starhubgo.com)...
> 203.116.4.46
> Connecting to sh-bks400-07.starhubgo.com (sh-
> bks400-07.starhubgo.com)|203.116.4.46|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4254 (4.2K) [application/dash+xml]
> }}}
>
> but the issue is when I put it on FFmpeg it seems doen't redirect it
>
> {{{
> ./ffprobe https://ucdn.starhubgo.com/bpk-
> tv/HubSports1HDNEW/output/manifest.mpd
> ffprobe version 4.3.git Copyright (c) 2007-2020 the FFmpeg developers
> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
> 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
> libavutil 56. 62.100 / 56. 62.100
> libavcodec 58.115.102 / 58.115.102
> libavformat 58. 65.100 / 58. 65.100
> libavdevice 58. 11.103 / 58. 11.103
> libavfilter 7. 94.100 / 7. 94.100
> libswscale 5. 8.100 / 5. 8.100
> libswresample 3. 8.100 / 3. 8.100
> libpostproc 55. 8.100 / 55. 8.100
> [https @ 0x3276400] HTTP error 403 Forbidden
> [dash @ 0x325c200] Failed to open an initialization section
> [dash @ 0x325c200] Error when loading first fragment of playlist
> https://ucdn.starhubgo.com/bpk-tv/HubSports1HDNEW/output/manifest.mpd:
> Server returned 403 Forbidden (access denied)
>
> }}}
> I can't use the redirected URL as it comes with token & Expire , if there
> a way to force ffmpeg to use second URL .
>
> Greetings .
New description:
I tried other version it same issue , is there a way force ffmpeg to parse
location URL instead of main url ?
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9836#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list