Hi all,

I am trying to stream grayscale video using ffmpeg revision-20346 from my
Webcam to a remote host running FFserver. I am feeding FFserver with YUV420p
data encoded using h.263 std. and the container format Flash Video (flv).
That works fine and i can see my video live. But now my question is, whether
its possible for me to stream just the Luminance part of the stream that is
just the grayscale video, so that when I see the video from a browser I can
only see the grayscale part. I have used quite a few options for doing that
such as -flags gray, -pix_fmt gray, but nothing seems to work. But when I
output to a file everything looks OK, I actually can see the grayscale video


Command that is working ---- Outputing to a file,
"ffmpeg -an -f video4linux2 -s 320x240 -r 30 -f rawvideo -i /dev/video0
-flags gray out.avi" (I get the grayscale video - 8 bits per pixel)

Command not working ----- (Only can see the colored video) trying to obtain
grayscale video:
"ffmpeg -an -f video4linux2 -s 320x240 -r 30 -f rawvideo -i /dev/video0
-flags gray http://localhost:8080/feed1.ffm";

Could someone please help me. Any pointers on which files to look at would
be greatly appreciated. Its really urgent, and I need to get this to work as
early as possible.

Thanks

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

Reply via email to