<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									ICM_COMPRESS_QUERY rejected due to bad header? - Help &amp; Support, Troubleshooting				            </title>
            <link>https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/</link>
            <description>MagicYUV Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 08 Sep 2026 18:20:03 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: ICM_COMPRESS_QUERY rejected due to bad header?</title>
                        <link>https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-558</link>
                        <pubDate>Tue, 12 May 2020 22:19:12 +0000</pubDate>
                        <description><![CDATA[@ignus

Thanks much, I&#039;ll look into modifying the ICM_COMPRESS_QUERY.

Ted]]></description>
                        <content:encoded><![CDATA[@ignus

Thanks much, I'll look into modifying the ICM_COMPRESS_QUERY.

Ted]]></content:encoded>
						                            <category domain="https://www.magicyuv.com/community/help-support-troubleshooting/">Help &amp; Support, Troubleshooting</category>                        <dc:creator>tedkunich</dc:creator>
                        <guid isPermaLink="true">https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-558</guid>
                    </item>
				                    <item>
                        <title>Answer to: ICM_COMPRESS_QUERY rejected due to bad header?</title>
                        <link>https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-557</link>
                        <pubDate>Tue, 12 May 2020 16:32:06 +0000</pubDate>
                        <description><![CDATA[I treat lpbiOutput of ICM_COMPRESS_QUERY as a full description of a compressed MagicYUV format, ie. a BITMAPINFOHEADER plus additional codec data appended after it, so it is not enough to sp...]]></description>
                        <content:encoded><![CDATA[<p>I treat <span>lpbiOutput of</span> ICM_COMPRESS_QUERY as a full description of a compressed MagicYUV format, ie. a BITMAPINFOHEADER plus additional codec data appended after it, so it is not enough to specify only the fourcc (lpbiOutput-&gt;biCompression) for that message. This is because the fcc does not fully describe the compressed format (interlaced setting, YUV matrix etc. are specified as additional data).</p>
<p>You first have to send ICCompressGetFormatSize() (ie. ICM_COMPRESS_GET_FORMAT with lpbiOutput set to NULL), which will tell you the compressed format size (which is sizeof(BITMAPINFOHEADER) + additional codec header size), then send ICM_COMPRESS_GET_FORMAT again to get the actual format.</p>
<p>Or if you are simply interested whether the given codec variant can compress a given input format at all, simply leave lpbiOutput = NULL for ICM_COMPRESS_QUERY. This is sort of a <em>general question</em> like "Can you compress this input at all?", whereas if you specify lpbiOutput then it becomes a <em>direct question</em> like "Can you compress this input as this specific output (compressed) format", in which case the compressed format must be described fully and not just using the codec fcc.</p>]]></content:encoded>
						                            <category domain="https://www.magicyuv.com/community/help-support-troubleshooting/">Help &amp; Support, Troubleshooting</category>                        <dc:creator>Balázs</dc:creator>
                        <guid isPermaLink="true">https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-557</guid>
                    </item>
				                    <item>
                        <title>ICM_COMPRESS_QUERY rejected due to bad header?</title>
                        <link>https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-556</link>
                        <pubDate>Tue, 12 May 2020 15:39:06 +0000</pubDate>
                        <description><![CDATA[Hello,
I&#039;m working on a personal CINE project and was looking to use this codec in my capture rig.  The issue is that when I query codec for its attributes (input RGB32 160x120, output YUV4...]]></description>
                        <content:encoded><![CDATA[<p>Hello,</p>
<p>I'm working on a personal CINE project and was looking to use this codec in my capture rig.  The issue is that when I query codec for its attributes (input RGB32 160x120, output YUV422 160x120), your codec is responding with an invalid header (size: 0) </p>
<p>This is on a windows 10 machine, with a 32bit build of a custom c# app.   Do you have any documentation on what your expecting from these queries?   The VFW appears to be working for VirtualDub, but not my app.  My code works correctly with Lagarythm and XVID.</p>
<p> </p>
<p>2020-05-12 08:13:05] Log opened - MagicYUV lossless video codec 2.2.0 (Ultimate) (trial) (32 bit)<br /> Codec variant: MagicYUV - YUV 4:2:2<br /> Application: C:\Users\TK2\source\toupcam_new\SharpAvi-master\Sample\bin\Debug\Sample.exe<br /> --------------------------<br /> Setting codec preferences (init from global config):<br /> Encode:<br /> Auto threads: YES<br /> Threads: 4<br /> Color space: Rec.601<br /> Full range YUV: NO<br /> Assume interlaced: NO<br /> Interpolate downsampling: YES<br /> Compression method: Dynamic<br /> Decode:<br /> Auto threads: YES<br /> Threads: 4<br /> Allow YUV 4:4:4 conv. to: RGB<br /> Allow YUV 4:2:2 conv. to: RGB, YUV 4:4:4<br /> Allow YUV 4:2:0 conv. to: RGB, YUV 4:4:4, YUV 4:2:2<br /> Allow YUV 4:0:0 conv. to: RGB, YUV 4:4:4, YUV 4:2:2, YUV 4:2:0<br /> Suggest RGB first: YES<br /> --------------------------<br /> Compress query: RGB32 (160 x 120) -&gt; M8Y2  (160 x 120): NOT SUPPORTED<br /> --------------------------<br /> Log closed</p>
<p> </p>
<p>Thanks,</p>
<p>Ted</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.magicyuv.com/community/help-support-troubleshooting/">Help &amp; Support, Troubleshooting</category>                        <dc:creator>tedkunich</dc:creator>
                        <guid isPermaLink="true">https://www.magicyuv.com/community/help-support-troubleshooting/icm_compress_query-rejected-due-to-bad-header/#post-556</guid>
                    </item>
							        </channel>
        </rss>
		