-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-12-18 10:35, Antonio Roberts wrote:
I've noticed a strange bug in GEM (or ffmpeg) whereby the background colour, set by [gemwin], isn't captured with [pix_record] if codec 33 is selected. For me this codec is listed as "x264 H.264 (MPEG4 AVC) encoder"
See the attached patch for an example. I'm capturing both video and pictures to show that it's a specific problem with [pix_record] and not with [gemwin]
Is there any way around this or how to fix it?
hard to tell.
i tried reproducing your problem but couldn't (i think). i've uploaded the the (movie) output of your patch to [1].
the square and the background are not really in sync (so you sometimes see the square), which i think is an artifact of double rendering.
i had to install the "x264" package (version 2:0.133.2339+git585324f-2+b1 on debian) for x264 support. please also note that debian does not ship ffmpeg but instead uses libav, and i have forgotten how libquicktime (which is the actual framework Gem uses for recording) interact (or not) with ffmpeg/libav to access the x264 codec....
and i had to run the entire thing within gdb, else it would crash (for whatever reasons it does not crash when run in gdb...)
fgmasdr IOhannes
[1] http://iem.at/~zmoelnig/tmp/gem_x264.mov