•   
  • 1
  • 89
  • 90
  • 91(current)
  • 92
  • 93
  • 218
  •   
  Thread Closed
v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
(2016-07-15, 18:55)nickrob84 Wrote: http://pastebin.com/raw/KBXWRrvy

@Milhouse - looks to be caused by your database update patch. Last message in log is:
Code:
16:48:53 208.262680 T:1962123264  NOTICE: Old database found - updating from version 20 to 26
and
Code:
#0  0x007ef39c in CRenderSystemGLES::EnableGUIShader(ESHADERMETHOD) ()
#1  0x0046c518 in CGUITextureGLES::Begin(unsigned int) ()
#2  0x0045514c in CGUITextureBase::Render() ()
#3  0x008e9208 in CSplash::Show(std::string const&) ()
#4  0x005673d0 in CDatabase::Update(DatabaseSettings const&) ()
#5  0x0079e2b0 in CDatabaseManager::UpdateDatabase(CDatabase&, DatabaseSettings*) ()
#6  0x0079e33c in CDatabaseManager::Initialize(bool) ()
#7  0x007892a0 in CApplication::Create() ()
#8  0x00668c28 in XBMC_Run ()
#9  0x00357c6c in main ()

I guess there is some race here, and CRenderSystemGLES::InitialiseGUIShader hasn't been called yet.
Is there a safe version previous to 0713 for a new build to update to?
(2016-07-15, 19:12)nickrob84 Wrote: Is there a safe version previous to 0713 for a new build to update to?

You can either kill your userdata (e.g. whole of .kodi) which would avoid the database updates and so the crash.
Or you can revert to #0712 which shouldn't crash, and will update the databases. You can then bump to #0714 safely as databases are already up to date.
0712 worked fine, thank you.
Sorry to bug you again, but DV-videos still don't work on RPi2. Sad
Working fourcc with ffmpeg on windows: dvcp, dvsd, cvsd, cdvc.
On RPi2: -none-

After some digging, ffmpeg on Windows identifies the codec as "dvvideo" and supports many fourccs for it. See here: https://github.com/FFmpeg/FFmpeg/blob/8e...mat/isom.c
I now even tried to rewrite the fourcc to dvcp and cdvc which works on Windows, but not on my RPi2.

Any ideas which code is relevant here and where I could take a further look at?

