[FFmpeg-user] http cookie example does not work

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 1 02:12:56 CET 2013


Stefano Sabatini <stefasab <at> gmail.com> writes:

> > >./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).

If this is the problem, it may be possible to work-around with 
the -f mjpeg demuxer.

Carl Eugen



More information about the ffmpeg-user mailing list