[FFmpeg-trac] #2646(FFmpeg:new): FFMPEG HTTP protocol not generation authorization line
FFmpeg
trac at avcodec.org
Thu Jun 6 02:41:00 CEST 2013
#2646: FFMPEG HTTP protocol not generation authorization line
----------------------------------+--------------------------------------
Reporter: hackeron | Type: defect
Status: new | Priority: normal
Component: FFmpeg | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
I have an acti camera, I can send these headers to it to receive an MJPEG
stream:
GET /cgi-bin/cmd/system?GET_STREAM HTTP/1.1
User-Agent: Mozilla/5.0 Lavf/55.8.102
Accept: */*
Host: 192.168.1.40
Connection: Close
Range: bytes=0-
Authorization: Basic YWRtaW46MTIzNDU2
However when I run:
ffmpeg -i "http://admin:123456@192.168.1.40/cgi-bin/cmd/system?GET_STREAM"
And capture what it sends with tcpdump, I see it sends these headers:
GET /cgi-bin/cmd/system?GET_STREAM HTTP/1.1
User-Agent: Mozilla/5.0 Lavf/55.8.102
Accept: */*
Range: bytes=0-
Connection: close
Host: 192.168.1.40
Notice there are identical except FFMPEG doesn't generate the
Authorization line. Isn't it meant to?
I'm using ffmpeg version N-53816-g55121f3 compiled Jun 4 2013 on Ubuntu
13.04.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2646>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list