[FFmpeg-trac] #6404(ffplay:new): 302 Moved Temporarily Url dont work

FFmpeg trac at avcodec.org
Fri May 19 17:46:10 EEST 2017


#6404: 302 Moved Temporarily Url dont work
---------------------------------+--------------------------------------
             Reporter:  mobifon  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffplay   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 ffmpeg -y -loglevel trace -i
 http://cdnapi.kaltura.com/p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081
 ffmpeg version N-86117-gb7b02aebec Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 6.3.0 (Gentoo 6.3.0 p1.0)
   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
 --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar
 --optflags='-march=corei7 -mtune=corei7 -O3 -pipe -fno-builtin-strlen'
 --extra-cflags='-march=corei7 -mtune=corei7 -O3 -pipe -fno-builtin-strlen'
 --extra-cxxflags='-march=corei7 -mtune=corei7 -O3 -pipe -fno-builtin-
 strlen' --disable-static --enable-avfilter --enable-avresample --disable-
 stripping --enable-nonfree --enable-libxml2 --enable-demuxer=hds --enable-
 demuxer=dash --disable-indev=oss --disable-indev=jack --disable-outdev=oss
 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc
 --disable-gnutls --enable-gpl --enable-iconv --disable-lzma --enable-
 network --enable-openssl --enable-postproc --disable-libsmbclient
 --enable-ffplay --enable-vaapi --disable-vdpau --enable-xlib --enable-
 libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-
 libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca
 --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse
 --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-
 aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-
 libgme --disable-libgsm --disable-libmodplug --enable-libopus --enable-
 librtmp --disable-libssh --disable-libschroedinger --disable-libspeex
 --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b
 --disable-libflite --disable-frei0r --disable-libfribidi --disable-
 fontconfig --disable-ladspa --disable-libass --enable-libfreetype
 --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-
 libmp3lame --enable-libtheora --disable-libtwolame --disable-libwavpack
 --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid
 --disable-amd3dnow --disable-amd3dnowext --disable-avx --disable-avx2
 --disable-fma3 --disable-fma4 --disable-xop --enable-pic --cpu=corei7
   libavutil      55. 63.100 / 55. 63.100
   libavcodec     57. 96.101 / 57. 96.101
   libavformat    57. 72.101 / 57. 72.101
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 90.100 /  6. 90.100
   libavresample   3.  6.  0 /  3.  6.  0
   libswscale      4.  7.101 /  4.  7.101
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 Splitting the commandline.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'trace'.
 Reading option '-i' ... matched as input url with argument
 'http://cdnapi.kaltura.com/p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option y (overwrite output files) with argument 1.
 Applying option loglevel (set logging level) with argument trace.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 http://cdnapi.kaltura.com/p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081.
 Successfully parsed a group of options.
 Opening an input file:
 http://cdnapi.kaltura.com/p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081.
 [http @ 0x65ac50] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [http @ 0x65ac50] request: GET
 /p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081
 HTTP/1.1
 User-Agent: Lavf/57.72.101
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: cdnapi.kaltura.com
 Icy-MetaData: 1


 [http @ 0x65ac50] header='HTTP/1.1 302 Moved Temporarily'
 [http @ 0x65ac50] http_code=302
 [http @ 0x65ac50] header='Server: Apache'
 [http @ 0x65ac50] header='X-Me: ny-front-api44'
 [http @ 0x65ac50] header='X-Kaltura: cached-dispatcher,playManifest-
 4812f79c56fd8f110dab0ffeed852a32,0.0013961791992188'
 [http @ 0x65ac50] header='Location:
 http://chip-a.akamaihd.net/p/1741931/sp/174193100/serveFlavor/entryId/0_p9t9o3a3/v/12/flavorId/0_4bs4kcvb/name/a.mp4'
 [http @ 0x65ac50] header='Access-Control-Allow-Origin: *'
 [http @ 0x65ac50] header='Access-Control-Expose-Headers: Server,range
 ,Content-Length,Content-Range'
 [http @ 0x65ac50] header='Last-Modified: Fri, 19 May 2017 13:32:13 GMT'
 [http @ 0x65ac50] header='Content-Encoding: gzip'
 [http @ 0x65ac50] header='Content-Length: 21'
 [http @ 0x65ac50] header='Content-Type: text/html'
 [http @ 0x65ac50] header='Cache-Control: private, max-age=15'
 [http @ 0x65ac50] header='Expires: Fri, 19 May 2017 14:38:01 GMT'
 [http @ 0x65ac50] header='Date: Fri, 19 May 2017 14:37:46 GMT'
 [http @ 0x65ac50] header='Connection: close'
 [http @ 0x65ac50] header=''
 [http @ 0x65ac50] request: GET
 /p/1741931/sp/174193100/serveFlavor/entryId/0_p9t9o3a3/v/12/flavorId/0_4bs4kcvb/name/a.mp4
 HTTP/1.1
 User-Agent: Lavf/57.72.101
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: chip-a.akamaihd.net
 Icy-MetaData: 1


 [http @ 0x65ac50] header='HTTP/1.1 206 Partial Content'
 [http @ 0x65ac50] http_code=206
 [http @ 0x65ac50] header='Server: nginx/1.8.0'
 [http @ 0x65ac50] header='Content-Type: video/mp4'
 [http @ 0x65ac50] header='Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT'
 [http @ 0x65ac50] header='ETag: "3a1794b0-3a2b40"'
 [http @ 0x65ac50] header='X-Vod-Me: ny-front-vod4'
 [http @ 0x65ac50] header='X-Vod-Session: 328908426'
 [http @ 0x65ac50] header='Access-Control-Allow-Headers: Origin,Range
 ,Accept-Encoding,Referer,Cache-Control'
 [http @ 0x65ac50] header='Access-Control-Expose-Headers: Server,Content-
 Length,Content-Range,Date'
 [http @ 0x65ac50] header='Access-Control-Allow-Methods: GET, HEAD,
 OPTIONS'
 [http @ 0x65ac50] header='Access-Control-Allow-Origin: *'
 [http @ 0x65ac50] header='Accept-Ranges: bytes'
 [http @ 0x65ac50] header='Cache-Control: max-age=1380520'
 [http @ 0x65ac50] header='Expires: Sun, 04 Jun 2017 14:06:26 GMT'
 [http @ 0x65ac50] header='Date: Fri, 19 May 2017 14:37:46 GMT'
 [http @ 0x65ac50] header='Content-Range: bytes 0-3812159/3812160'
 [http @ 0x65ac50] header='Content-Length: 3812160'
 [http @ 0x65ac50] header='Connection: close'
 [http @ 0x65ac50] header=''
 [http @ 0x65ac50] inflate return value: -3, unknown compression method
     Last message repeated 15 times
 [AVIOContext @ 0x65e400] Statistics: 0 bytes read, 0 seeks
 http://cdnapi.kaltura.com/p/1741931/sp/174193100/playManifest/entryId/0_p9t9o3a3/format/url/protocol/http/flavorParamId/487081:
 Invalid data found when processing input
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6404>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list