[FFmpeg-user] how to ­get h264 stream fr­om web­cam with hardware H­264

Roger Pack rogerdpack2 at gmail.com
Thu Dec 20 15:46:11 CET 2012

On 12/20/12, Val Malykh <valem at pochta.ru> wrote:
> Hello Lou,
> I've done as you advised and I have such output:
> [video4linux2,v4l2 @ 0xc0b5b0] C : Unsupported :                H.264
> full output is here: http://pastebin.com/4wSRDcL5
> As far as I understand receiving H264 video directly is unsupported, but
> I've managed to receive video stream by using capture app of Alexandru Csete
> (http://oz9aec.net/index.php/gstreamer/473-using-the-logitech-c920-webcam-with-gstreamer).
> It seems to be ok in this case:
>  ../bonecam/capture/capture -f 640x480 -c 5000 -o | ./ffmpeg -i - -vcodec
> copy -an test1.h264
> I am able to view recorded video in VLC, but when I'm trying to stream it
> out I have an issue with playing a stream like this:
> ../bonecam/capture/capture -f 640x480 -c 100000 -o | ./ffmpeg -i - -vcodec
> copy -an http://localhost:8099/feed1.ffm
> VLC shows only green screen and that's it. In the statistics there is info
> that it could decode only 2 frames, but it receiving a stream itself.

does ffplay receive it? (it might also be an ffserver issue, yes?)

More information about the ffmpeg-user mailing list