TV Thumbnailer - Custom Rec TV Thumbs / Better h264 support (1 Viewer)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I'm currently running it from d:\tv thumbnailer\ that has a space and it works ok. maybe it is the bracket?
    I'm sure I've had it working correctly in the MP program files directory previously, will have to try it again.
    So it failed using c:\program files (x86)\team mediaportal\mediaportal\tv thumbnailer\?
    What directory are you successful with?


    edit: it's the close bracket ")" I have a lot of echo statements inside if statements and if the echo has a ) it stuffs up. The ) closes the loop prematurely and makes it crashbut installing to a directory without ) or ( character should solve problem for now.
     
    Last edited:

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    You think there is a problem with c:\program files (x86)?

    I run it now from D:\Programme\MediaPortal\TV Thumbnailer and I have to say this is really great stuff you are doing! =)
    I did some test and it is giving me great results!

    I have added the red part to multigrid images so they have a proper aspect ratio too (like the single image) - see attached screenshot:
    call "%LocalDir%Files\ffmpeg.exe" -loglevel quiet -ss 720 -i "%TSRecording%" -vf "select=isnan(prev_selected_t)+gte(t-prev_selected_t\,20),yadif=0:-1:0,scale=iw*sar:ih","setsar=1:1","scale=iw/3:-1,tile=2x2" -vframes 1 -vsync 0 -an "%filepath%%filename%.jpg"

    Could you be so kind and explain what select=isnan(prev_selected_t)+gte(t-prev_selected_t\,20) does exactly in the multi grid image? Thanks :)
    Maybe the four screenshots could be less closer together.

    Thanks again!

    Heinz Horrmann - VOX - 2012-11-04.jpg
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    I have extracted and run setup in 'C:\Program Files\Team MediaPortal\MediaPortal TV Server\TV Thumbnailer' (Windows 7 32 bit) dropping the recorded folder onto the thumbnailer now works when using it locally so yes, my Administrator login is running with reduced privileges via remote. The thumbs are visable in MePo OK.

    Will test with a recording shortly :)

    Nice work.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    You think there is a problem with c:\program files (x86)?
    Any installation directory with ) or ( will fail. I probably can't change this without moving to a different programming language. I'll probably add something in setup.cmd to tell the user to install to a different directory.
    Could you be so kind and explain what select=isnan(prev_selected_t)+gte(t-prev_selected_t\,20) does exactly in the multi grid image? Thanks :)
    Maybe the four screenshots could be less closer together.
    That code is the 20 second gap between thumbnails, I don't know exactly how it works. Once I add in the ability to get video length I may just manually create 4 screenshots at specific time stamps (it's faster than ffmpeg processing 20x4=80 seconds of video). If I go this route I can experiment with adding padding around the images.
     
    Last edited:

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    Ok so everything seems to be working ok for me, recordings work OK. One more niggle fixed :) thanks
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    logo-png.113813


    I've updated setup.cmd (For ALPHA 1.4 version) and require testing please

    Installation
    overwrite the old setup.cmd file with this new one
    run setup.cmd

    Changes
    - checks if tvthumbnailer installation directory has illegal ) or ( bracket characters that would cause a crash
    - checks if tvthumbnailer will have write access to mp thumbs directory (if not standalone tvserver pc)
    - checks if comskip.exe location has illegal ) or ( bracket characters that would cause a crash
    - writes to tvthumbnailer.log after it has been run
     

    Attachments

    • Setup.cmd.zip
      2 KB
    Last edited:

    blair_haynes

    MP Donator
  • Premium Supporter
  • October 26, 2007
    224
    41
    Gisborne
    Home Country
    New Zealand New Zealand
    Hi Kiwi

    I'm having issues with the TV Thumbnailer running after the TV Server has recorded a show. I've texted this by dragging my recorded TV directory on to tvthumbnailer.cmd and it works a treat, but it will not work automatically. Attached is how I've set it up in the TV Server config which looks right. Any other ideas?

    screen.jpg
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    delete log. run setup once. goto tvserver config, choose recording, click test on a recording. see wiki
     
    Last edited:

    blair_haynes

    MP Donator
  • Premium Supporter
  • October 26, 2007
    224
    41
    Gisborne
    Home Country
    New Zealand New Zealand
    I've just run the test under the TV Server Config on a recording that was done this morning. Worked perfectly so it appears to me that the ComSkip launcher is not being triggered after the recording is finished.

    Can you tell me where the log file is located? Had a cursory look but couldn't find it.

    Edit - found log file exactly where it should have been. Clearly had a "boys" look!

    Edit 2 - Examining the log confirms that tvthumbnailer.cmd has never been run other than manually so it is not triggering post-recording.

    Anything else to check?
     
    Last edited:

    Users who are viewing this thread

    Top Bottom