[solved] Can't play video in debug (1 Viewer)

Stéphane Lenclud

Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    True... but it seems most of the problems you've run into so far could have been avoided if you'd used the build scripts. For example, there would be no confusion about the DShowHelper solution, and so there would also be no confusion about streams.h and SDKs.

    Build script ain't working that's why I'm looking at the other solutions we have in there. I never opened our Filter solution until today. I opened the DirectShowHelper solution first cause that was the first binary causing problems in my logs. So I did a file search and found the solution.

    Okay. For the record: I do not maintain DShowHelper, but AFAIK the DirectShowHelpers solution is not used.
    That's what it looks like. Still I guess I'll push a fix for it later today.

    There are only 3 errors there, and they all look approximately the same. All related to YASM. The obvious question would be: have you followed the instructions in the wiki that relate to YASM?
    http://wiki.team-mediaportal.com/1_...ding_MediaPortal_from_source/1_Git_Setup#YASM

    If not, it's no surprise that you're getting the errors.

    That seems to be my problem here. Apparently one needs to install YASM for each version of Visual Studio. I guess both my VS2013 and VS2015 don't have it.
    I'll take a look at it later.
     
    Last edited:

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I'll try to reply before I leave.

    Don't worry mate, you already help me a lot. With luck it will just be a missing YASM issue.
    As always I'm humbled by your skills, patience and dedication to this community.
    Have a splendid time away from your keyboard!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Alright so setting up YASM fixed my issues with codecs in debug mode.
    Thanks guys!
    That's great news. :)

    Build script ain't working...
    Hmmm. What I'd expect is that it would have reported the same errors as when you tried to build Filters.sln in VS. Now that VS can build, you should also be able to use the build script. Please can you double-check and confirm.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    It looks like there was no error reported by our build scripts when YASM was missing. See attachments.

    you should also be able to use the build script. Please can you double-check and confirm
    Looks like the scripts are working fine now too.
     

    Attachments

    • Build.zip
      26.9 KB

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Unfortunately I'm having another issue when trying to play TS and MKV while debugging, it looks like MP just quits. See attached logs. Playing SD AVI worked fine.

    [2016-05-08 01:05:42,425] [MPMain ] [DEBUG] - Filter: LAV Splitter Source - try to connect: Audio
    [2016-05-08 01:05:42,425] [MPMain ] [DEBUG] - DirectShowUtil: volume handler value 63037
    [2016-05-08 01:05:42,595] [MPMain ] [DEBUG] - DirectShowUtil: build the graph for PIN : Audio
    [2016-05-08 01:05:42,625] [MPMain ] [DEBUG] - Filter: LAV Splitter Source - try to connect: Subtitle
    [2016-05-08 01:05:42,626] [MPMain ] [DEBUG] - DirectShowUtil: build the graph for PIN : Subtitle
    The program '[384] MediaPortal.vshost.exe' has exited with code 0 (0x0).

    I think it was working when building from scripts so maybe I could use that build and attach VS for debug.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    It looks like there was no error reported by our build scripts when YASM was missing. See attachments.
    Personally I find the build reports much harder to read than the output on the command line. Nevertheless, if you look in the XML report you'll see:
    <project targets="Rebuild" file="D:\dev\GitHub\MediaPortal\MediaPortal-1\DirectShowFilters\mpc-hc_subs\src\thirdparty\VirtualDub\system\system.vcxproj" started="07/05/2016 08:44:36">
    <error code="MSB4019" file="D:\dev\GitHub\MediaPortal\MediaPortal-1\DirectShowFilters\mpc-hc_subs\src\thirdparty\VirtualDub\system\system.vcxproj" line="52" column="5"><![CDATA[The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\vsyasm.props" was not found. Confirm that the path in the &lt;Import&gt; declaration is correct, and that the file exists on disk.]]></error>
    </project>

    Same error as VS was showing you.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Unfortunately I'm having another issue when trying to play TS and MKV while debugging, it looks like MP just quits. See attached logs.
    Given the last log entry, the fact that Despicable Me has subtitles, and that the 24 episode played fine and did not have subtitles, it's obviously something to do with subtitles. I'm not very good with subtitle problems as I don't ever use them. It may be a subtle limitation of the subtitle engine you have selected.
     

    Users who are viewing this thread

    Similar threads

    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling with. If you take the previous version (1.31) it should work as expected. For IPTV there is also a different option (with different pros and cons): Onlinevideos. I'm using that sometimes for my IPTV as...
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling...
    Hi I am trying to play a m3u file from my IPTV provider, but when I try to install the TV part of Media Portal v1.3.2 I get an...
    Replies
    1
    Views
    694
    Nice you could resolve the issue!
    Nice you could resolve the issue!
    I have MediaPortal 2.5 Server installed on one computer and Mediaportal 2.5 client on another. The client is connected to the...
    Replies
    6
    Views
    650
    I can confirm that. After reinstalling MP1.31(x86) I mistakenly installed the x64 version MpUrlSourcesplitter. Then I got the error. After uninstalling MpUrlSourcesplitter(x64) I installed the MpUrlSourcesplitter(x86). But the error message still comes.
    I can confirm that. After reinstalling MP1.31(x86) I mistakenly installed the x64 version MpUrlSourcesplitter. Then I got the...
    Just completed a clean install of Win 10 followed by MP 1.31. During install the installer hung up because I didn't have .net 3.5...
    Replies
    3
    Views
    598
    That fixed the problem. I just manually installed VC_redist.x64.exe and reinstalled 1.32 64-bit. Thanks for that. A couple of things; the deployment tool for 1.32 doesn't remove the previous version when you're updating from 1.31 to 1.32 and "MediaPortal TV Server" gets installed even when you choose to install the client only. I...
    That fixed the problem. I just manually installed VC_redist.x64.exe and reinstalled 1.32 64-bit. Thanks for that. A couple of...
    I have performed client installations of 1.32 64-Bit on four machines using the central configuration setup on Windows 10 Pro...
    Replies
    2
    Views
    654
    Hi, I found the problem in my configuration without PowerDVD. In the past I had configured the following setting: "Use internal Blu-ray menu player" and it works - slowly but it worked fine. As described, this suddenly stopped working after an update in the last few months. Yesterday, as a test, I deactivated this check box and it...
    Hi, I found the problem in my configuration without PowerDVD. In the past I had configured the following setting: "Use internal...
    Hello english forum! Since my question, which I asked weeks ago in the German-speaking forum, has not been answered until today, I...
    Replies
    43
    Views
    5K
    Top Bottom