<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Andrew,</div><div class="gmail_default" style="font-size:small">I could not reproduce the crash I got the other day so have finally <b>checked into GIT interlace_aspect_autodetect-12.patch </b>(from the ru download site).  I tested and saw the correct interlace mode in the Resources window media folder "info" and under Settings->Format.  Also looked at the code but I do not know much about C++.  But the one thing that I for sure do not comprehend in the patch is the section in fileffmpeg.C about the Fixups (maybe this was explained in a different email though):</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">        Asset *asset = fmt_config->asset;</span><br><span style="font-family:monospace">        char *format_name = asset->fformat;<br>+       char *replace_name0 = "mov";<br>+       char *replace_name1 = "mpegts";<br>+       char *replace_name2 = "matroska";<br>+       if (!strcmp(format_name, "qt"))<br>+               format_name = replace_name0; // fixup<br>+       if (!strcmp(format_name, "m2ts"))<br>+               format_name = replace_name1; // fixup<br>+       if (!strcmp(format_name, "mkv"))<br>+               format_name = replace_name2; // fixup</span><br></div></div><br><div class="gmail_quote"><div style="font-size:small" class="gmail_default">And in mwindow.C, why is it needed to specifically add the following?:</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default"><span style="font-family:monospace">+       float ar = asset->aspect_ratio;<br>+       if (ar) {<br>+       //printf ("Aspect ratio from asset: %f \n", ar);<br>+       if( EQUIV(ar, 1.3333) ) { session->aspect_w = 4;  session->aspect_h = 3;  }<br>+       if( EQUIV(ar, 1.7777) ) { session->aspect_w = 16; session->aspect_h = 9;   }<br>+       if( EQUIV(ar, 2.1111) ) { session->aspect_w = 19; session->aspect_h = 9;  }<br>+       if( EQUIV(ar, 2.2222) ) { session->aspect_w = 20; session->aspect_h = 9;   }<br>+       if( EQUIV(ar, 2.3333) ) { session->aspect_w = 21; session->aspect_h = 9;   }<br>+       if( EQUIV(ar, 2.370370) ) { session->aspect_w = 64; session->aspect_h = 27; }</span><br></div><br></div></div>