[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

    You can find ton of guide here: https://www.avsforum.com/threads/madvr-player-support-thread.2215490/?post_id=39123050#post-39123050
    You can find ton of guide here: https://www.avsforum.com/threads/madvr-player-support-thread.2215490/?post_id=39123050#post-39123050
    Hi, I have a problem if I set madVR as Video Render. When I try to play my .mkv files I have an 'Unable to play. Video COdec...
    Replies
    3
    Views
    967
    MP1 MP2 Windscribe VPN DE
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP address or Host Name of the Master TV Service". I have a single seat build running the latest X64 version of MP1. Can anyone point me to a solution please? It's probably a really obvious one..... Cheers Fangio
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    Replies
    0
    Views
    323
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Replies
    0
    Views
    386
    Thank's, I had already disabled the option in MP. Anyway, last night, after several tests, I suddenly hooked up the correct frequency. Honestly I've done dozens of tests and so I don't know what is the thing that unlocked the problem, but now it works.
    Thank's, I had already disabled the option in MP. Anyway, last night, after several tests, I suddenly hooked up the correct...
    Hello, with Mediaporta and madVR I can't get the right refresh rate of the videos to work. I've set everything needed for the...
    Replies
    2
    Views
    550
    @Pablik I finally got back to this, and I got it working. What I did was this. I intended to copy the UHD-BR disc to my local hard drive, so I put the disc in the drive, and then brought up MakeMKV. In MakeMKV I went through the initial steps to copy the UHD-BR disc to my drive, and while MakeMKV was parsing the disc, I noticed a...
    @Pablik I finally got back to this, and I got it working. What I did was this. I intended to copy the UHD-BR disc to my local hard...
    I just uninstalled AnyDVDHD due to RedFox being no longer reachable, and I have taken the MakeMKV route described in this thread...
    Replies
    4
    Views
    837
    Top Bottom