Stefano,
You need to register all the *devices* using avdevice_register_all(), then you should be able to get the video4linux input format (assuming it has been compiled into your libavdevice).Follows a little app to show you all the register input formats/devices. #include <stdio.h> #include <libavformat/avformat.h> int main(int argc, char **argv) { AVInputFormat *p = NULL; av_register_all(); avdevice_register_all(); while (p = av_iformat_next(p)) printf("%s: %s:\n", p->name, p->long_name); return 0; }
thank you - it works now fine! Akos _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
