Using available source code I managed to do a simple video capture program:

http://pastebin.com/m5e2840a8

But now I'm trying to use it in a larger project. The thing is when I 
copy/pasted it to a c++ file I started receiving a "-12" when calling
int result = av_open_input_file(&pFormatCtx, "/dev/video0", iformat, 0, 
&formatParams);

I'm using Gentoo+Eclipse+CDT and I cannot step into the ffmpeg code. Any 
pointers on how I can do this would help be see where my problem is.

-- 

Gustavo Felisberto
(HumpBack)

Web: http://dev.gentoo.org/~humpback

Blog: http://blog.felisberto.net/

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to