[Ffmpeg-devel] Streaming from camera segfaults on Ubuntu Dapper

Timo Rantalaiho Timo.Rantalaiho
Fri Oct 27 11:57:59 CEST 2006


Hello Luca,

On Thu, 26 Oct 2006, Luca Abeni wrote:
> first of all, sorry for the late reply.

No problem!

> The driver is claiming that it is returning a frame of size 460800...
> Maybe I misunderstood the v4l2 specifications, but this looks wrong to
> me (if I am not wrong, 460800 should be the buffer size for a 640x480
> frame).

It seems to, because when I changed the frame size to 
640x480 it was actually able to grab something! Grabbing 
to mpeg to disk works!

However, what I _really_ wanted to do (stream with ffserver) 
still doesn't work too well. The picture is very flaky and 
with a lot of delay, and there is a lot of "buffer underfow" 
output from ffserver:

buffer underflow.0 size=    1268kB time=82.2 bitrate= 126.4kbits/s
buffer underflow
buffer underflow
buffer underflow
frame= 2075 q=31.0 Lsize=    1280kB time=83.0 bitrate= 126.4kbits/s
video:477kB audio:0kB global headers:0kB muxing overhead 168.392719%

Anyway, thanks for your attention and the tip on the frame 
size.

Best wishes,

Timo





More information about the ffmpeg-devel mailing list