MediaPortal Audio renderer - better video playback quality | Page 95

Discussion in 'General Development (no feature request here!)' started by tourettes, July 12, 2010.

  1. gibman
    • Premium Supporter

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    Home Country:
    Denmark Denmark
    Im using the EncodeToAC3 feature.

    Is it on purpose that when dealing with 2 channel audio (eg. mp3 track) that it is being encoded into an AC3 2.0 track ?



    This way I cant change volume when using my HTPC remote control, since its ac3 spdif.

    Why not keep mp3 audio in the mp3 domain when resampling ?
    The same goes for ac3 ?

    mp3 -> mp3 (resampled)
    ac3 -> ac3 (resampled)

    /gibman
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Seeco

    Seeco Portal Pro

    Joined:
    October 15, 2007
    Messages:
    241
    Likes Received:
    7
    Location:
    Linköping
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    A quick question - what version of the renderer is incorporated into MP 1.2.0 Alpha? Do I still need to use the files in this thread to have the cutting edge version? :)
     
  4. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Nothing is included in the MP 1.2.0 alpha. Currently the audio renderer's real target is MP2 so it will stay as a separate from the main MP1 releases (at least for now with 1.2.0, probably as well in the future).
     
  5. Seeco

    Seeco Portal Pro

    Joined:
    October 15, 2007
    Messages:
    241
    Likes Received:
    7
    Location:
    Linköping
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    OK, I misunderstood the part in the release notes about "smooth video playback". Thanks!
     
  6. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Changing volume level on HTPC side should be always banned since it will just ruin the audio quality :p

    Since I wont use AC3 and no one has ever nagged about the issue :) I think there is no reason to encode the mono / stereo audio tracks into AC3 after resampling has been done. It will only slightly lower the audio quality. I'll change this behavior in next release.

    Actually it would be:

    mono or 2 channels -> resampled -> PCM
    multichannel -> resampled -> AC3
     
  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
    MP 1.2.0 includes a version of the dshowhelper from this thread (with no audio renderer support) - that's what the "smooth video playback" comment is about :)

    Tony
     
    • Like Like x 1
  8. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Nice to hear that it works. ver 17 has still a slight bug in the delay adjustment. The delay is 10x too big. If registry has 10 ms it will be actually 100 ms - this will be fixed in next release.

    That would be something for the player to specify (audio renderer doens't know or care about the refresh rate or video fps). So, maybe something for MP2 since MP1 itself wont be changed for the audio renderer (and providing a patched core.dll etc. would be just too big effort - keeping those in sync... also there would be al kinds of weird conflicts / bugs to be solved with the pached dlls...).
     
  9. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    I would be glad to hear some more details on the lipsync issue - even when you aren't going to use the renderer itself. All help we can get is wanted.

    The period of silence after resuming from pause is a known issue and there is currently no way to fix it. It is related to WASAPI buffers, so you could reduce the amount of the DevicePeriod setting in registry. To fix it properly requires a complete refactoring how sample pipeline is handled and it would also require sample caching to be implemented (when pause state is resumed we need to send the already send data to the audio device. Also the whole resampling queue needs to be preserved...). CUrrently the issue is much too small annoyance that it would be worth to fix it (sample pipeline is going to be reworked in the distand future to allow more complex audio processing but that is a different story).
     
  10. Seeco

    Seeco Portal Pro

    Joined:
    October 15, 2007
    Messages:
    241
    Likes Received:
    7
    Location:
    Linköping
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    I am currently seeing some stuttering. I have been noticing it for a while, but haven't taken the time to log it until now. The logs are recorded playing a typical HD video, which afaik don't have any special errors in it. I can see no dropped frames, but all the three lines make a big skip (and at the same time I see stutter) once in a while. Any ideas?
     
  11. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Logs aren't giving any clues, could you post a screen shot about the rendering stats when the failure occurs? Also check with other than ffdshow DXVA H264 decoder - for example with MS DTV-DVD codec which comes with Windows 7.
     
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!