Menu

#115 Video thumbnails from jpg files

open
nobody
thumbnail (1)
5
2015-12-28
2015-12-14
Josch
No

Is it possible to let ReadyMedia use jpg files in the same folder and with the same name as the corresponding video file be used as a thumbnail for this video file?

for exmaple:
Lord_of_the_rings.mkv
Lord_of_the_rings.jpg

Discussion

  • Shrimpkin

    Shrimpkin - 2015-12-16

    That is the default behavior. If you mean not to resize thumbnails, then no. There are patches available in the forums that either bypass image resize or change thumbnail resolutions. But from what I've read, the dlna specs limits thumbnail size to 160x160 which is why minidlna resizes images and caches them.

     
  • Josch

    Josch - 2015-12-17

    I tried but it was not working for me

     
  • Josch

    Josch - 2015-12-17

    I tried it again, by deleting the art cache and the files.db and rescanning all files.
    It is NOT working.
    So i assume it is not implemented.

    I hope Justin will have the time to do this.

     
  • Darkvater

    Darkvater - 2015-12-18

    Actually the DLNA specs allow multiple image profiles to be sent. Minidlna only presents JPEG_0 profile which is the thumbnail. We can patch minidlna to send different profiles and then the applications that request those can get the larger sizes. I have a fork of minidlna that does this: https://github.com/Darkvater/minidlna/tree/multiple_sized_thumbnails?files=1

     
  • Josch

    Josch - 2015-12-18

    Thanks for the feedback, but i am still not sure if what you are talking about is the reason or a solution, because the folder thumbs are working fine for videos or music... and i am using several renderers or controller software/apps which show all the same result.
    It is working as expected with UMS, but i would prefer to use minidlna.

    BTW, why dont you integrate your patch in the main stream repo from Justin? - sounds interesting to me

     

    Last edit: Josch 2015-12-18
  • Shrimpkin

    Shrimpkin - 2015-12-21

    Rebuild the database and run in debug mode with the '-R -d' options. Post the relevant log entries, config file, media info, and any other information regarding your issue.

     
  • Josch

    Josch - 2015-12-22

    So... after more research i found the issue.
    minidlna overrides "per file thumbnails" if it finds a "folder thumbnail".

    i.e.:
    folder.jpg overrides:
    Lord_of_the_rings.jpg
    for the movie in the same folder
    Lord_of_the_rings.mkv

    Is this the expected behaviour?

     
  • Shrimpkin

    Shrimpkin - 2015-12-25

    In order of importance:

    1) embedded (in file, movie.mkv)
    2) specific (movie.cover.jpg, movie.jpg)
    3) album_art_names (list from config file)

    I couldn't reproduce your issue. See my previous post and post the steps
    needed to reproduce the issue.

     
  • Josch

    Josch - 2015-12-25

    BTW, are you sure that minidlna can ready embedded cover art in mkv?
    I thought that this is only possible with a patch but not the "standard" from git.

     

Log in to post a comment.