Whenever I use xvidcap to capture single frames into the xwd format, it creates xwd files that cannot be handled by ANY program that I tried. Bug is always reproducable: 1) Activate the xvidcap 2) Select single-frame capture, and select xwd format for the single-frame capture 3) Do the screen-capture - any amount of frames will do 4) Try to convert/open any of the swt files the xvidcap produced. For example, with ImageMagick's "convert file.xwd png:file.png" I get the following error: convert: Unexpected end-of-file `test-0000.xwd': No such file or directory. If I try to use "convert" on a file produced by the "xwd" utility, it all works just fine. I have also tried using "The GIMP". It reports some other kind of error, but I don't think that this is the problem with those 2 packages. Besides that, I have noticed another user on the forum has the same problem on an AMD64 architecture, so this might be a arch-specific bug.
Created attachment 106334 [details, diff] xvidcap-1.1.4-xtoxwd.c.patch Probably an issue with sizeof(long) != sizeof(int). Try this patch.
Thanks. The patch has fixed the problem. Since this is an arch-related problem (I guess), should this patch be added to Gentoo repository? If so, can the maintainer of this package please add this patch to the AMD64 arch portage, and modify the ebuild script appropriatelly?
1.1.4 has it.