How Can I fix my .mkv files so they play in MP? (1 Viewer)

elvis56

Portal Pro
January 5, 2009
121
0
Home Country
Canada Canada
TV-Server Version:
MediaPortal Version: 1.0
MediaPortal Skin: StreamedMP
Windows Version: XP MC Edition Serv Pk 3
CPU Type: Pent Dual Core E5200 2.5Ghz
HDD:
Memory: 2.00 Ram
Motherboard: ASUS P5N3-AM
Video Card: RADEON 3450
Video Card Driver: 08.12
Sound Card: VIA High Def Audio
Sound Card AC3:
Sound Card Driver: 6,0,01,1450
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: PDVD9
MPEG2 Audio Codec: MPA Decoder Filter
h.264 Video Codec: MPC Video Decoder
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV: LG 42PC3D-UD
TV - HTPC Connection:

I have some .mkv files that I guess are encoded incorrectly or just don't work with dxva enabled. They seem to play fine if its turned off. I am only using the SAF codecs and the Power dvd 9 codec. Some of my mkv files pixelate, the picture freezes, the picture jerks etc. It was suggested that i try XviD4PSP 5.0 to fix them but I am very green to encoding programs and not really sure how to use this program. Is there a simple method of fixing an mkv file?

Any tips would be great...:D
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    They might be encoded with Profiles which your gpu doesn't support.
     

    elvis56

    Portal Pro
    January 5, 2009
    121
    0
    Home Country
    Canada Canada
    Well i first tried the following method I found on the net. Same results. Didn't work.
    Retrofitting MKVs or other H.264 videos
    Existing MKV, MP4, TS or AVI files that work with DXVA, but do not play back smoothly, can have their level_idc value changed, if the H.264 video stream actually complies with Profile High@L4.1 (HD) or L3.1 (SD).

    To manually change your files with much more work, continue on.

    This process is for MKV files and has been adapted from a process originally described by DJBlu.

    Download the following programs:

    MKVtoolnix
    MKVExtractGUI
    H264info
    Optional: AVInaptic

    Extract MKVtoolnix into a folder.
    Extract MKVExtractGUI into the same folder.
    Extract H264info into another folder (can be the same folder).
    Optional: Extract AVInaptic into another folder (can be the same folder).

    Open your MKV with MKVExtractGUI. Check Options menu > Tabs > TimeCode. Check the boxes for all the video, audio, and subtitle tracks you want to keep and click Extract.

    Once all are extracted, you will have separate files for your video, audio and subtitle tracks, plus TimeCode_TrackX.txt files for each track.

    Open H264info.

    Set Input = Extracted .h264 file
    Set Output = new_file_name.h264

    In the "Level (1 - 5.1)" box, enter 4.1 for an HD stream, or 3.1 for an SD stream.

    Click Start and wait for the stream to be fixed.

    Open the MKVtoolnix mkvmerge GUI (mmg.exe).

    Click add and select the new_file_name.h264 file created by H264info.

    Click add and select a file for each audio and subtitle track you need to add.

    In the Tracks box, click on the "MPEG-4 part 10 ES" video track.

    At the far right of the Timecodes box at the bottom of the window, click Browse and select the TimeCode_TrackX.txt file for your video track (probably Track1).

    Click the "Format specific options" tab.

    In the FPS box, enter the frames per second of your original MKV file. If you don't know the framerate, you can use the AVInaptic tool to open the original MKV file to get all manner of information, including the FPS. If your video is FILM content, the likely choice is "24000/1001". If your video is progressive NTSC VIDEO, the likely choice is "60000/1001". If your video is interlaced NTSC VIDEO, the likely choice is "30000/1001". If your video is PAL VIDEO, the likely choice is "25".

    Click on your audio track in the Tracks box.

    Click on the "General track options" tab.

    At the far right of the Timecodes box at the bottom of the window, click Browse and select the TimeCode_TrackX.txt file for your audio track (probably Track2). Do the same for any subsequent tracks.

    Create an "Output filename" in the box at the far bottom of the window and click "Start muxing".

    Wait for the new MKV to be remuxed and you should have an MKV file with smooth DXVA playback.

    Then tried and I re-encoded using XviD4PSP 5.0 to see if that would work. Same result, didn't work. So I have gone back to old faithfull and downloaded and installed the h264 divx codec and and using that. Every mkv works if I use that. I can't seem to figure it out.

    I appreciate the tips guys
     

    Users who are viewing this thread

    Top Bottom