TV Recordings Thumb Offset not working (1 Viewer)

wonkyd

Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    I've set a offset value of 15 for TV recordings in TV Server config however it doesn't seem to be working as thumbs are still being generated from much earlier in the recording. Anyone else got this working?

    Thanks
     

    AtTimesPerplexed

    MP Donator
  • Premium Supporter
  • May 8, 2011
    127
    48
    Home Country
    New Zealand New Zealand
    The offset in Videos works, but in TV recordings it doesn't. It uses a hardcoded value of 60 seconds instead.
    Code:
    [2013-10-17 23:37:02,147] [Log    ] [25      ] [INFO ] - ThumbProcessor.DoWork: Creating thumb for D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
    [2013-10-17 23:37:02,147] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: preGapSec: 60
    [2013-10-17 23:37:02,853] [Log    ] [25      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
    [2013-10-17 23:37:02,853] [Log    ] [25      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 4252680
    [2013-10-17 23:37:02,854] [Log    ] [25      ] [DEBUG] - D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts duration is 4252, TimeIntBwThumbs is 1876
    [2013-10-17 23:37:06,910] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 60 -i "D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Nikita - 3x13 - 2013-10-17_0.jpg"
    [2013-10-17 23:37:06,924] [Log    ] [25      ] [DEBUG] - CreateTileThumb: before Saving thumb! tmpFile: C:\Windows\TEMP\tmp52E7.tmp
    [2013-10-17 23:37:06,930] [Log    ] [25      ] [DEBUG] - CreateTileThumb: Saving thumb!
    [2013-10-17 23:37:06,962] [Log    ] [25      ] [DEBUG] - CreateTileThumb: after Saving thumb!
    [2013-10-17 23:37:07,062] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation success C:\Windows\TEMP\Nikita - 3x13 - 2013-10-17.jpg
    [2013-10-17 23:37:07,594] [Log    ] [25      ] [INFO ] - ThumbProcessor.DoWork: Thumbnail successfully created for - D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Maybe this is a dump question but have you set the pre-record value in TVServer config (it is different to Videos)?
    =Thumbnails_generation_TVServer.png


    Gonna try to confirm this myself.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    It uses a hardcoded value of 60 seconds instead.

    Confirmed.
    I attached the TVService log.

    Example (I set the time in config to 10 (minutes)):
    Code:
    [2013-10-18 00:03:38,486] [Log    ] [22      ] [INFO ] - ThumbProcessor.DoWork: Creating thumb for D:\test\Der Hundeprofi - VOX - 2013-08-03.ts
    [2013-10-18 00:03:38,486] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: preGapSec: 60
    [2013-10-18 00:03:38,612] [Log    ] [22      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : D:\test\Der Hundeprofi - VOX - 2013-08-03.ts
    [2013-10-18 00:03:38,613] [Log    ] [22      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 4919560
    [2013-10-18 00:03:38,613] [Log    ] [22      ] [DEBUG] - D:\test\Der Hundeprofi - VOX - 2013-08-03.ts duration is 4919, TimeIntBwThumbs is 971
    [2013-10-18 00:03:39,036] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 60 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_0.jpg"
    [2013-10-18 00:03:39,462] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 1031 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_1.jpg"
    [2013-10-18 00:03:39,856] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 2002 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_2.jpg"
    [2013-10-18 00:03:40,314] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 2973 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_3.jpg"
    [2013-10-18 00:03:40,333] [Log    ] [22      ] [DEBUG] - CreateTileThumb: before Saving thumb! tmpFile: C:\Windows\TEMP\tmp8AE0.tmp
    [2013-10-18 00:03:40,336] [Log    ] [22      ] [DEBUG] - CreateTileThumb: Saving thumb!
    [2013-10-18 00:03:40,360] [Log    ] [22      ] [DEBUG] - CreateTileThumb: after Saving thumb!
    [2013-10-18 00:03:40,461] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation success C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03.jpg
     

    regeszter

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

    I can confirm this. The the value is named in setuptv as TVThumbnailsTimeOffset but the tvservice find it as TimeOffset.

    Can somebody test it? TvThumbnails.zip
     

    Attachments

    • TvThumbnails.zip
      15.5 KB
    • 0001-Bug-TV-Recordings-Thumb-Offset-not-working.patch
      1.2 KB
    Last edited:

    Users who are viewing this thread

    Similar threads

    It works perfect now. All channels have been found, even with the default tuning files. Thank you very much! (y) I'd love seing this change in MP 1.33! :)
    It works perfect now. All channels have been found, even with the default tuning files. Thank you very much! (y) I'd love seing...
    With my new hardware, Windows 11 and MP 1.32 the TV channel scan is not working anymore. The frequencies are scanned but no...
    Replies
    40
    Views
    3K
    MP1 MP2 Odd Standby issue DE
    Since I played around with all the settings as per the previous posts and despite putting everything back to how it was, as far as I can tell, now when my HTPC wakes up to make a recording it no longer does so in away mode. I will probably do a restore from a backup in the hope that that will resolve the issue.:mad:
    Since I played around with all the settings as per the previous posts and despite putting everything back to how it was, as far as...
    Generally standby is working well on My Mp 1.32 x64 pre set up. I just have one issue, which was also present on earlier x86...
    Replies
    35
    Views
    4K
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    2K
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted during the reinstall of MP. I also had to do the same with TRAKT which had some issues too that were not apparent at the time. All is well once again. :cool:
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted...
    After much trial and error and comparing this computer with another that was working, I finally found out that Fanarthandler...
    Replies
    1
    Views
    833
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    hi, I'm setting up a new computer and have installed MP 1.3.2 after a few goes and getting all the prereqs installed, I was...
    Replies
    3
    Views
    744
    Top Bottom