[FFmpeg-user] ffplay and redirect URL
Sooyang Park
spark at vizzion.com
Tue Aug 27 22:08:35 EEST 2019
Hello,
I have an HTTP endpoint that redirects (status code 302) to an RTSP URL.
The HTTP URL is:
http://http-to-rtsp-redirect-test.azurewebsites.net/api/HttpTrigger3?code=Ks
YPf7yjaMGPTaAWLpnJk98LcfF9XuhBVwZWsXNoNUdVjazxIJ3tow==
The URL that it redirects to is
rtmp://ITSStreamingNO.dotd.la.gov:1935/public/hou-cam-006.streams
The HTTP URL works fine in VLC but doesn't play in ffplay and I can't figure
out why. Does anyone know why this isn't working?
The message I get from ffplay is
C:\Program Files\ffmpeg\bin>ffplay -loglevel debug
"http://http-to-rtsp-redirect
-test.azurewebsites.net/api/HttpTrigger3?code=KsYPf7yjaMGPTaAWLpnJk98LcfF9Xu
hBVw
ZWsXNoNUdVjazxIJ3tow=="
ffplay version N-80386-g5f5a97d Copyright (c) 2003-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-nv
enc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enabl
e-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--en
able-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libil
bc --enable-libmodplug --enable-libmfx --enable-libmp3lame
--enable-libopencore-
amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-
librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr
--enable-li
bspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo
-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libweb
p --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-l
ibzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 38.100 / 57. 38.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.101 / 6. 46.101
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[http @ 000000000054d360] Setting default whitelist
'http,https,tls,rtp,tcp,udp,
crypto,httpproxy'
[http @ 000000000054d360] request: GET
/api/HttpTrigger3?code=KsYPf7yjaMGPTaAWLp
nJk98LcfF9XuhBVwZWsXNoNUdVjazxIJ3tow== HTTP/1.1
User-Agent: Lavf/57.38.100
Accept: */*
Range: bytes=0-
Connection: close
Host: http-to-rtsp-redirect-test.azurewebsites.net
Icy-MetaData: 1
[http @ 000000000054d360] request: GET /public/hou-cam-006.streams HTTP/1.1
User-Agent: Lavf/57.38.100
Accept: */*
Range: bytes=0-
Connection: close
Host: ITSStreamingNO.dotd.la.gov:1935
Icy-MetaData: 1
[AVIOContext @ 00000000005a4ba0] Statistics: 190 bytes read, 0 seeks
http://http-to-rtsp-redirect-test.azurewebsites.net/api/HttpTrigger3?code=Ks
YPf7
yjaMGPTaAWLpnJk98LcfF9XuhBVwZWsXNoNUdVjazxIJ3tow==: Invalid data found when
proc
essing input
Thanks a lot,
Sooyang
More information about the ffmpeg-user
mailing list