Kodi-log:
Starting some dv-video with [manually] different fourccs. Identical Type2-AVI-stream, though.
Code:
19:14:31 208.425827 T:1962049536  NOTICE: VideoPlayer: Opening: smb://SERVER/media/video.sonstiges/sample_dvcp.avi
19:14:31 208.435028 T:1962049536 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:14:31 208.444199 T:1772090272  NOTICE: Creating InputStream
19:14:31 208.467224 T:1772090272  NOTICE: Creating Demuxer
19:14:31 208.558487 T:1772090272  NOTICE: Opening stream: 0 source: 256
19:14:31 208.559006 T:1772090272  NOTICE: Creating video codec with codec id: 25
19:14:31 208.559235 T:1772090272   ERROR: CMMALVideo::Open : Video codec unknown: 19
19:14:31 208.559418 T:1772090272  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: DV (Digital Video)
19:14:31 208.560577 T:1772090272  NOTICE: Creating video thread
19:14:31 208.560913 T:1772090272  NOTICE: Opening stream: 1 source: 256
19:14:31 208.561035 T:1548739488  NOTICE: running thread: video_thread
19:14:31 208.561127 T:1772090272  NOTICE: Finding audio codec for: 65536
19:14:31 208.561615 T:1772090272  NOTICE: Creating audio thread
19:14:31 208.561951 T:1540350880  NOTICE: running thread: CVideoPlayerAudio::Process()
19:14:31 208.564301 T:1772090272  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
19:14:31 208.565063 T:1540350880  NOTICE: Previous line repeats 4 times.
19:14:31 208.565186 T:1540350880  NOTICE: Creating audio stream (codec id: 65536, channels: 2, sample rate: 48000, no pass-through)
19:14:31 208.695007 T:1962049536   ERROR: CMMALRenderer::Configure - format:1 not supported
19:14:31 208.695602 T:1548739488 WARNING: CRenderManager::Configure - failed to configure
19:14:31 208.695831 T:1548739488   ERROR: OutputPicture - failed to configure renderer
19:14:31 209.257233 T:1548739488 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
19:14:38 216.204330 T:1962049536 WARNING: Previous line repeats 2 times.
19:14:38 216.204544 T:1962049536  NOTICE: CVideoPlayer::CloseFile()
19:14:38 216.204636 T:1962049536  NOTICE: VideoPlayer: waiting for threads to exit
19:14:38 216.213608 T:1772090272  NOTICE: CVideoPlayer::OnExit()
19:14:38 216.213730 T:1772090272  NOTICE: Closing stream player 1
19:14:38 216.213837 T:1772090272  NOTICE: Waiting for audio thread to exit
19:14:38 216.240814 T:1540350880  NOTICE: thread end: CVideoPlayerAudio::OnExit()
19:14:38 216.241013 T:1772090272  NOTICE: Closing audio device
19:14:39 216.522308 T:1772090272  NOTICE: Deleting audio codec
19:14:39 216.522552 T:1772090272  NOTICE: Closing stream player 2
19:14:39 216.522644 T:1772090272  NOTICE: waiting for video thread to exit
19:14:39 216.523010 T:1548739488  NOTICE: thread end: video_thread
19:14:39 216.533035 T:1772090272  NOTICE: deleting video codec
19:14:39 216.536163 T:1962049536  NOTICE: VideoPlayer: finished waiting
19:14:39 216.536530 T:1962049536  NOTICE: VideoPlayer: Opening: smb://SERVER/media/video.sonstiges/sample_cvsd.avi
19:14:39 216.538147 T:1772090272  NOTICE: Creating InputStream
19:14:39 216.573181 T:1772090272  NOTICE: Creating Demuxer
19:14:39 216.657639 T:1772090272  NOTICE: Opening stream: 0 source: 256
19:14:39 216.658020 T:1772090272  NOTICE: Creating video codec with codec id: 25
19:14:39 216.658157 T:1772090272   ERROR: CMMALVideo::Open : Video codec unknown: 19
19:14:39 216.658340 T:1772090272  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: DV (Digital Video)
19:14:39 216.659683 T:1772090272  NOTICE: Creating video thread
19:14:39 216.660049 T:1772090272  NOTICE: Opening stream: 1 source: 256
19:14:39 216.660172 T:1601172384  NOTICE: running thread: video_thread
19:14:39 216.660263 T:1772090272  NOTICE: Finding audio codec for: 65536
19:14:39 216.660660 T:1772090272  NOTICE: Creating audio thread
19:14:39 216.660980 T:1573905312  NOTICE: running thread: CVideoPlayerAudio::Process()
19:14:39 216.663162 T:1772090272  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
19:14:39 216.663605 T:1573905312  NOTICE: Previous line repeats 4 times.
19:14:39 216.663712 T:1573905312  NOTICE: Creating audio stream (codec id: 65536, channels: 2, sample rate: 48000, no pass-through)
19:14:39 216.771637 T:1962049536   ERROR: CMMALRenderer::Configure - format:1 not supported
19:14:39 216.771957 T:1601172384 WARNING: CRenderManager::Configure - failed to configure
19:14:39 216.772141 T:1601172384   ERROR: OutputPicture - failed to configure renderer
19:14:47 225.000244 T:1962049536  NOTICE: CVideoPlayer::CloseFile()
19:14:47 225.000504 T:1962049536  NOTICE: VideoPlayer: waiting for threads to exit
19:14:47 225.007446 T:1772090272  NOTICE: CVideoPlayer::OnExit()
19:14:47 225.007538 T:1772090272  NOTICE: Closing stream player 1
19:14:47 225.007614 T:1772090272  NOTICE: Waiting for audio thread to exit
19:14:47 225.035721 T:1573905312  NOTICE: thread end: CVideoPlayerAudio::OnExit()
19:14:47 225.035934 T:1772090272  NOTICE: Closing audio device
19:14:48 225.322174 T:1772090272  NOTICE: Deleting audio codec
19:14:48 225.322464 T:1772090272  NOTICE: Closing stream player 2
19:14:48 225.322571 T:1772090272  NOTICE: waiting for video thread to exit
19:14:48 225.322952 T:1601172384  NOTICE: thread end: video_thread
19:14:48 225.325119 T:1772090272  NOTICE: deleting video codec
19:14:48 225.327591 T:1962049536  NOTICE: VideoPlayer: finished waiting
19:14:48 225.328003 T:1962049536  NOTICE: VideoPlayer: Opening: smb://SERVER/media/video.sonstiges/sample_dvsd.avi
19:14:48 225.329559 T:1772090272  NOTICE: Creating InputStream
19:14:48 225.352615 T:1772090272  NOTICE: Creating Demuxer
19:14:48 225.425018 T:1772090272  NOTICE: Opening stream: 0 source: 256
19:14:48 225.425430 T:1772090272  NOTICE: Creating video codec with codec id: 25
19:14:48 225.425598 T:1772090272   ERROR: CMMALVideo::Open : Video codec unknown: 19
19:14:48 225.425735 T:1772090272  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: DV (Digital Video)
19:14:48 225.426758 T:1772090272  NOTICE: Creating video thread
19:14:48 225.427078 T:1772090272  NOTICE: Opening stream: 1 source: 256
19:14:48 225.427185 T:1601172384  NOTICE: running thread: video_thread
19:14:48 225.427292 T:1772090272  NOTICE: Finding audio codec for: 65536
19:14:48 225.427719 T:1772090272  NOTICE: Creating audio thread
19:14:48 225.428085 T:1573905312  NOTICE: running thread: CVideoPlayerAudio::Process()
19:14:48 225.430435 T:1772090272  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
19:14:48 225.430847 T:1573905312  NOTICE: Previous line repeats 4 times.
19:14:48 225.430954 T:1573905312  NOTICE: Creating audio stream (codec id: 65536, channels: 2, sample rate: 48000, no pass-through)
19:14:48 225.570221 T:1962049536   ERROR: CMMALRenderer::Configure - format:1 not supported
19:14:48 225.570663 T:1601172384 WARNING: CRenderManager::Configure - failed to configure
19:14:48 225.570923 T:1601172384   ERROR: OutputPicture - failed to configure renderer
19:14:54 231.700272 T:1962049536  NOTICE: CVideoPlayer::CloseFile()
19:14:54 231.700485 T:1962049536  NOTICE: VideoPlayer: waiting for threads to exit
19:14:54 231.706345 T:1772090272  NOTICE: CVideoPlayer::OnExit()
19:14:54 231.706497 T:1772090272  NOTICE: Closing stream player 1
19:14:54 231.706573 T:1772090272  NOTICE: Waiting for audio thread to exit
19:14:54 231.724594 T:1573905312  NOTICE: thread end: CVideoPlayerAudio::OnExit()
19:14:54 231.726761 T:1772090272  NOTICE: Closing audio device
19:14:54 232.002762 T:1772090272  NOTICE: Deleting audio codec
19:14:54 232.003036 T:1772090272  NOTICE: Closing stream player 2
19:14:54 232.003128 T:1772090272  NOTICE: waiting for video thread to exit
19:14:54 232.003326 T:1601172384  NOTICE: thread end: video_thread
19:14:54 232.007584 T:1772090272  NOTICE: deleting video codec
19:14:54 232.011642 T:1962049536  NOTICE: VideoPlayer: finished waiting
19:14:54 232.030838 T:1962049536  NOTICE: CVideoPlayer::CloseFile()
19:14:54 232.031036 T:1962049536  NOTICE: VideoPlayer: waiting for threads to exit
19:14:54 232.031128 T:1962049536  NOTICE: VideoPlayer: finished waiting
19:14:54 232.031235 T:1962049536  NOTICE: CVideoPlayer::CloseFile()
19:14:54 232.031326 T:1962049536  NOTICE: VideoPlayer: waiting for threads to exit
19:14:54 232.031387 T:1962049536  NOTICE: VideoPlayer: finished waiting

