[Approved] - Patch allow to set prerecordinterval by user for video thumbs

Discussion in 'Submit: code patches (MediaPortal/TV-Server/etc.)' started by regeszter, May 15, 2013.

  1. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Hi,



    this is a small patch for allow user to set the prerecordinterval (in minutes) (or just set an interval) in configuration.exe instead of the hardcoded value. The ffmpeg will made the picture from movie start+this value. If the movie smaller than this value, MP will be use 5 sec (still hardcoded) as fallback.

    The binaries made from latest master (1.4pre release).

    configuration.PNG
     

    Attached Files:

    Last edited by a moderator: August 30, 2013
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Great idea.

    The value is measured in seconds or minutes? (perhaps you should ad this info to the GUI)
     
  4. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
  5. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,295
    Likes Received:
    6,247
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,268 / 9
    Home Country:
    France France
    Show System Specs
    Hi,

    You sure '(aOmitCredits)' is not used anymore ? (i remember that it was used for TV Side but like now TV handle is own thumbnail generation maybe it's ok)
    Can you confirm it ?
    Thanks :)
     
  6. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    I not sure only hope. ;) The part of the thumbnail generation source code litle bit mess. I will debug it.
     
    • Like Like x 1
  7. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    as I see the TV server uses TvEngine3\TVLibrary\TvThumbnails\VideoThumbCreator.cs for thumbnail generation.
     
    • Like Like x 1
  8. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
  9. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Last edited: September 24, 2013
  10. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Yes, it will be include in 1.5. So I think, the rejected is not the best tag for this thread.
     
  11. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Changed to 'Approved'. Don't know who set 'Rejected'?
     
    • Thank You! Thank You! x 1
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!