Thumbnail generation - design problem: thumbnails are almost same and not very informative. (3 Viewers)

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi,

    Change log:
    • Rework video duration detection. mediainfo.dll is used instead of ffmpeg becasuse of lot of fails detection.
    I have just finished the tv servert part but it needs some internal test. I will provide the binaries if it success.
     

    Attachments

    • MP_1.4.0_thumb_patchV3c.zip
      2.8 MB
    Last edited:

    greybox

    MP Donator
  • Premium Supporter
  • January 23, 2009
    652
    168
    Home Country
    Canada Canada
    I tried this and the previous version and I can confirm the folder creation bug is fixed, thank you!! Thank you for adding "minutes" in the description!

    Having a calculated/automatic method for time between the frames may be a good idea for some users, but is it possible to keep the manual option as well? Some users may prefer to have a choice of selecting the offset and time between the frames manually. If they set some not functional parameters (for example, the offset of 5 minutes where my video clip is only 3 minutes), they should be getting black thumbnails.
     
    Last edited:

    greybox

    MP Donator
  • Premium Supporter
  • January 23, 2009
    652
    168
    Home Country
    Canada Canada
    Anybody? Windows Media Center users always have video duration information available. It would be so nice to have it in MediaPortal and I think it is as important as thumbnails. Now that we calculate video duration for thumbs anyways, can we add (or maybe on demand if this is a performance issue) time to FolderView similar to what we have for TV?

    I would like to see the time length for each movie in my folder, if that is possible.
    In DB view, this is possible just like it is in TvSeries, MyFilms, MovingPictures, because during the import that mediainfo is fetched _once_ and stored in the DB.

    In FolderView - well. Maybe this could be done when creating the thumb -grab mediainfo- and stored in the VideoDB. Because if that mediainfo would get created everytime you enter a folder, then this would generate a lot of load and I think also reduce the responsiveness of MP.
    So for folderview it is not "that" easy - but a dev please correct me if i am wrong. :)
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I used to fool around with ffmpeg for thumbnails for my tv thumbnail program.

    From memory (I may be wrong, it was >year ago) it was faster to run fmmpeg 4x to do 4x frame specific grabs rather than using the inbuilt montage within ffmpeg to create 4 thumbnails. I think if you run ffmpeg 4x it just processing a couple of frames, whereas if you run it in montage mode it seems to decode all the video between the first frame and last frame.
     
    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Anybody? Windows Media Center users always have video duration information available. It would be so nice to have it in MediaPortal and I think it is as important as thumbnails. Now that we calculate video duration for thumbs anyways, can we add (or maybe on demand if this is a performance issue) time to FolderView similar to what we have for TV?

    I will look after this but I don't have enough information how the skin engine works.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi,

    here is the TV server patch. It is same behaviour as client V3c.
     

    Attachments

    • tvserver_patch_v2.zip
      662.8 KB

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Anybody? Windows Media Center users always have video duration information available. It would be so nice to have it in MediaPortal and I think it is as important as thumbnails. Now that we calculate video duration for thumbs anyways, can we add (or maybe on demand if this is a performance issue) time to FolderView similar to what we have for TV?

    I will look after this but I don't have enough information how the skin engine works.

    I made a test version. It works but slow down the browsing. :(

    def wide.PNG titan.PNG
     
    Last edited:

    greybox

    MP Donator
  • Premium Supporter
  • January 23, 2009
    652
    168
    Home Country
    Canada Canada
    Unfortunately my TV service keeps dying with this patch (happens when I manually start and stop the recording).

    Hi,

    here is the TV server patch. It is same behaviour as client V3c.
     
    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Unfortunately my TV service keeps dying with this patch (happens when I manually start and stop the recording).

    Hi,

    here is the TV server patch. It is same behaviour as client V3c.

    I will check.

    EDIT: I can't reproduce this issue. Can you attache the server log?
     
    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    For developers! :)
     

    Attachments

    • MP_1.4.0_thumb_patchV3c & tvserver_patch_v2 source.zip
      96.3 KB

    Users who are viewing this thread

    Top Bottom