[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,223
    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,223
    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,223
    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

    Just for clarification Cyberlink's PowerDVD is a stand alone media player for Windows which will play just about everything. It is what I use to play Bluray Disks, I have it set up as an external player in MP such that it automatically starts up when a Bluray Disk is inserted into the player when MP-1 is running. I would strongly...
    Just for clarification Cyberlink's PowerDVD is a stand alone media player for Windows which will play just about everything. It is...
    Hello english forum! Since my question, which I asked weeks ago in the German-speaking forum, has not been answered until today, I...
    Replies
    37
    Views
    1K
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live stream from server to MP. If anyone has a similar problem - disable all old plugins and then enable one after another :-)
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live...
    After using MP for more than 10 years with regularly updates - this is the first time that after an update MP is not working...
    Replies
    3
    Views
    470
    MP1 MP2 MP2 - V2.4.1 Resume playback from DE
    Ok, thanks for the User Management tip - I now get what I would expect. Now all I have to do is to figure out how to make Auto Login do what it says on the tin. The only way to make it work is to manually log in each time. Any hints as to what I'm missing with the login system?
    Ok, thanks for the User Management tip - I now get what I would expect. Now all I have to do is to figure out how to make Auto...
    So "Resume playback from" only works when MediaPortal 2 has NOT been turned off, meaning if I shut MediaPortal 2 down, restart it...
    Replies
    10
    Views
    839
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video signal") on the TV I suspect the AVR has something to do with that. If I manually put the TV only into standby when TV is playing but paused then on wakeup I could not immediately take it out of pause and...
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video...
    Hi all, I´m using MP 1.30 at the moment and have a problem which also exists on my system on previous versions. So I don´t think...
    Replies
    3
    Views
    309
    Ok so final update. As in my original post the download of MS SQL Express 2005 fails which in the following posts questioned why it was even needed. And this appears to be a valid point as it appears as though MySQL 5.6 is the preferred option anyway so why try and download it? The other problem with the "download files only option"...
    Ok so final update. As in my original post the download of MS SQL Express 2005 fails which in the following posts questioned why...
    When I was installing MP 1.31 last weekend I selected to download the files and install from a local folder. I got these messages...
    Replies
    7
    Views
    372
    Top Bottom