[FFmpeg-user] Help- how to set user agent ffmpeg
Sunil M.S
sunil at artificerstechnologies.com
Thu Mar 17 13:22:37 CET 2016
Hi,
Can any one help me to set user agent ffmpeg
Error message : Unrecognized option 'headers'
Failed to set value 'User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0
like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0
Mobile/7A341 Safari/528.16' for option 'headers'
[root at dev1 ffmpeg]# ffmpeg -v 9 -loglevel 99 -headers "User-Agent:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)
AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341
Safari/528.16" -i rtsp://lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp
ffmpeg version 0.10.15 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 30 2014 15:49:19 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
--enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass
--enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal
--enable-libopenjpeg --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug
--disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Unrecognized option 'headers'
Failed to set value 'User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0
like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0
Mobile/7A341 Safari/528.16' for option 'headers'
More information about the ffmpeg-user
mailing list