.mp4 playback too fast? (2 Viewers)

technoweary

MP Donator
  • Premium Supporter
  • June 14, 2015
    173
    13
    47
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi,
    .mp4 video is running way too fast on my MediaPortal1 system and is very noticeable on music videos, to the extent that I do not watch them via MediaPortal and use the PC.
    MediaPortal is brilliant so I really would wish to get this small problem sorted out.
    I have searched for help on this and although this problem was posted there is no resolution I can find.
    Having gone through the setup and tried a few setting changes I have not had any success, and I admit I have no real idea what I am doing or what settings I should be focussing on to try and adjust this.
    Any advice or direction would be most appreciated.
    Regards to all.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hello

    .mp4 video is running way too fast on my MediaPortal1 system and is very noticeable on music videos
    So the audio pitch is higher, and everything in the video moves faster than it should?

    I have searched for help on this and although this problem was posted there is no resolution I can find.
    Where have you seen this problem posted?

    Having gone through the setup and tried a few setting changes I have not had any success, and I admit I have no real idea what I am doing or what settings I should be focussing on to try and adjust this.
    Any advice or direction would be most appreciated.
    The first things I'd be checking are:
    1. Frame rate(s) of the content you're playing, refresh rate(s) of the monitors/TVs you're viewing the content on, and the configuration of the refresh rate changer.
    2. Codec configuration for videos.
    If you want further help then I'd also strongly suggest you post log files and fill in your forum profile system specifications. I won't be able to offer any further advice unless you do this.

    Regards,
    mm
     

    technoweary

    MP Donator
  • Premium Supporter
  • June 14, 2015
    173
    13
    47
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi mm1352000, thank you for your reply.

    So the audio pitch is higher, and everything in the video moves faster than it should?

    No, It's not that pronounced, it's more the bpm is noticeably faster than it should be, so very noticeable on music video.

    Where have you seen this problem posted?

    https://forum.team-mediaportal.com/threads/mp4-files-playing-too-fast.105314/

    The first things I'd be checking are:
    1. Frame rate(s) of the content you're playing, refresh rate(s) of the monitors/TVs you're viewing the content on, and the configuration of the refresh rate changer.
    2. Codec configuration for videos.

    The display is a Pioneer Plasma with 25Hz Rate at 1080i.
    All codecs are LAV with MediaPortal Audio Renderer.

    If you want further help then I'd also strongly suggest you post log files and fill in your forum profile system specifications. I won't be able to offer any further advice unless you do this.

    Please see log file attached.
    I will update my forum profile immediately.
    Regards
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    So the audio pitch is higher, and everything in the video moves faster than it should?
    No, It's not that pronounced, it's more the bpm is noticeably faster than it should be, so very noticeable on music video.
    Can you please explain all the details.
    How did you notice the problem?
    How are you measuring BPM?
    How are you certain that the problem is MP and not the file itself?

    Okay. If you think @porky996t had a similar problem to what you're now experiencing then I guess it's worth asking whether he found a resolution, and if so what it was. However, my gut feeling is that he probably had a different problem. This is the first time I've seen such a problem mentioned, so at this point I think it is likely this problem is isolated to your system/configuration/media.

    All codecs are LAV with MediaPortal Audio Renderer.
    Considering that MPAR can adjust playback rates, have you tried playback with the default DirectSound audio renderer?

    Please see log file attached.
    I'm not seeing log files attached. ;)
    [edit: Okay, now they've appeared. Thanks.]
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    On looking at the log files...

    Does the problem affect all mp4s, or just some?

    Some of your mp4s are 23.976 fps, and the refresh rate changer is not able to adjust to compensate.
    [collapse]
    [2015-09-19 11:46:42,131] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Opening file : D:\Music\Music Video\Galantis - Peanut Butter Jelly (Official Video) - YouTube.mp4
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: DLL Version : MediaInfoLib - v0.7.69
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : D:\Music\Music Video\Galantis - Peanut Butter Jelly (Official Video) - YouTube.mp4
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Parse speed : 0.3
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: FrameRate : 23.976
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Width : 1920
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Height : 1080
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AspectRatio : widescreen
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoCodec : AVC [ "avc.png" ]
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Scan type : progressive
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: IsInterlaced : False
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoResolution : 1080P
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration : 233692
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioRate : 44100
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioChannels : 2 [ "stereo.png" ]
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioCodec : AAC LC [ "aac lc.png" ]
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasAudio : True
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasVideo : True
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : False
    [2015-09-19 11:46:42,147] [Log ] [MPMain ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 0
    [/collapse]

    [2015-09-19 11:46:42,162] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 23hz
    [2015-09-19 11:46:42,162] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 25hz, desired is 23
    [2015-09-19 11:46:42,162] [Log ] [MPMain ] [INFO ] - RefreshRateChanger AdapterOrdinal value is 0
    [2015-09-19 11:46:42,162] [Log ] [MPMain ] [DEBUG] - CycleRefreshRate: Current MonitorIndex : 0 and current deviceName : \\.\DISPLAY1
    [2015-09-19 11:46:42,162] [Log ] [MPMain ] [INFO ] - CycleRefreshRate: unable to change refresh rate 23Hz for monitor 0

    Same applies for Josh Groban - Brave [Official Music Video] - YouTube.mp4 and Kiesza - Hideaway (Official Video) - YouTube.mp4, but not for Major Lazer & DJ Snake - Lean On (feat. MØ) (Official Music Video) - YouTube.mp4 or Future Islands - Seasons (Waiting On You) - Later... with Jools Holland - BBC Two - YouTube.mp4.
     

    technoweary

    MP Donator
  • Premium Supporter
  • June 14, 2015
    173
    13
    47
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi mm1352000,
    It's the Audio renderer. I try to avoid changing settings when I have no idea what I am doing but studying your reply I wondered if it could be the actual audio timing rather than the video. (I think I read somewhere that the audio does work in conjunction with the video to adjust frame rate?)
    I changed the Audio Renderer to Nvidia PDP and everything is spot on.
    Also tried TV and some film and it's working exremely well.
    In honesty it's only a slight speed error that probably would not be noticed by most people.
    The Beats Per Minute is something I am sensitive to as I was a pro DJ for years, (in the days of analogue mag drive turntables when there was no digi read-out!), so most people would not notice the incorrect speed-up.
    At least the problem is nailed and posted if anyone else notices it.
    Thank you for your time and attention it is most appreciated.
    Regards TW
     

    davidf

    Retired Team Member
  • Premium Supporter
  • April 3, 2006
    796
    348
    Scotland
    Home Country
    Scotland Scotland
    Looks like the videos are playing 4% too fast as MPAR is adjusting the audio to allow best video playback of 23.976fps material on a 25hz display. You can use configuration to enable the default direct sound audio renderer (and conversely have poorer video quality with duplicated frames).

    The best solution would be to match the 23fps material to another refresh rate on you monitor (as it doesn't support 23hz). Try 24hz which some monitors support. If you don't have 24hz support then you simply have a choice of video vs audio quality (MPAR resembles the audio to match the monitor, but shouldn't be noticeable except that the video will play slightly quicker to maintain the video quality).

    If stuck with no appropriate refresh rate on the monitor watch one of the 23fps videos with the default audio render and decide whether you prefer video quality or audio quality - you can't have both in this case.
     

    technoweary

    MP Donator
  • Premium Supporter
  • June 14, 2015
    173
    13
    47
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi davidf,
    Yes, I am sure you are correct as when I run from the PC using VideoLAN it shows 23.977971 rate.
    Changing the Audio Renderer to Nvidia seems to do the trick but I do not know how to read the rate from MediaPortal.
    It's a Plasma TV so any picture degradation shows up like a sore thumb, (especially 720p movies). Things seem perfect using the Nvidia renderer so I wonder if this is controlling the display via hdmi?
    Thanks for your reply
     

    technoweary

    MP Donator
  • Premium Supporter
  • June 14, 2015
    173
    13
    47
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi,
    Managed to get the frame rates when using MediaPortal and tried different Audio Renderers.
    davidf is spot on at 4% difference, only a difference of 1 frame per second and I am surprised it is so noticeable.
    However it confirms that the solution for me is to use the Nvidia Audio Renderer on the Pioneer display.
    Thanks again for your help and pointing me in the right direction.
    Regards
     

    davidf

    Retired Team Member
  • Premium Supporter
  • April 3, 2006
    796
    348
    Scotland
    Home Country
    Scotland Scotland
    The reason for my earlier reply was that I think a better solution is to see if your Plasma supports 24 or 48Hz. The solution you've went for results in just over 1 repeated video frame over second (as there are 23.976 frames in every second of the video file - your TV is showing 25 frames every second so must show one twice and sometimes two twice).

    If you use a rate which is a multiple of 24 and MPAR then the audio will only need to be adjusted by 0.1% so will rarely adjust the audio (it uses a special mode where is allows the audio to drift 14ms from the video and then performs an adjustment of 2% for about 1 second). If you press <Shift>1 MP will show you the stats on screen. During this time it will ensure that there is 24 frames of video to match to the 24 frames your TV needs to display. The 0.1% may be an over or under estimate as your TV will probably not run at exactly 24hz, so check the stats as you may find very little adjustment is actually being made.

    Music is a bit more of a grey area, but for movies I would always recommend MPAR - BBC, SKY and DVD companies already perform these conversion on US based material (or sometimes duplicate the extra frames in the PAL versions).
     

    Users who are viewing this thread

    Top Bottom