EDIT: Even a type1-AVI with dvsd (which was the most common format) doesn't work.
(2016-07-15, 19:48)bubi Wrote: Any ideas which code is relevant here and where I could take a further look at?

Sorry - I did some investigation, but didn't reply.

The issue with this codec is it doesn't call the GetFormats callback which is what enables the MMAL zero copy codec.

It should be fixable, but it needs some thought.
(2016-07-15, 19:09)popcornmix Wrote: I guess there is some race here, and CRenderSystemGLES::InitialiseGUIShader hasn't been called yet.

Yes, that's a shame. I'll see if I can reproduce - looks like it's upgrading the Addons database - but not really sure how or if this will be easy to fix.
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.
popcornmix> Sorry - I did some investigation, but didn't reply.

Not a problem! Thank you very much for looking into this!

popcornmix> The issue with this codec is it doesn't call the GetFormats callback which is what enables the MMAL zero copy codec.

Interesting. I unfortunately don't know much of MMAL, so I'm not able to help at this point.
I have got some other samples, though (I think even an NTSC one somewhere) if you need it.
This DV-video was all interlaced and bff, btw, if this helps to initialize some variables. Big Grin

popcornmix> It should be fixable, but it needs some thought.

Ok! Trying to be patient.... Smile
(2016-07-15, 17:03)start78 Wrote: Is there a way to enable transcoding in tvheadend 4.2? Some streams have a far too high bandwidth to watch them over wifi on a mobile. Could a RasPi 3 be powerful enough (or even be capable of hardware encoding) to transcode DVB-S (and DVB-S2!) streams?
http://lmgtfy.com/?q=Pi3+tvheadend+transcoding&l=1

