Automatic Refreshrate Changer (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,643
    764
    Göteborg
    Home Country
    Sweden Sweden
    How did you solve the problem?

    I'm also using Automatic Refreshrate Changer to change the refresh rate of the second monitor (projector) where MediaPortal is launched. For a while I used the ATI profile command from the first post in this thread but it didn't work well and Catalyst Control Center kept hanging. Then I changed to EventGhost and it has been trouble free since then :)
    I let the Automatic Refreshrate Changer run "EventGhost.exe -e 24" for 24 Hz and then add an EventGhost action to set the refresh rate of the second monitor.
     

    mtp3

    MP Donator
  • Premium Supporter
  • October 5, 2011
    25
    2
    Home Country
    Switzerland Switzerland
    My solution was simple. I switched my primary and secondary monitors so that mediaportal now runs on the primary. This also solved a frame dropping problem ....

    mtp
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Having recently purchased a new Samsung 8 Series LED TV, I'm finally able to make use of this functionality and enjoy silky smooth 24p movies.

    I have a question about variable frame rate. I noticed my iphone videos are using a variable frame rate (MediaInfo extract below). The video judders terribly in MediaPortal, which seems to select 50hz to playback this video (I guess based on what I assume is the average frame rate of 25fps.

    Is there any better way to handle variable frame rates?

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L3.1
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Format settings, GOP : M=1, N=30
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1mn 46s
    Bit rate : 10.7 Mbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Frame rate : 25.145 fps
    Minimum frame rate : 23.077 fps
    Maximum frame rate : 30.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.463
    Stream size : 136 MiB (99%)
    Title : Core Media Video
    Encoded date : UTC 2011-12-30 04:06:08
    Tagged date : UTC 2011-12-30 04:08:49
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    I would try to disable the dynamic refreshrate changer and try the movie at 30/60hz on your TV. Possibly this gives better results. Just to see if the judder is gone / less then.

    Hardware / technical wise the tv isnt able to give any kind of variable framerate. It is always fixed. It might be a (stupid) solution to re-encode the movie to 30fps. But I would not recommend it if you have large manga collections.

    @MP devs; Is it possible to detect the variable framerate and auto-select the highest (or preferred) hz value?

    /Ed
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Thanks Edterbak. Yeah 30/60hz didn't make it any better. The frame rate seems to be hovering around 25 fps, and then when the image moves substantially it drops lower. It's only video from my iphone 4 that seems to use a variable frame rate. Doesn't seem to be anyway to change that on the iphone itself (at least not on an un-jail broken one). As its phone video it's not that crash hot to start with, so I'm not particularly looking for a solution - more just interested in the theory of how to display variable frame rate nicely.

    So what is the point of encoding with a variable frame rate? I assume it's a compression technique that AVC / h.264 can use?

    EDIT: One thing that would be really nice is if MediaPortal could handle the rotation field in video appropriately. Have a habit of holding the phone the wrong way ;) Any chance this is being looked at already?
     

    JimmyBoy

    Portal Pro
    April 18, 2008
    107
    8
    Home Country
    United Kingdom United Kingdom
    So what is the point of encoding with a variable frame rate?

    I assume, much like mp3 VBR that you will get better overall compression of the input source as not every frame is compressed. For example, if there was a 2 second still moment in a movie that was recorded at 25fps, then normal compression would compress 50 frames into the output file, but with variable frame rate, those 50 frames compressed would just be 1 frame compressed.

    This is all just an assumption as I am by no means well versed on the subject of video/audio compression.
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    I think VBR and Variable Frame Rate are two different things, but I think you're right - the primary objective is compression.

    From Wikipedia:

    Variable frame rate (or VFR) is a term in video compression for a feature supported by some container formats which allows for the frame rate to change actively during video playback, or to drop the idea of frame rate completely and set individual timecode for each frame. VFR is especially useful for creating videos of slideshow presentations or when the video contains large amounts of completely static frames, as a means of improving compression rate.

    I could perhaps understand how VFR would be ok for offline editing, but seems an awful penalty to pay if no TV or display can play it back smoothly. Trust Apple to do something like that ;)
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Hi

    I need to switch both resolution and refresh rate but I'm having trouble getting it working.

    I'm using Powerstrip and have created two shortcuts on the desktop with it, one for 1024x576@50hz and one for 854x480@60hz, which both work if I click on them.

    I've copied the details from them and put this in for Cinema, PAL, HDTV and TV:

    "C:\Program Files\PowerStrip\PStrip.exe" /TARGET:1 /t:1024,32,93,111,576,5,5,39,19687,568

    and for NTSC:

    "C:\Program Files\PowerStrip\PStrip.exe" /TARGET:1 /t:854,21,85,106,480,2,31,12,16773,568

    I've got "Enable Dynamic Refresh Rate Control" and "Notify (popup) on refresh rate change" ticked, but it's not triggering.

    I assume what's in the Refresh Rate box is ignored when there's a command-line entry in Action?

    Also, if I tick the "Use default refresh rate" box and set it to TV (for example), will it trigger the Pstrip command-line when a movie stops rather than try and switch to the Refresh rate set in the box?
     

    Users who are viewing this thread

    Top Bottom