--- branches/dev-api-4/xvidcore/vfw/src/resource.rc 2003/12/01 13:16:43 1234 +++ branches/dev-api-4/xvidcore/vfw/src/resource.rc 2003/12/19 13:48:47 1284 @@ -512,17 +512,17 @@ WS_TABSTOP,16,66,100,8 CONTROL "Quarterpel",IDC_QPEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,79,100,8 - CONTROL "Global motion compenation",IDC_GMC,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,16,94,100,8 + CONTROL "Global motion compensation",IDC_GMC,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,16,94,103,8 CONTROL "Reduced resolution",IDC_REDUCED,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,16,108,100,8 COMBOBOX IDC_PROFILE_PROFILE,84,8,116,76,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP EDITTEXT IDC_MAXBFRAMES,120,134,76,12,ES_AUTOHSCROLL | ES_NUMBER CONTROL "Packed bitstream",IDC_PACKED,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,16,182,71,10 + WS_TABSTOP,16,184,71,10 CONTROL "Closed GOV",IDC_CLOSEDGOV,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,16,194,55,10 + WS_TABSTOP,96,184,55,10 LTEXT "Max consecutive BVOPs:",IDC_MAXBFRAMES_S,16,137,96,8 GROUPBOX "",IDC_STATIC,8,122,196,86 CONTROL "BVOPs",IDC_BVOP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, @@ -569,7 +569,7 @@ BS_AUTOCHECKBOX | WS_TABSTOP,16,124,92,8 END -IDD_LEVEL DIALOG DISCARDABLE 0, 0, 212, 212 +IDD_LEVEL DIALOG DISCARDABLE 0, 0, 212, 215 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Level" FONT 8, "MS Sans Serif" @@ -720,6 +720,42 @@ LTEXT "Avg bitrate (kbps):",IDC_STATIC,204,216,72,8 END +IDD_AR DIALOGEX 0, 0, 211, 215 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Aspect Ratio" +FONT 8, "MS Sans Serif" +BEGIN + CONTROL "Picture Aspect Ratio",IDC_AR,"Button", + BS_AUTORADIOBUTTON,13,81,81,10,WS_EX_TRANSPARENT + GROUPBOX "",IDC_STATIC,7,7,197,127,BS_CENTER + GROUPBOX "",IDC_STATIC,7,81,197,53,BS_CENTER + CONTROL "Pixel Aspect Ratio",IDC_PAR,"Button",BS_AUTORADIOBUTTON, + 13,7,73,10,WS_EX_TRANSPARENT + COMBOBOX IDC_ASPECT_RATIO,25,33,111,55,CBS_DROPDOWNLIST | + WS_VSCROLL | WS_TABSTOP + EDITTEXT IDC_PARX,39,58,36,12,ES_NUMBER + EDITTEXT IDC_PARY,100,58,36,12,ES_NUMBER + CTEXT "X :",IDC_STATIC,25,60,10,10 + EDITTEXT IDC_ARX,39,110,36,12,ES_NUMBER + EDITTEXT IDC_ARY,100,110,36,12,ES_NUMBER + LTEXT "Aspect Ratio is written to mpeg-4 bitstream, but unfortunately is likely to be ignored if video stream is encapsulated in a general-purpose container (like .avi, .ogm., .mkv).", + IDC_STATIC,7,138,197,27 + LTEXT "Therefore, be aware that using different aspect ratio than default might be ignored by some players, especially when decoded on Windows.\n\nUse at your own risk.", + IDC_STATIC,7,168,197,41 + LTEXT "Select the shape of a pixel...",IDC_STATIC,25,18,104,10 + CTEXT "Y :",IDC_STATIC,86,60,10,10 + CTEXT "Y :",IDC_STATIC,86,112,10,10 + CTEXT "X :",IDC_STATIC,25,112,10,10 + LTEXT "Select the shape of the image...",IDC_STATIC,25,93,110, + 11 + GROUPBOX "Quick Setting",IDC_STATIC,148,7,56,127,0, + WS_EX_TRANSPARENT + PUSHBUTTON "Default",IDC_AR_DEFAULT,158,21,37,11 + PUSHBUTTON "4:3",IDC_AR_4_3,158,88,37,11 + PUSHBUTTON "16:9",IDC_AR_16_9,158,102,37,11 + PUSHBUTTON "2,35:1",IDC_AR_235_100,158,116,37,11 +END + ///////////////////////////////////////////////////////////////////////////// // @@ -800,7 +836,7 @@ IDD_PROFILE, DIALOG BEGIN LEFTMARGIN, 7 - RIGHTMARGIN, 181 + RIGHTMARGIN, 204 TOPMARGIN, 7 BOTTOMMARGIN, 211 END @@ -818,7 +854,7 @@ LEFTMARGIN, 7 RIGHTMARGIN, 181 TOPMARGIN, 7 - BOTTOMMARGIN, 211 + BOTTOMMARGIN, 214 END IDD_CALC, DIALOG @@ -835,6 +871,17 @@ TOPMARGIN, 7 BOTTOMMARGIN, 224 END + + IDD_AR, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 204 + VERTGUIDE, 28 + TOPMARGIN, 7 + BOTTOMMARGIN, 209 + HORZGUIDE, 81 + HORZGUIDE, 134 + END END #endif // APSTUDIO_INVOKED @@ -967,6 +1014,7 @@ BEGIN IDC_OVERFLOW_CONTROL_STRENGTH "0=Default from core (let xvid decide). Else overflow payback percent per frame." + IDC_ASPECT_RATIO "Display aspect ratio is used to scale the video on playback/anamorphic encoding).\n\nDefault 1:1 for no scaling necessary." END #endif // Neutral resources