DVD movies only have sound (2 Viewers)

Deda

Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    If this is still a problem, then no, but please confirm if switch to English works so I will add this problem to mantis as a bug because provided solution is just a workaround but not a real fix of the problem.

    Edit:
    Problem is in videoextension comparer in Util.cs -> public static bool IsVideo(string strPath)

    where code do a following:
    string extensionFile = Path.GetExtension(strPath).ToLower(); so .IFO became something else in case of Turkish language and extension comparer fail and returns False, with result that DVD is not a video file.
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Can you try this dll (please backup original Core.dll) -> replace in MP program folder.

    It's for MP 1.2.1.
     

    ssenyer

    MP Donator
  • Premium Supporter
  • December 22, 2010
    88
    10
    Tekirdağ
    Home Country
    Turkey Turkey
    Hi Deda,

    Unfortunately it did not fixed the problem..Now it says "Can't play: IFO file". Logs attached.
     

    ssenyer

    MP Donator
  • Premium Supporter
  • December 22, 2010
    88
    10
    Tekirdağ
    Home Country
    Turkey Turkey
    Hi,
    I just tried to change my local language to english and put a DVD on tray. And it still cant play the DVD. The logs attached. (This was with original core.dll)
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Actually, we have progress:

    MediaInfoWrapper: isVideo:True, isDVD:True[enabled:False]

    played failed at point of adding filters to graph:

    2011-09-30 18:12:33.865269 [Debug][MPMain(1)]: Filter: E:\VIDEO_TS\VIDEO_TS.IFO - try to connect: Output
    2011-09-30 18:12:33.918272 [Debug][MPMain(1)]: - failed
    ....
    2011-09-30 18:12:33.923272 [Info.][MPMain(1)]: VideoPlayer9: Failed to render file -> vmr9


    Just to be sure, can you change ffdshow Audio Decoder with Microsoft DTV-DVD Audio Decoder, I will check in videoplayer if there is something similar for filename comparing.

    Edit:
    Ok, for sure is something in player code, DVDPlayer should managed palying DVDs not VideoPlayer9. Just debugging so I think I will found cure soon. Stay tuned
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Here's another one, I tested it with Turkish locale and now it should work but for sure there is some other places in MP code which will have a problem. For sure I will mantis this as a big bug in MP. Strange how this was not noticed before as this bug is in MP for ages.

    This will be a huge task to find all string ToLower() code and comparision places.
     

    Attachments

    • Core.rar
      929 KB
    • IsVideo_InvariantCulture_fix.patch
      2 KB

    ssenyer

    MP Donator
  • Premium Supporter
  • December 22, 2010
    88
    10
    Tekirdağ
    Home Country
    Turkey Turkey
    Hi Deda,

    Finally it works. I checked with ffdshow audio decoder and Microsoft DTV-DVD Audio Decoder it works with both decoders.

    :D
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Uf, if that is the only place where DVDs and some other files can fail. I found potential problems in MyVideos/MPVideodatabase, DaemonTools, MP Video players.....
    I think I will need higher lvl opinion how to resolve that.
     

    Users who are viewing this thread

    Top Bottom