Hi,
Gustavo Felisberto wrote:
[...]
> I start getting a return of -1 and:
> [video4linux @ 0x4d170050]Bad capture size (352x288) or wrong time base (0)
> Could not open device
This error message indicates that you did not properly set
formatParams.time_base.
Try setting
formatParams.time_base.num = 1;
formatParams.time_base.den = 25;
or something similar, depending on the frame rate at which you want to
capture video. Also, try "video4linux2" before "video4linux" (it works
much better).
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user