‏إظهار الرسائل ذات التسميات Windows 10. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات Windows 10. إظهار كافة الرسائل

Media Player Classic Home Cinema - Optimal settings for better playback

Media Player Classic Home Cinema(MPC-HC) is a free audio and video player for Windows.

  • MPC-HC version: 2.4.2
  • Windows 10 and 11

Basic MPC-HC app settings

Set the Process priority above normal

    • To set the MPC-HC app to run with CPU process priority level Above Normal.
      • Select Player tab.
      • Enable the Process priority above normal.

    Limit window proportions on resize

    Set MPC-HC  windows to resize in proportion to the aspect ration of the video file being played.

    • Select User Interface tab.
    • Enable Limit window proportions on resize . 

    Associate Video files to open with MPC-HC

    Associate video files formats to run by default with MPC-HC app, when opened from Windows Explorer. Associating the MPC-HC app with video file extension in Windows OS is necessary if the user want MPC-HC app to be recognized as the default Video Player in Windows OS.

    • Select Player > Formats tab.
    • Click on Run as administrator in the group box labeled Association.

    • Click Associate with video formats only icon , to select File extensions of video file formats that will be associated with MPC-HC app.
    • Click on Apply button.


    Disable Auto zoom

    When a video file is played, Auto zoom feature resizes the MPC-HC window to a specified percentage of the resolution of the video file. 

    If the user wants MPC-HC window to remain at same size when video files are being played then he has option to disable the Auto-zoom feature.

    To Disable Auto zoom feature, do the following:

    • Select Playback tab.
    • Disable Auto-zoom in the group box labelled Zoom and Alignment.

    Set the Video and Audio Renderer

    Use MPC Video renderer as the Video Renderer engine.

    • Select Playback > Output tab.
    • Select MPC Video Renderer as the DirectShow Video.

    Use MPC Audio renderer as the Audio Renderer engine.

    • Select Playback > Output tab.
    • Select MPC Audio Renderer as the Audio Renderer.

    Internal Filter settings


    LAV Splitter settings: Preferred languages for audio tracks and subtitles

    Set the preferred language in which the subtitle will be selected from the list of subtitles available for display on the MPC HC app. The subtitle selection will be done by the LAV Splitter.

    To set the preferred language:

    • Select Internal Filters tab.
    • Select Splitter button to open LAV Splitter settings.
    • Set the Subtitles preferred languages in ISO 639-2 codes( ex. eng, spa, ger, fre).

    Similarly, the preferred language can be set in which the Audio track will be selected from the list of available audio tracks, for the playbakc on the MPC HC app.

    To set the preferred language:

    • Set the Audio preferred languages in ISO 639-2 codes( ex. eng, spa, ger, fre).

    LAV Video Decoder settings: Hardware Decoder

    If the GPU supports Directx 11 or higher, the D3D11 can be used as the Hardware Deocder.

    To set the Hardware Decoder:

    • Select Internal Filters tab.
    • Select Video Decoder button in the group box labeled Internal LAV Filters settings.
    • Set the D3D11 as the Hardware Decoder to use.

    Keep the MPC HC app window on top While playing Video

    Setting to keep the MPC-HC app window above others, while playing a video file. This will make sure that the video frame of is always in view when playing a video file in MPC-HC app.

    • Select View > On Top > While playing Video.

    Snap to desktop edges

    Its a handy feature for organizing your open application windows on your computer screen to the edge or corner of the desktop screen. It allows you to quickly arrange them side-by-side or in other configurations.

    To use Snap feature:

    • Select User interface tab.
    • Enable Snap to desktop edges.

    Control via Windows UI(SMTC)

    The System Media Transport Controls enable media application developers integrate with the built-in system UI to display media metadata such as artist, album title, or chapter title. The system transport control also allows a user to control the playback of a media app using the built-in system UI, such as pausing playback and skipping forward and backward in a playlist.

    To enable support of SMTC:

    • Select User interface tab.
    • Enable Control via Windows UI(SMTC).

    Set the default Audio track and subtitle language in MPC-HC app

    Set the preferred language in which the subtitle will be selected from the list of subtitles available for display on the MPC HC app.

    To set the preferred language:

    • Select Playback tab.
    • Set the Subtitles preferred language in ISO 639-2 codes( ex. eng, spa, ger, fre).

    Similarly, the preferred language can be set in which the Audio track will be selected from the list of available audio tracks, for the playback on the MPC HC app.

    To set the preferred language:

    • Select Playback tab.
    • Set the Audio preferred language in ISO 639-2 codes( ex. eng, spa, ger, fre).

    Normalize the Audio

    Normalizing the audio is useful in enhancing the certain audio with low level in the audio track. It is useful in playback of media files with very ow audio level.


    To normalize the audio signal, do the following:
    • Select Internal Filters > Audio Switcher.
    • Enable Normalize.


    Configure Font Style settings

    User may configure the Subtitle font settings hat suit their needs:

    1. Font Style
    2. Font spacing
    3. Font Border shadow
    4. Subtitle Screen alignment and margins.






    GPT Disk Partition Layout for Windows 10 OS in a UEFI based PC

    There is a certain partition layout requirement in the UEFI-based computer which is required by the Windows 10 OS to work properly in the GPT Disk. If the disk already does not have a required partition layout then the Diskpart tool needs to be used to create a custom partition layout.


    UEFI Firmware

    The most modern computer has UEFI-based firmware which supports the following types of booting.

    1. Legacy BIOS booting. It is also known as “CSM boot” or CSM Enabled. 
    2. UEFI Only booting
    3. Supports both UEFI and Legacy Boot


    Storage Disk Drive

    A Disk Drive can be any one of the following:

    • Hard disk
    • SSD

    GPT Drive Partition Layout required for Windows 10 OS

    When UEFI boot mode is used then Microsoft allows installation of Windows 10 OS only on the disk with the GPT partitioning scheme and there is a certain partition layout required.

    GPT Disk partition Layout is required in the following order:

    1. EFI System Partition
    2. Reserved Partition
    3. Basic Data Partition for Windows 10 OS.
    4. Recovery Partition (Windows Recovery Environment) 

    If these four partitions need to be in a single disk then the GPT disk partition layout must be in order as shown here.



    1. EFI System Partition (ESP)

    The EFI System partition is the first partition in the GPT disk. The minimum size of this partition is 100 MB and must be formatted using the FAT32 file format.

    This partition is managed by the operating system. This is where UEFI stores :

    • Boot loaders for all the operating systems installed in the computer. 
    • Device driver files for hardware devices present in a computer and used by the firmware at boot time.

    Recommended EFI System Partition size = 500 MB to 1000 MB


    2. Microsoft Reserved partition (MSR)

    MSR Partition is located just after the EFI System partition and just before the Windows OS partition. In Windows 10, the minimum size of the MSR partition is 16 MB.

    An MSR to each GPT drive to help with partition management. The MSR is a reserved partition that does not receive a partition ID. It cannot store user data.

    Recommended MSR partition size = 128MB

    Currently, this partition has no use and does not hold any data. Still, you should keep this partition.


    3. Microsoft basic data partition for Windows 10 OS

    Windows OS data partition is located just after the MSR Partition and just before the Recovery partition. The NTFS formatted partition in which Windows 10 OS is installed.

    • The partition must have at least 20 gigabytes (GB) of drive space for 64-bit versions, or 16 GB for 32-bit versions.
    • The Windows partition must be formatted using the NTFS file format.
    • The Windows partition must have 16 GB of free space after the user has completed the Out Of Box Experience (OOBE) and Automatic Maintenance has completed.


    4. Recovery Partition

    The Recovery partition is located just after the Windows OS Partition. The recovery partition holds the Windows Recovery Environment (Windows RE) tools.

    The recovery tools should be in a separate partition other than the Windows partition to support automatic failover and to support booting partitions encrypted with Windows BitLocker Drive Encryption.

    We recommend that you place this partition immediately after the Windows partition. This allows Windows to modify and recreate the partition later if future updates require a larger recovery image.

    This partition must use the Type ID: DE94BBA4-06D1-4D40-A16A-BFD50179D6AC.

    Recommended Recovery Partition Size = 2GB



    Partition layout Created by Windows OS during clean install on an Empty Disk

    When you clean install Windows 10 on a disk that has no existing partitions then Windows 10 OS installation Setup will automatically create the required GPT partition layout.

    If you want the Windows 10 OS installation setup to automatically create the required partition.

    1. The Disk drive in which the windows 10 OS will be installed must not have any existing partitions. 
    2. If there are multiple Disk Drive installed in the computer, then the drives other than the Disk drive in which Windows 10 OS will be installed must not have the these existing partition:
      1. EFI System partition
      2. Recovery partition







    GPT Disk Partition Layout created by the Windows 10 OS Installation media

    1. EFI System Partition (Size = 100MB)
    2. Reserved Partition (Size = 16MB)
    3. Partition for Windows 10 OS ( Size = whatever is left after creating the other three partitions)
    4. Recovery Partition( Size = Around 550MB)



    The problem with this layout is that the EFI System partition, Reserved Partition, and Recovery partition size allocated are the minimum. In the future, the free space in these partitions could easily run out, leading to problems related to the purpose for which they were created.


    Manually Creating Custom Partition layout for Windows 10 OS clean installation


    You can manually create the required GPT disk partition layout using the Diskpart tool.


    Note: Make sure you have no user data in the Disk in which Windows 10 OS will be installed.

    1. Run the Windows 10 OS installation media
    2. When the Windows as shown in the image below shows up click "Repair your computer".




    3.   Select "Troubleshoot"



    4. Select "Command Prompt"




    5. Run the Diskpart tool in the Command Prompt

    Command:  diskpart

    6. Show the list of disks installed on the computer.

    Command: list disk

    7. Select the disk in which Windows 10 OS will be installed.


    Command: select  disk 0

    Note: The disk number may differ in your case. Make sure you select the correct disk number.



    8.  Remove all partitions from the selected disk.

    Command: clean

    9. Converts an empty basic disk partition style to the GUID partition table (GPT) partition style.

    Command: convert gpt



    10. Create an EFI system partition of size 500 MB. 

    • create partition efi size=500
    • format quick fs=fat32 label="System"





    11. Create a Microsoft Reserved (MSR) partition 

    • create partition msr size=128


    12. Create a Windows 10 OS partition

    • create partition primary 
    • shrink minimum=2000
    • format quick fs=ntfs label="Windows"
    • assign letter="W"


    13. Create a Recovery partition
    • create partition primary
    • format quick fs=ntfs label="Recovery"
    • assign letter="R"
    • set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    • gpt attributes=0x8000000000000001




    14. Show the list of partitions in the selected disk.
    • list partition

    15. Exit the Diskpart tool
    • exit

    These Diskpart commands if executed without error will create all the necessary partitions and the disk will be ready for a clean installation of Windows 10 OS.


    16. Close the command Prompt by clicking Close button




    17. Select any of the option:
    • Use a device.
    • Turn off your computer





    18. Run the Windows 10 OS installation media.



    To Fresh install Windows 10 OS on the disk, do the following:
    • When the "Where do you want to install Windows?" shows up, select the third partition in the Disk, which is named "Windows".
    • Click on the Next button for setup to begin installing Windows 10 OS.



    Final Partition layout of GPT Disk for Windows 10 OS.






    Reference




    How to repair Window 10 not able to boot/start

    Tutorial on how to repair the issue of computer with Microsoft Windows 10 operating system not able to boot or startup.

    Assumption:

    • There is no power related issue.
    • There is no hardware related issue.
    • The BIOS or UEFI settings  has been done properly.

     

     Issue

    • Windows Boot Manager(bootmgr) files are missing or corrupt.
    • Boot configuration data(BCD) is missing or corrupt.
    • Windows OS files are missing or corrupt.

    If the personal computer is unable to boot into Microsoft Windows 10 OS , then you have very limited tools to repair the the system and make it bootable without losing important files.
     
    If you have tried booting the computer for three times and still it is not able to boot successfully then you should try repairing it using the methods shown here.

    The repair will be done using Microsoft Windows Recovery environment present in Windows 10 installation media.

     

     

    Process 1. Booting into Window 10 OS using Windows 10 installation Media

    Microsoft Windows 10 Installation media (DVD or USB Flash Drive) is required. The version of Windows 10 installation media must be same as the version of Windows 10 installed in the computer.


    • Prepare the Microsoft Windows 10 Installation media.
    • Insert the installation media in the computer.
    • Start the computer.
    • Choose the Windows 10 installation media as temporary boot device from the BIOS or UEFI.

     

    When the Windows 10 setup start from the Windows 10 installation media, do the following:

    • Select the Keyboard or input method.
    • Select Next button.




    • Select Repair your computer.






    Process 2. Try Booting into Window 10 using Windows 10 installation Media


    If Exit and continue to windows 10 option is showing then it may be possible to boot into Window 10.
    •  Select Exit and continue to Windows 10.

     

     

     

    If the computer boots successfully then user can repair the issue using various methods.

    If the computer is not able to boot using this method then proceed to use other methods to solve this issue.

     

     

    Process 3. Use command prompt tools to fix the issue

    Follow the instruction of  Process 1.   

     

    • Prepare the Microsoft Windows 10 Installation media.
    • Insert the installation media in the computer.
    • Start the computer.
    • Choose the Windows 10 installation media as temporary boot device from the BIOS or UEFI.

     

    When the Windows 10 setup start from the Windows 10 installation media, do the following:

    • Select an appropriate option from the drop down list labelled Language to install.
    • Select an appropriate option from the drop down list labelled Time and currency format.
    • Select an appropriate option from the drop down list labelled Keyboard or input method.
    • Select Next button.

     

    •  Select Repair your computer.

     

     

     

    •  Select Troubleshoot option.

     

    •  Select Command prompt option.

     



     

    Computer with Legacy BIOS and Master Boot Record ( MBR) partition

    This process is only for the computer with :

    1. Legacy BIOS
    2. UEFI BIOS with no Compatibility support module( CSM) and supports only legacy boot.
    3. UEFI BIOS with Compatibility support module( CSM) enabled which has been set to support legacy booting.
     
    The partition style of hard disk or SSD in which Windows 10 is installed is Master Boot Record(MBR).


    BOOTREC

    boorec command is used to repair the MBR and the Boot Configuration Data (BCD) .



     

    1. To Repair the Master Boot Record(MBR) type and Run the command :

    • bootrec /fixmbr
     
     

     

    2. To Repair boot sector type and Run the command :

    • bootrec /fixboot
     
     
     
     
     
    3. To repair the boot configuration data(BCD) , type and Run the command :
    • bootrec /rebuildbcd
    • Follow the instructions




    • If its asks Add installation to boot list? Yes(Y)/No(N)/All(A) , enter y  and press Enter key to add the boot entry in BCD.


     

    Don't worry if a command does not get executed successfully.



    Computer with UEFI BIOS and GUID Partition Table (GPT) partition

    This process is only for the computer with :

    1. UEFI BIOS with no Compatibility support module(CSM) and supports only UEFI boot .
    2. UEFI BIOS with Compatibility support module(CSM) enabled which has been set to support UEFI booting or 
    3. UEFI BIOS with Compatibility support module( CSM) disabled.
     
    The partition style of hard disk or SSD in which Windows 10 is installed is GUID Partition Table(GPT).


    Drive letter of the Partition in which Windows 10 OS is installed

    It is important to find out what is the drive letter of the partition(volume) in which Microsoft Windows 10 is installed. It will be used in the various command line tools.

    There are many ways to know the Drive letter of Windows 10 OS partition. One simple way is to list the directory of each drive and look for Windows OS files in it.

     

    To show the list of drives which has been assigned a drive letter :

    • Type an run the command fsutil fsinfo drives.



    • Now you need to check the list of directories in each drive(volume).
    • To show the list of directories in each drive type and run the command dir <drive letter>: . (Example :  dir c: , dir d: , dir x: ).
    • The Drive in which Windows 10 OS in installed will have the directories with name Program Files, Users and Windows. (In this case its C: drive)
    • Take note of the drive letter in which Windows OS is installed for later use.






    To repair the system partition and the boot configuration data(BCD) , type and Run the command :

    • bcdboot <drive letter>\windows. Replace the <drive letter > with the drive letter of the partition in which Windows 10 OS is installed. 
    • Example (In this case the command is bcdboot  c:\windows)

     


     

      

     

     

    Run CKHDISK

     Chkdsk utility can scan and repair the logical error in partition.


    • Enter command chkdsk <drive letter> /f /offlinescanandfix.  Replace the <drive letter> with the drive letter of the partition in which Windows 10 OS is installed. ( In this case the command is chkdsk c: /f /offlinescanandfix )

     

     

     

     

     

    Run System File Check(SFC)

    System File Check utility can scan the check the integrity of Windows 10 OS files. If any problem is found it will repair the Windows 10 OS files.


    •  Run the command sfc /scannow /offwindir=<drive letter>\windows /offbootdir=<drive Letter>. Replace the drive letter with the drive letter of the partition in which Windows 10 OS is installed. (In this case the command is sfc /scannow /offwindir=c:\windows /offbootdir=c: )
    • Wait of system file check to complete the process.

     

     

     

     

    • Type and run the Exit command.
    • Remove the Microsoft Windows 10 Installation media (DVD or USB Flash Drive) from the computer.
    • Restart the computer. 
    • Set Windows boot manager as the first boot device in the BIOS or UEFI BIOS if it not already done.
    • The computer should be able to boot into Windows 10 successfully.