[solved] - LAV help needed! | Page 2

Discussion in 'Codecs, External Players' started by mikeharris, July 6, 2016.

  1. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Almost certainly, and they will be Media Foundation ones, not DirectShow.



    Kotik's MPC-HC test is a good idea, also your second GraphStudio picture has a VMR9 renderer in it, not EVR.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mikeharris

    mikeharris Portal Member

    Joined:
    August 6, 2012
    Messages:
    27
    Likes Received:
    3
    Ratings:
    +4 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    --- Post updated ---
    The first picture was the remote connection to MP and the second was after opening the file directly with GraphStudioNext
    --- Post updated ---
    I configured MPC-HC 32 bit as suggested and it seems to work OK.

    As my 100% cpu issue appears to be connected with changing between file types, I repeatedly tried playing one type after another.
    This worked with no problems.
     
  4. mikeharris

    mikeharris Portal Member

    Joined:
    August 6, 2012
    Messages:
    27
    Likes Received:
    3
    Ratings:
    +4 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Does anybody have any more ideas - or should I give up with MP to play 10bit vids?
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Clutching at straws here, but you could try disabling the dynamic refresh rate changer.

    Please also try testing with an 8 bit video instead of live TV, and actually stop the video before changing to the next one.

    If neither of those suggestions work, please provide new log files. To be clear, I'm expecting the log files will show your 10b -> 8b -> 10b:
    • video test (ie. not live TV)
    • with stopping after each video
    • using EVR not VMR9 (refer to Owlsroost's earlier comment)
    • IFC disabled
    • DRRC disabled
     
    • Like Like x 2
  6. mikeharris

    mikeharris Portal Member

    Joined:
    August 6, 2012
    Messages:
    27
    Likes Received:
    3
    Ratings:
    +4 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    OK, IFC disabled, DRRC unticked and the result is;
    play 10b = 100%cpu, stop, play 8b, plays ok, stop, play 10b 100% cpu, kill Mediaportal process

    Notice that when playing 8b cpu recovers from 100% to normal and back to 100% when 10b played...
    upload_2016-8-3_16-7-31.png upload_2016-8-3_16-14-53.png upload_2016-8-3_16-17-44.png
     
  7. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Mike:

    Please can you play a 10 bit file in MP, open the graph remotely (as per your picture above) and then open the filter properties of LAV Video decoder (double click on it in GraphStudio). Go to the 'output' tab and do a screen cap of the window (after expanding it to show everything). Then do the same after building the same graph in GraphStudio (assuming it works using hardware acceleration there, so it's less than 100% CPU).

    You can do the same thing in MPC-HC (Play -> filters -> LAV Video Decoder -> Pin info -> [OUT] (copy the text it spews out into a text file))

    Attach the screen caps and MPC-HC info - I'm interested in seeing if there are any pin connection differences (media types/subtypes/colour spaces etc.) between MP and the other situations.

    It might be useful if you repeated the above using an 8-bit file for comparison as well.
     
  8. mikeharris

    mikeharris Portal Member

    Joined:
    August 6, 2012
    Messages:
    27
    Likes Received:
    3
    Ratings:
    +4 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    10 bit first.
    The first print opening remotely when Mediaportal at 100% cpu
    upload_2016-8-4_14-29-17.png upload_2016-8-4_14-32-25.png

    The next built graph plays correctly with hardware acceleration
    upload_2016-8-4_14-41-44.png upload_2016-8-4_14-44-20.png

    also uploaded MPC-HC.INFO.txt plays correctly with hardware acceleration

    Mike
     

    Attached Files:

    • Thank You! Thank You! x 1
  9. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    That info confirms that when played in MP, it's not negotiating DXVA for 10-bit HEVC files ("biCompression: P010" instead of "biCompression: dxva" in the BITMAPINFOHEADER section), so that explains the 100% CPU....
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  10. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Does anyone have a debug build of LAV 68.1 (32-bit) filters available (or could build them) ?

    I think we need the LAV logs from a debug build to work out why the 10-bit DXVA connection is failing/not being attempted in the MP environment.
     
    • Thank You! Thank You! x 1
    • Agree Agree x 1
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Mike, can you please provide a screenshot of your LAV video codec settings.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!