Avidemux Forum

Avidemux => Windows => Topic started by: erich on February 13, 2019, 11:56:54 PM

Title: opened video is showing really odd green and red colors
Post by: erich on February 13, 2019, 11:56:54 PM
When I open a video, I get a really strange green and red color cast over the entire video which is not in the original avi video. What is causing it and how do I get rid of it?
Title: Re: opened video is showing really odd green and red colors
Post by: eumagga0x2a on February 14, 2019, 04:56:58 PM
Probably a colorspace conversion issue which is more likely when the video consists of uncompressed bitmap images. Please provide the (textual) output of MediaInfo for the file in question.
Title: Re: opened video is showing really odd green and red colors
Post by: erich on February 15, 2019, 02:52:28 AM
Thanks for the reply. The video was created by me in an animation program, so yes I believe it is uncompressed bmp, but I am not sure. I don't know how I woudl get the info you asked for. Can you tell me how I might be able to correct this colorspace issue?

Thanks.
Title: Re: opened video is showing really odd green and red colors
Post by: eumagga0x2a on February 15, 2019, 06:50:58 AM
MediaInfo (https://mediaarea.net/de/MediaInfo) is an open source program. Please install it, let it analyse the file and copypaste the textual output (like on the screenshot (https://mediaarea.net/images/753feec-ba89311.png)) into your reply.

To try to avoid the colorspace issue, please set the bit depth of BMP images to 24 (remove the alpha channel). In doubt please provide a small sample (just a single frame would suffice) out of the animation program using WeTransfer, Mega, Dropbox, Google Drive or a similar service.
Title: Re: opened video is showing really odd green and red colors
Post by: erich on February 15, 2019, 07:29:10 AM
Hi. I have attached a screenshot from MediaInfo and one frame of the animation. Thanks for your help.
Title: Re: opened video is showing really odd green and red colors
Post by: eumagga0x2a on February 15, 2019, 12:39:36 PM
So MediaInfo says it is RGBA while Avidemux assumes ARGB. It can be both ways and there is currently no way for Avidemux to tell which matches the current image.

The image you provided is a JPEG, it can't be from the video which consists of uncompressed bitmaps. If the animation program can be configured to export JPEGs instead of uncompressed bitmaps, and this would be acceptable for you quality-wise, you would circumvent the problem with Avidemux. Alternatively set bitmap bit depth to 24 instead of 32.
Title: Re: opened video is showing really odd green and red colors
Post by: erich on February 16, 2019, 02:52:45 AM
Hi. It seems that the animation program, when automatically set to produce the individual frames of the video, poroduces bmp images, but when I do it manually it creates jpgs.