multimedia/pwcbsd has been recently updated to accommodate the changes to graphics/jpeg. This change was only to reference the new jpeg library version in the Makefile, no code was modified.
While this has fixed the port in terms of building, it appears to have left pwcbsd (via pwcview) incapable of generating static images (presumably streaming video is unaffected since I don't see any other reports of problems here).
FreeBSD 7.2-RELEASE-p2
Prior to the update pwcview (cmdline tool supplied by pwcbsd) has worked perfectly for several months on my system.
I applied the jpeg update a couple of days ago as per /usr/ports/UPDATING. It triggered rebuilds of stamp, php5-gd, and pwcbsd. All built correctly. I have manually re-installed the new kernel module and even rebooted the system to make sure no old processes were hanging about.
Running:
generates:
... and a corefile, downloadable here.
It also generates an image which is viewable, but corrupted. It appears to be truncated & lacks some image and color data. You can see the effects here: http://webcam.easytarget.me.uk/webcam.jpg
I'm guessing this must be due to changes in the jpeg libraries, and possibly the bug is with libjpeg and not pwcview.. I'm no coder and can't debug this myself, but I am very willing to try any patches or other suggestions.
I have also tried this command using other options, eg. -s for all the available resolutions, -q to change the compression quality. I also tried -y although I don't think this is relevant for static images. Searching on the web did not turn up anything similar being reported elsewhere.
While this has fixed the port in terms of building, it appears to have left pwcbsd (via pwcview) incapable of generating static images (presumably streaming video is unaffected since I don't see any other reports of problems here).
FreeBSD 7.2-RELEASE-p2
- Philips PCVC740K (ToUCam Pro).
- IBM thinkpad G40 (USB2, Intel 82852/82855 GM/GME chipset, with all USB options compiled in to my custom kernel)
Prior to the update pwcview (cmdline tool supplied by pwcbsd) has worked perfectly for several months on my system.
I applied the jpeg update a couple of days ago as per /usr/ports/UPDATING. It triggered rebuilds of stamp, php5-gd, and pwcbsd. All built correctly. I have manually re-installed the new kernel module and even rebooted the system to make sure no old processes were hanging about.
Running:
Code:
pwcview -h -s vga -c 1 -o capture.jpg
Code:
Webcam set to: 640x480 (vga) at 5 fps
Segmentation fault (core dumped)
It also generates an image which is viewable, but corrupted. It appears to be truncated & lacks some image and color data. You can see the effects here: http://webcam.easytarget.me.uk/webcam.jpg
I'm guessing this must be due to changes in the jpeg libraries, and possibly the bug is with libjpeg and not pwcview.. I'm no coder and can't debug this myself, but I am very willing to try any patches or other suggestions.
I have also tried this command using other options, eg. -s for all the available resolutions, -q to change the compression quality. I also tried -y although I don't think this is relevant for static images. Searching on the web did not turn up anything similar being reported elsewhere.