Not a thread appropriate question.
(2016-07-15, 20:58)f1vefour Wrote:
(2016-07-15, 17:03)start78 Wrote: Is there a way to enable transcoding in tvheadend 4.2? Some streams have a far too high bandwidth to watch them over wifi on a mobile. Could a RasPi 3 be powerful enough (or even be capable of hardware encoding) to transcode DVB-S (and DVB-S2!) streams?
http://lmgtfy.com/?q=Pi3+tvheadend+transcoding&l=1

Not a thread appropriate question.

Should have mentioned that i already did a google search but that the only option seems to be to compile tvheadend myself (which i don't know how to do over ssh in libreelec) and even then hardware encoding doesn't seem to work:
https://tvheadend.org/boards/5/topics/13892
But this thread is over a year old.

My question was more if i missed something and if there is already an option in the newest version of tvheadend (for this librelec alpha) that just needs to be enabled.
(2016-07-15, 21:11)start78 Wrote:
(2016-07-15, 20:58)f1vefour Wrote:
(2016-07-15, 17:03)start78 Wrote: Is there a way to enable transcoding in tvheadend 4.2? Some streams have a far too high bandwidth to watch them over wifi on a mobile. Could a RasPi 3 be powerful enough (or even be capable of hardware encoding) to transcode DVB-S (and DVB-S2!) streams?
http://lmgtfy.com/?q=Pi3+tvheadend+transcoding&l=1

Not a thread appropriate question.

Should have mentioned that i already did a google search but that the only option seems to be to compile tvheadend myself (which i don't know how to do over ssh in libreelec) and even then hardware encoding doesn't seem to work:
https://tvheadend.org/boards/5/topics/13892
But this thread is over a year old.

My question was more if i missed something and if there is already an option in the newest version of tvheadend (for this librelec alpha) that just needs to be enabled.
It can be a pain to build, especially when enabling encoding. You could use the hardware h264 assist in ffmpeg to get pretty good conversion speed but not realtime. Perhaps mmal or OM IL could do better.

You could also try creating a custom run script after a recording finishes, tvheadend has this function.
New LibreELEC.tv Krypton build #0715: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.0-rc7 #1 Fri Jul 15 21:41:37 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jul 15 2016 17:54:00
Copyright (c) 2012 Broadcom
version efa728fef77ea14ceb1500caf0146395fa282a0f (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160715213952-#0715-gde6f79d [Build #0715]

# vcdbg log msg 2>&1 | grep DTOK
002385.997: Kernel trailer DTOK property says yes

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (de6f79d0, changelog) and tip of XBMC master (80095b65, changelog) with the following modifications:
  • Includes newclock5 patches
  • Excludes the LibreELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.7.y
  • Includes latest bcm2835-driver master (051aed71, ahead +8)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (fac3a954, ahead +34)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: adsp.basic (2ae604e5), adsp.biquad.filters (5849a194, +7), adsp.freesurround (34f50406), asplib (da66f517), inputstream.mpd (aad30ba0, +13), inputstream.rtmp (7bf2298e), inputstream.smoothstream (31e7afef, +3), peripheral.joystick (6090a90e, +1), pvr.argustv (e536f32e), pvr.demo (01c68c88), pvr.dvblink (0bf16840, +1), pvr.dvbviewer (35902f5d), pvr.filmon (efd379b8), pvr.hdhomerun (a71e816d), pvr.hts (856e72a4, +1), pvr.iptvsimple (1ea1f36e), pvr.mediaportal.tvserver (3ba23b7b, +1), pvr.mythtv (1bcf081a, +5), pvr.nextpvr (ecbd6e5c, +1), pvr.njoy (b5d65655), pvr.pctv (12d8baf1), pvr.stalker (415aa54b, +3), pvr.vbox (36d3717b, +1), pvr.vdr.vnsi (d7bc89eb, +5), pvr.vuplus (d7f5685a, +1), pvr.wmc (1f3240da, +1)
  • Include [env] e7cbe9cb: xf86-video-intel: Explicitely disable TearFree and TripleBuffer
  • Include [env] ed774729: Intel: Implement Passthrough-Range
  • Include [env] 98c65e6a: Kodi: Use Limited Range by default
  • Include [env] patch: Enable other binary addons
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: Enable pvr and adsp addons
  • Include [env] patch: Install libbrcmEGL/libbrcmGLESv2 shared libraries, with sym links for backward compatability
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.*, os.* and peripheral.*
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: ffmpeg: bump 3.1.1
  • Include [env] PR:481: linux: Update to 4.7 (WIP)
  • Include [env] PR:526: Cpu temperature readings for devices with aml_thermal interface
  • Include [env] PR:535: init: Add upgrade check to avoid incompatible upgrades [RFC,WIP]
  • Include [env] PR:537: kodi: database migration splash text
  • Include [env] PR:543: xf86-video-nvidia: update to 367.35
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] patch: drm/i915: Extend Fake HDMI live status to Valley View (linux)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • Include [pkg] PR:8645: [video] Add season/TV show artwork to episodes/seasons even if they have their own fanart.
  • Include [pkg] PR:8824: videodb: fix smart playlists not honoring "Show empty TV shows" setting.
  • Include [pkg] PR:8922: [guiinfo] extend ranges for listitem properties
  • Include [pkg] PR:9803: [PeripheralCecAdapter] fix playback stopping on screensaver deactivated
Build Highlights:
  1. New firmware
  2. Updated deinterlace commits in newclock5 - please report regressions:
    popcornmix Wrote:Today's update has a fairly big change to where deinterlacing is handled.

    There may be regressions, so update with caution.

    Previously we deinterlaced inside the hardware decoder. This has a few downsides:
    • It doesn't work with software decoded video (e.g. MPEG-2 without a codec licence)
    • The deinterlacer stops aspect ratio changes from being reported by decoder meaning they are missed when they occur mid-stream
    • Enabling/disabling deinterlace adjusts the framerate Kodi's rendererer sees, and it takes a number of seconds to lock back on. This can cause issues with dropping/stuttering.
    • Interlaced content drives Kodi's GUI loop at a higher rate which increases CPU.
    So the new scheme handles deinterlace in the mmal renderer, meaning kodi is unaware of the change in framerate. This also allows the higher quality gpu deinterlace to work with software decode.

    Note: currently the codec info overlay won't report deinterlace state or the increased deinterlace framerate (this will come).
  3. Updated database migration message to avoid crashing during Addons*.db migration
Build Details:
  1. Firmware (Jul 15):
    • firmware: video_render: Ensure image structure is initialised
    • firmware: image_fx: Add assert to fatal error code path
  2. LibreELEC.tv:
    • lirc: re-add patch to support additional keys (PR:542, 1 commit, 1 file changed)
  3. XBMC:
    • [fix][tests] Missed this one (PR:10113, 1 commit, 1 file changed)
    • [win32] Improve installer and add appxmanifest (PR:10110, 1 commit, 3 files changed)
    • [fix] revert commit c9884248b729709450087f05dd8449e794253a6 utils/Var… (PR:10116, 1 commit, 1 file changed)
    • [win32] update AppVeyor with ffmpeg 3.1.1 (fbae963d)
  4. inputstream.smoothstream:
    • disable stream after last segment (31e7afef)
  5. peripheral.joystick:
    • [cocoa] Fix compiler warning: missing override keyword (6090a90e)
  6. newclock5:
    • New commits in this build:
      • mmalrender: More verbose logging (d61115c0)
      • mmalcodec: Remove deinterlace support (e869d12c)
      • mmalrender: Add deinterlace support (138692f4)
      • mmalrender: Avoid accessing port that may have been destroyed (50103c46)
    • Updated commits in this build:
    • Commits no longer in build:
      • mmal: Move pool creation to open (2a731519)
  7. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:543: xf86-video-nvidia: update to 367.35
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.
I'll just add that the deinterlace changes don't affect omxplayer - that should be unchanged.

I've spotted an issue where sd deinterlace may not get the double rate output when "sync playback to display" is enabled. Disabling that options avoid this.
HD deinterlace doesn't suffer from this (it occurs when deinterlace runs too fast and both frames are displayed in the same vsync).

If you use deinterlace please report back. Even if it is "everything is okay".
Hauppauge 45 button remote on RPi 1 B. Build #0714.

The "Guide" key used to be Context Menu, now irw sees no signal, irrecord sees it, no matter what I name it or map it it does nothing. Same with the "i" (menu) key. Same with the color keys.

I still need to rename channelup and channeldown to pageup and pagedown. And OK to Enter. Or, remap them worked too.
I had a key re mapped with "keymap editor" in build 714. updated to 715; it does not want to read the .xml file on boot, however reset the xml and remap the keys and it works now. Different gen.xml file same content.
  •   
  • 1
  • 89
  • 90
  • 91(current)
  • 92
  • 93
  • 218
  •   
  Thread Closed
 
Thread Rating:
  • 19 Vote(s) - 4.63 Average



Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)4.6319