[FFmpeg-trac] #7660(avformat:new): Unable to play URLs with fragment identifier

FFmpeg trac at avcodec.org
Tue Jan 8 20:14:46 EET 2019


#7660: Unable to play URLs with fragment identifier
-------------------------------------+------------------------------------
             Reporter:  remitamine   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by remitamine):

 {{{
 ./ffplay -v trace $(curl
 https://www.dailymotion.com/player/metadata/video/x6ykqgm | jq -r
 .qualities.auto[0].url)
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 11255    0 11255    0     0  18481      0 --:--:-- --:--:-- --:--:--
 18481
 ffplay version N-92933-g2659a0fe36 Copyright (c) 2003-2019 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20181127
   configuration: --enable-gnutls
   libavutil      56. 25.100 / 56. 25.100
   libavcodec     58. 43.100 / 58. 43.100
   libavformat    58. 25.100 / 58. 25.100
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 46.101 /  7. 46.101
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
 Initialized opengl renderer.
 [NULL @ 0x7fbd04000b80] Opening
 'https://www.dailymotion.com/cdn/manifest/video/x6ykqgm.m3u8?sec=Hp1KzZeSUhvvwGdZmd4x5EKntzC50U75CkThv1HpQa283G6re2xObR9BXhhiscBP'
 for reading
 [https @ 0x7fbd04001780] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [tcp @ 0x7fbd04003d80] Original list of addresses:sq=    0B f=0/0
 [tcp @ 0x7fbd04003d80] Address 195.8.215.136 port 443
 [tcp @ 0x7fbd04003d80] Interleaved list of addresses:
 [tcp @ 0x7fbd04003d80] Address 195.8.215.136 port 443
 [tcp @ 0x7fbd04003d80] Starting connection attempt to 195.8.215.136 port
 443
 [tcp @ 0x7fbd04003d80] Successfully connected to 195.8.215.136 port 443
 [https @ 0x7fbd04001780] request: GET
 /cdn/manifest/video/x6ykqgm.m3u8?sec=Hp1KzZeSUhvvwGdZmd4x5EKntzC50U75CkThv1HpQa283G6re2xObR9BXhhiscBP
 HTTP/1.1
 User-Agent: Lavf/58.25.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: www.dailymotion.com
 Icy-MetaData: 1


 [https @ 0x7fbd04001780] header='HTTP/1.1 206 Partial Content'0/0
 [https @ 0x7fbd04001780] http_code=206
 [https @ 0x7fbd04001780] header='Content-Security-Policy-Report-Only:
 default-src https: blob: wss: data: android-webview-video-poster: android-
 webview: chrome-extension: safari-extension: 'unsafe-eval' 'unsafe-
 inline'; report-uri
 https://www.dailymotion.com/content_security_policy_report_uri'
 [https @ 0x7fbd04001780] header='Server: DMS/1.0.42'
 [https @ 0x7fbd04001780] header='X-DM-BackNode:
 web-609.adm.dc3.dailymotion.com:80'
 [https @ 0x7fbd04001780] header='Vary: X-DM-SSL,Accept-Encoding'
 [https @ 0x7fbd04001780] header='Cache-Control: private, max-age=60'
 [https @ 0x7fbd04001780] header='Content-Type:
 application/vnd.apple.mpegurl'
 [https @ 0x7fbd04001780] header='Content-Security-Policy: upgrade-
 insecure-requests'
 [https @ 0x7fbd04001780] header='Access-Control-Expose-Headers: X-DM-
 BackNode-Response-Time'
 [https @ 0x7fbd04001780] header='Strict-Transport-Security: max-
 age=31708800; includeSubDomains'
 [https @ 0x7fbd04001780] header='Date: Tue, 08 Jan 2019 18:12:50 GMT'
 [https @ 0x7fbd04001780] header='Keep-Alive: timeout=60, max=4989'
 [https @ 0x7fbd04001780] header='X-DM-LB-IP: 195.8.215.136'
 [https @ 0x7fbd04001780] header='Expires: Tue, 08 Jan 2019 18:13:50 +0000'
 [https @ 0x7fbd04001780] header='X-DM-LB-Name: lb-07'
 [https @ 0x7fbd04001780] header='Content-Range: bytes 0-2655/2656'
 [https @ 0x7fbd04001780] header='X-DM-BackNode-Response-Time: 439'
 [https @ 0x7fbd04001780] header='Connection: close'
 [https @ 0x7fbd04001780] header='Set-Cookie: dmvk=5c34e8227efc1; path=/;
 domain=.dailymotion.com'
 [https @ 0x7fbd04001780] header='Set-Cookie: ts=805906; expires=Fri, 07
 Feb 2020 18:12:49 GMT; Max-Age=34128000; path=/; domain=.dailymotion.com'
 [https @ 0x7fbd04001780] header='Set-Cookie:
 v1st=6AF047B2F90C9EA5257594119C01349B; expires=Fri, 07 Feb 2020 18:12:50
 GMT; max-age=34128000; path=/; domain=.dailymotion.com'
 [https @ 0x7fbd04001780] header='X-Protected-By: Sqreen'
 [https @ 0x7fbd04001780] header='X-Dm-Page: tn.html.cdn_director'
 [https @ 0x7fbd04001780] header='Content-Length: 2656'
 [https @ 0x7fbd04001780] header=''
 Probing hls,applehttp score:100 size:2048
 [hls,applehttp @ 0x7fbd04000b80] Format hls,applehttp probed with
 size=2048 and score=100
 [hls,applehttp @ 0x7fbd04000b80] Opening
 'https://proxy-010.ix7.dailymotion.com/sec(vKiHgyGzZBGev66P3WFPeIrlb_WdYJRrrxnWgJ36vhg)/video/414/178/420871414_mp4_h264_aac.m3u8#cell=core&qos_vpart=1&qos_geostore=1'
 for reading
 [tcp @ 0x7fbd04626a40] Original list of addresses:sq=    0B f=0/0
 [tcp @ 0x7fbd04626a40] Address 188.65.126.10 port 443
 [tcp @ 0x7fbd04626a40] Interleaved list of addresses:
 [tcp @ 0x7fbd04626a40] Address 188.65.126.10 port 443
 [tcp @ 0x7fbd04626a40] Starting connection attempt to 188.65.126.10 port
 443
 [tcp @ 0x7fbd04626a40] Successfully connected to 188.65.126.10 port 443
 [https @ 0x7fbd04629e80] request: GET
 /sec(vKiHgyGzZBGev66P3WFPeIrlb_WdYJRrrxnWgJ36vhg)/video/414/178/420871414_mp4_h264_aac.m3u8#cell=core&qos_vpart=1&qos_geostore=1
 HTTP/1.1
 User-Agent: Lavf/58.25.100
 Accept: */*
 Connection: keep-alive
 Host: proxy-010.ix7.dailymotion.com
 Cookie: dmvk=5c34e8227efc1; ts=805906;
 v1st=6AF047B2F90C9EA5257594119C01349B
 Icy-MetaData: 1


 [https @ 0x7fbd04629e80] header='HTTP/1.1 403 Forbidden' 0B f=0/0
 [https @ 0x7fbd04629e80] http_code=403
 [https @ 0x7fbd04629e80] HTTP error 403 Forbidden
 [AVIOContext @ 0x7fbd0462bcc0] Statistics: 2656 bytes read, 0 seeks
 https://www.dailymotion.com/cdn/manifest/video/x6ykqgm.m3u8?sec=Hp1KzZeSUhvvwGdZmd4x5EKntzC50U75CkThv1HpQa283G6re2xObR9BXhhiscBP:
 Server returned 403 Forbidden (access denied)
     nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7660#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list