[mythtv-users] Mythzoneminder

Stephen P. Villano stephen.p.villano at gmail.com
Sat Sep 28 17:50:12 UTC 2013


On 9/22/13 5:36 AM, Paul Harrison wrote:
> On 20/09/13 00:42, Stephen P. Villano wrote:
>> Having one issue with mythzoneminder. It looks like red and blue are
>> reversed.
>> My blue flashlight is a wonderful shade of red. I am green and my wife's
>> red cigarette pack is a strange shade of green.
>>
>> Is anyone else seeing this? On yesterday's 0.27.
>>
>
> http://code.mythtv.org/trac/ticket/8182
>
> The problem appears to be a memory alignment problem but when I looked
> at it some time ago I couldn't see where the problem was coming from.
> Comparing the code in Zoneminder and what mythzmserver does to read
> the live images I couldn't see any difference but one worked OK and
> the other doesn't at least for some people.
>
> It could be something like different compiler versions using different
> sizes for an enum or some versions of v4l aligning the image data to
> 16 byte boundaries and some don't.
>
> Basically the image data for colour cameras is in 24bit RGB format
> like this RGBRGBRGBRGB so if we start reading the data from the wrong
> start position we can read each pixel as GBR or BRG instead or RGB
> which is what we want.
>
> I've never been able to reproduce the bug so it isn't easy to figure
> out what the problem is. I'm open to ideas though :)
>
> Paul H.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

The current version seems to have corrected the color errors.
Thanks a million!


More information about the mythtv-users mailing list