Hi,

I am capturing video from my webcam using ffmpeg and feeding ffserver.
The command I am using is as follows:
ffmpeg -an -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -flags gray
http://localhost:8080/feed1.ffm

My ffserver process is running on the same host, and to start the process I
used the command:
ffserver -f ./doc/ffserver.conf -d ------->

FFserver version SVN-r20346, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on May 27 2010 01:43:51 with gcc 4.4.1
  configuration: --enable-gpl --enable-nonfree --enable-postproc
--enable-pthreads --enable-x11grab --enable-gray --enable-libdc1394
--enable-libxvid --enable-gprof --disable-stripping --enable-avfilter
--enable-libxvid
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.37. 0 / 52.37. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1. 3. 1 /  1. 3. 1
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
Mon May 31 22:08:55 2010 FFserver started.

I can see my video live, but in YUV420P colorspace format. Is there any way
I can only stream grayscale video? Please give me some pointers on which
files to look at and change it programatically. the command line option
doesn't seem to work.
It is very urgent, and any help on this issue would be greatly appreciated.

Thanks in advance.
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user

Reply via email to