kaul:
@noblepepper: Thank you so much. My Webcam works now! Awesome job, thanks for your help.
I have one question regarding fswebcam, maybe someone has an answer to it:
fswebcam has a feature built in where you can write the actual date on the shots the cam makes. However I receive this error:
--- Processing captured image...
Unable to load font 'sans': libgd was not built with FreeType font support
I also tried to define the path to the font, then however I receive only the error that freetype font support is not given. I understand, that this is an issue of libgd, but maybe someone knows a workaround?
Thanks for your help.
recompile libgd with freetype support.
nano ~/OpenWrt-yun/package/feeds/packages/gd/Makefile
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--disable-rpath \
--without-x \
--without-fontconfig \
--without-freetype \
--with-jpeg=$(STAGING_DIR)/usr \
--with-png=$(STAGING_DIR)/usr \
--without-xpm \
--without-iconv
remove " --without-freetype \" then recompile libgd. then remove installed libgd force install new revision one. I have not chance to test it but you should go ahead try it yourself.