[FFmpeg-user] http cookie example does not work

Stefano Sabatini stefasab at gmail.com
Thu Jan 31 22:04:18 CET 2013


On date Thursday 2013-01-31 21:23:23 +0100, video-server wrote:
> adding to my previous post,the user-agent flag is too ignored.
> 
> Dňa 30.01.2013 19:02, video-server wrote / napísal(a):
> >hi
> >
> >i have a problem with cookies, they are not sent as specified in
> >parameter.
> >according to example syntax mentioned in documentation
> >http://ffmpeg.org/ffmpeg-protocols.html#HTTP-Cookies :
> >
> >ffplay -cookies "nlqptid=nltid=tsn; path=/;
> >domain=somedomain.com;" http://somedomain.com/somestream.m3u8
> >
> >
> >my values:
> >
> >./ffplay -cookies "usrid=admin; pwdid=admin; path=/;
> >domain=192.168.93.224;" http://192.168.93.224/snap.jpg
> >
> >wireshark shows following headers:
> >
> >GET /snap.jpg HTTP/1.1
> >User-Agent: Lavf54.61.104
> >Accept: */*
> >Range: bytes=0-
> >Connection: close

This is because unfortunately there is a misbehavior occurring when
http is used in conjunction with the image2 demuxer, for which options
are not propagated (and the command will fail later).
-- 
FFmpeg = Fascinating and Fabulous Mastering Ponderous Enhancing God


More information about the ffmpeg-user mailing list