On Wed, 30 Jan 2013 13:27:39 +0100, video-server <[email protected]> wrote:
> hello
> 
> i have a ip camera that requires cookies to return jpg image
> the following syntax is my attempt to add cookies to headers
> 
> avconv -v debug -nostats -analyzeduration 0 -f image2 -loop 1 -i 
> http://ip/snap.jpg -headers $'Cookie: pwdid=admin; usrid=admin\r\n' 
> -vsync vfr -s 640x480 -f mpjpeg -vcodec mjpeg -b 8000k -vf 
> drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeMonoBold.ttf:fontsize=15:text='%F
>  
> %T ip':fontcolor=red -
> 

Options always apply only to the next input or output file. If you want the
-headers option to apply to input, it must be given before -i.

-- 
Anton Khirnov
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to