v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-01-13, 09:00)chewauwau Wrote: The problem I described in Post 498 (thumbnail extraction does not work) still persists with devel-20170112210208-#0112-gd210441. Additionally I tried the latest Kodi L****** nightlies on Windows and Android. They don't have this issue.

Yes, I can confirm this issue started with #0104, and it doesn't affect Generic with build #0104 so appears to be RPi specific (as far as my builds are concerned).

I've tested with local (/storage/video) files and see the same behaviour as you do:

#0103 http://sprunge.us/QFPJ:
Code:
19:24:13.656 T:1874850720   DEBUG: FactoryCodec - Video:  - Opening
19:24:13.656 T:1874850720  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:24:13.656 T:1874850720   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-h264
19:24:13.656 T:1874850720   DEBUG: FactoryCodec - Video: ff-h264 - Opened
19:24:13.656 T:1874850720   DEBUG: ExtractThumb - seeking to pos 2000ms (total: 6000ms) in /storage/videos/LibreELEC+KODI_Logo_Animation_6sec_v3_1080p_no-audio_samfisher.mp4
19:24:13.656 T:1874850720   DEBUG: SeekTime - unknown position after seek
19:24:13.802 T:1874850720   DEBUG: cached image 'special://masterprofile/Thumbnails/f/f5579db1.jpg' size 720x405
19:24:13.803 T:1874850720   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_encode input port 340 output port 341 m_handle 0x5be04150
19:24:13.804 T:1874850720   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_encode) - port(340), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(1198080), nBufferAlignmen(16)
19:24:13.804 T:1874850720   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.image_encode) - port(341), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(299520) nBufferAlignmen(16)
19:24:13.818 T:1874850720   DEBUG: COMXImageEnc::CreateThumbnailFromSurface : special://masterprofile/Thumbnails/f/f5579db1.jpg width 720 height 405
19:24:13.820 T:1874850720   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_encode handle 0x5be04150
19:24:13.823 T:1796207520   DEBUG: Thread FileCache 1796207520 terminating
19:24:13.823 T:1874850720   DEBUG: ExtractThumb - measured 211 ms to extract thumb from file </storage/videos/LibreELEC+KODI_Logo_Animation_6sec_v3_1080p_no-audio_samfisher.mp4> in 3 packets.
19:24:13.867 T:1874850720   DEBUG: Mysql Start transaction
19:24:13.867 T:1874850720   DEBUG: Mysql execute: DELETE FROM streamdetails WHERE idFile = 6368
19:24:13.870 T:1874850720   DEBUG: Mysql execute: INSERT INTO streamdetails (idFile, iStreamType, strVideoCodec, fVideoAspect, iVideoWidth, iVideoHeight, iVideoDuration, strStereoMode, strVideoLanguage) VALUES (6368,0,'h264',1.777778,1920,1080,6,'','eng')
19:24:13.871 T:1874850720   DEBUG: Mysql execute: update movie set c11=6 where idFile=6368 and c11=''
19:24:13.872 T:1874850720   DEBUG: Mysql execute: update episode set c09=6 where idFile=6368 and c09=''
19:24:13.873 T:1874850720   DEBUG: Mysql execute: update musicvideo set c04=6 where idFile=6368 and c04=''
19:24:13.913 T:1874850720   DEBUG: Mysql commit transaction
19:24:13.934 T:1776022432   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x6083a160
19:24:13.935 T:1776022432   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
19:24:13.937 T:1776022432   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x60863708
19:24:13.937 T:1776022432   DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
19:24:13.945 T:1776022432   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x6083a160
19:24:13.946 T:1776022432   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.egl_render handle 0x60863708
19:24:13.946 T:1776022432   DEBUG: DecodeJpegToTexture: decoded special://masterprofile/Thumbnails/f/f5579db1.jpg 720x405

#0104 http://sprunge.us/TWdV:
Code:
19:28:10.690 T:1575060384   DEBUG: FactoryCodec - Video:  - Opening
19:28:10.690 T:1575060384  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:28:10.690 T:1575060384   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-h264
19:28:10.690 T:1575060384   DEBUG: FactoryCodec - Video: ff-h264 - Opened
19:28:10.690 T:1575060384   DEBUG: ExtractThumb - seeking to pos 2000ms (total: 6000ms) in /storage/videos/LibreELEC+KODI_Logo_Animation_6sec_v3_1080p_no-audio_samfisher.mp4
19:28:10.690 T:1575060384   DEBUG: SeekTime - unknown position after seek
19:28:10.808 T:1575060384   DEBUG: ExtractThumb - decode failed in /storage/videos/LibreELEC+KODI_Logo_Animation_6sec_v3_1080p_no-audio_samfisher.mp4 after 3 packets.
19:28:10.811 T:1583448992   DEBUG: Thread FileCache 1583448992 terminating
19:28:10.812 T:1575060384   DEBUG: ExtractThumb - measured 217 ms to extract thumb from file </storage/videos/LibreELEC+KODI_Logo_Animation_6sec_v3_1080p_no-audio_samfisher.mp4> in 3 packets.
19:28:20.269 T:1920988064   DEBUG: CAESinkPi:Deinitialize
19:28:20.269 T:1920988064   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
19:28:20.270 T:1920988064   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x71ecba50

@popcornmix - in #0104 there are several ffmpeg changes, some of which relate to ffmpeg-3.2.
(2017-01-05, 02:26)Milhouse Wrote:
  1. newclock5:
    • New commits in this build:
      • VideoPlayer: check for vsyncAdjust on every cycle, speed of videoRefClock might have changed (8bc3927f)
      • fixup! [RetroPlayer] Fix crash when refresh rate changes (c9ea024c)
      • VideoPlayer: adapt decoder API to ffmpeg 3.2 (d454a999)
      • VideoPlayer: rework after ffmpeg 3.2 adpation (33d92aa2)
      • hack: retroplayer: fixme (0b7a7d11)
      • MMALCodec: Basic fixup to new ffmmpeg API (49aac6e8)
      • MMALCodec: Need an extra referenced buffer with new ffmpeg scheme (223e2ef2)
      • MMALFFmpeg: Fixup to new API (87af2906)

I haven't bumped to ffmpeg 3.2 in these builds yet as Kodi master is still using ffmpeg 3.1.6.

Could these newclock5 ffmpeg 3.2 changes be the cause of the thumbnail extraction issue? These ffmpeg 3.2 changes would not be in the Generic LE #0104 build.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2017-01-13, 21:34
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24