[FFmpeg-user] how to ­­get h264 stream fr­om we­b­cam with hardware H­26

Val Malykh valem at pochta.ru
Fri Dec 21 09:16:54 CET 2012


Чтв 20 Дек 2012 18:46:31 +0400, Roger Pack  написал:
On 12/20/12, Val Malykh  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?)

_______________________________________________

ffmpeg-user mailing list

ffmpeg-user at ffmpeg.org

http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Hello Roger, 
When I'm trying to play a steram or its dump, I'm receiveing this:
ubuntu at arm:~$ ffplay ff/test1.h264 avplay version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2003-2012 the Libav developers  built on Nov  6 2012 17:40:28 with gcc 4.6.3No protocol specifiedNo protocol specifiedNo protocol specifiedNo protocol specifiedNo protocol specifiedNo protocol specifiedNo protocol specifiedNo protocol specifiedSegmentation fault
It seems to me, that I'm missing some config options for it. May be you could point me what I'm missing?
Regards,Valentin Malykh.


More information about the ffmpeg-user mailing list