Kodi Community Forum

Full Version: LibreELEC Testbuilds for x86_64 (Kodi 17.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2016-09-11, 03:06)watanave Wrote: [ -> ]Hello,

Maybe something has changed with AE audio system. I have DTS flacs music that my receiver played with no problem, but with 909 I only ear static sound when I play those files. The volume in Kodi is at max.

Sorry, no logs availables at this moment.

Thanks.

PR10440 would be the most likely cause in #0909. Please confirm that your files play normally in #0908, but are broken in #0909. Are you able to provide a sample file (or link to a sample file)?
Thanks, Milhouse.

Version #0908 does not play the DTS flac encoded music, but I went back to #0907 and that version did play it correctly.

This is the file that I used for test: https://drive.google.com/file/d/0B1hx8qB...sp=sharing

Thanks for your work.
Please also post a Debug Log - the commit identifed does absolutely nothing for DTS, it changes the AC3Syncer method. So - do you use transcoding?

Edit: A working one and a non working one, please. I just tried to get it running on my systems and with no version I get our PT parser involved (with or without the patch you assumed) - so I really wonder how that worked before.

Whatever is in there it's certainly not standard. I get the same noise with mpv/vlc/mplayer and totem - I heavily doubt it ever worked.
(2016-09-11, 00:55)Milhouse Wrote: [ -> ]@Boulder can you test the subtitle issue with stock Estuary?
I did test that too and it didn't work either - do you need a debug log from that case?
(2016-09-11, 05:03)watanave Wrote: [ -> ]Thanks, Milhouse.

Version #0908 does not play the DTS flac encoded music, but I went back to #0907 and that version did play it correctly.

This is the file that I used for test: https://drive.google.com/file/d/0B1hx8qB...sp=sharing

Thanks for your work.

I'm just testing your file with a Revo3700 (ION2) and #0910, and it's playing DTS (passthrough enabled) without a problem, streaming over smb://.

Can you describe your Kodi client hardware? In addition tot the AE changes in #0908, there is the amdgpu driver update so if your GPU is AMD-based perhaps the updated driver has buggered it.
(2016-09-11, 10:54)Boulder Wrote: [ -> ]
(2016-09-11, 00:55)Milhouse Wrote: [ -> ]@Boulder can you test the subtitle issue with stock Estuary?
I did test that too and it didn't work either - do you need a debug log from that case?

No it doesn't appear to be logging anything useful, I had sort of hoped there might be a database error but that's not visible. I'll have a play later but so far I'm not able to reproduce.
(2016-09-11, 19:40)Milhouse Wrote: [ -> ]
(2016-09-11, 05:03)watanave Wrote: [ -> ]Thanks, Milhouse.

Version #0908 does not play the DTS flac encoded music, but I went back to #0907 and that version did play it correctly.

This is the file that I used for test: https://drive.google.com/file/d/0B1hx8qB...sp=sharing

Thanks for your work.

I'm just testing your file with a Revo3700 (ION2) and #0910, and it's playing DTS (passthrough enabled) without a problem, streaming over smb://.

Can you describe your Kodi client hardware? In addition tot the AE changes in #0908, there is the amdgpu driver update so if your GPU is AMD-based perhaps the updated driver has buggered it.

No shit? For me it does not work neither on any sw player I have nor does kodi's passthrough code is ever called :-(

Edit: What happens on your NUC if you disable passthrough?
Yes, it's playing into my Onkyo TX-NR828 via HDMI. I dropped the FLAC file amongst my music files, navigated to it using Music > Files, and it's playing. Not entirely sure what Kodi thinks it's playing as I have no codec info, but here's the debug log. My amp says it's paying DTS, and it sounds OK (if you like the Carpenters). Smile

Edit: So apparently this flac file is a DTS-encoded audio stream with WAV (PCM) headers - Kodi thinks it's playing a WAV, the AVR "sees" a DTS stream (as long as the volume is at 100% in Kodi, otherwise the bits sent from Kodi to the amp are totally decimated and the amp "sees" garbage). This file plays as a DTS on my ION2 with #0910, but the file produces static on the Skylake NUC with #0908+. PR10435 is the cause of the breakage on the NUC - reverting this restores DTS-as-a-WAV playback. Presumably with PR10435, the audio stream sent by the NUC from Kodi to the amp is no longer bit-perfect.
Quote:ffprobe version n3.1-12-g67171c3-VERSION=3.0.1-Krypton-alpha Copyright © 2007-2016 the FFmpeg developers
built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
configuration: --prefix=/opt/ffmpeg --extra-version='VERSION=3.0.1-Krypton-alpha' --disable-devices --enable-ffplay --disable-ffmpeg --disable-ffserver --disable-doc --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-protocol=http --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis --enable-nonfree --enable-pthreads --enable-zlib --enable-encoder=png --enable-encoder=mjpeg --disable-mipsdsp --disable-mipsdspr2 --enable-nonfree
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, flac, from '20 - (They long to be) close to you.flac':
Metadata:
ALBUM ARTIST : Carpenters
PUBLISHER : A&M
COMPOSER : Karen Carpenter
TITLE : (They Long to Be) Close to You (5.1 mix)
RELEASECOUNTRY : US
TOTALDISCS : 2
LABEL : A&M Records
TOTALTRACKS : 21
MUSICBRAINZ_ALBUMARTISTID: 4580d83b-093e-4241-91fb-2dd71f5f1f3f
DATE : 2005-01-11
disc : 2
TRACKTOTAL : 21
MUSICBRAINZ_RELEASETRACKID: d763e107-6198-4651-8353-b4fec1c5459e
ASIN : B00067Z2VY
ALBUMARTISTSORT : Carpenters
ORIGINALDATE : 1999
SCRIPT : Latn
MUSICBRAINZ_ALBUMID: de1dde00-f745-432c-9a1f-a0fca2a862ae
RELEASESTATUS : official
album_artist : Carpenters
CATALOGNUMBER : B0002996-36
ALBUM : Singles 1969-1981
MUSICBRAINZ_ARTISTID: 4580d83b-093e-4241-91fb-2dd71f5f1f3f
MEDIA : Hybrid SACD
RELEASETYPE : album;compilation
ORIGINALYEAR : 1999
ARTIST : Carpenters
MUSICBRAINZ_RELEASEGROUPID: 8e667fb5-c32f-356f-b38e-ec06db32f522
DISCTOTAL : 2
BARCODE : 602498630624
MUSICBRAINZ_TRACKID: 1ab22e50-3cc9-43f0-9d69-40123d6e3598
ARTISTSORT : Carpenters
ARTISTS : Carpenters
track : 20
DISCSUBTITLE : 5.1 mixes
Duration: 00:03:43.00, start: 0.000000, bitrate: 1264 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x494 [SAR 1:1 DAR 250:247], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)

See: ffmpeg detects 44.1 khz stereo s16 - it has no idea about that being DTS - so if your AVR "likes" it it works. The moment Audio Engine uses 32 bit format for it -> forget it.
@Milhouse:

Pure luck:
Quote:19:10:31 21.890268 T:140664189466368 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
19:10:31 21.890299 T:140664189466368 DEBUG: Output Device : HDA NVidia
19:10:31 21.890331 T:140664189466368 DEBUG: Sample Rate : 44100
19:10:31 21.890360 T:140664189466368 DEBUG: Sample Format : AE_FMT_S32NE
19:10:31 21.890390 T:140664189466368 DEBUG: Channel Count : 2
19:10:31 21.890421 T:140664189466368 DEBUG: Channel Layout: FL,FR
19:10:31 21.890451 T:140664189466368 DEBUG: Frames : 464
19:10:31 21.890482 T:140664189466368 DEBUG: Frame Size : 8

Your AVR interprets it from the 32 bit format ... funny.

@OP: Is there any player (not kodi) that can play this file?
(2016-09-11, 19:40)Milhouse Wrote: [ -> ]
(2016-09-11, 05:03)watanave Wrote: [ -> ]Thanks, Milhouse.

Version #0908 does not play the DTS flac encoded music, but I went back to #0907 and that version did play it correctly.

This is the file that I used for test: https://drive.google.com/file/d/0B1hx8qB...sp=sharing

Thanks for your work.

I'm just testing your file with a Revo3700 (ION2) and #0910, and it's playing DTS (passthrough enabled) without a problem, streaming over smb://.

Can you describe your Kodi client hardware? In addition tot the AE changes in #0908, there is the amdgpu driver update so if your GPU is AMD-based perhaps the updated driver has buggered it.
Milhouse,

This is a debug log with #0910 http://sprunge.us/VZIK

Thanks for your help and work.

Edit: It plays correctly with #0907.

Enviado desde mi Nexus 7 mediante Tapatalk
New LibreELEC.tv Krypton build #0911: Generic
(Supercedes previous build)

Code:
# uname -a
Linux NUC 4.7.3 #1 SMP Sun Sep 11 21:18:38 BST 2016 x86_64 GNU/Linux

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160911211547-#0911-g04b7a18 [Build #0911]

Based on tip of LibreELEC.tv master (04b7a18a, changelog) and tip of XBMC master (feec0abf, changelog) with the following modifications:
  • Includes FernetMenta "VideoPlayer" patches
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (62b8520c, ahead +15)
  • Includes latest libnfs master (fac3a954, ahead +34)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: inputstream.mpd (508792f1, +5), inputstream.rtmp (91bb3741, +5), inputstream.smoothstream (90b07cdc, +1), peripheral.joystick (9e88033b, +33), pvr.argustv (299088b5), pvr.demo (01c68c88), pvr.dvblink (ea3d98cc), pvr.dvbviewer (f72c62ff), pvr.filmon (675c2b4e), pvr.hdhomerun (eef1bd15), pvr.hts (48b2e261), pvr.iptvsimple (a4c52558), pvr.mediaportal.tvserver (3c39bd0c, +7), pvr.mythtv (b1b426f3), pvr.nextpvr (4dabcf41), pvr.njoy (b5d65655), pvr.pctv (d6d969fe), pvr.stalker (7df63b24, +12), pvr.vbox (2750c92a), pvr.vdr.vnsi (da5fdd5a, +1), pvr.vuplus (7ab30d34), pvr.wmc (d9eac84f)
  • Includes commits from xbmc/master, ahead +1 (FernetMenta)
  • Exclude [env] kodi-999.99-PR10309.patch: Merged upstream
  • Exclude [env] kodi-999.99-Revert-PR10247.patch: Not required
  • Exclude [env] libcec-PR208.patch: Merged upstream
  • Include [env] 868099f1: linux: Enable ChromeOS laptop hardware support
  • Include [env] patch: Add kodi binary addons (pvr, adsp, other)
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: ffmpeg: Bump to 3.1.3-Krypton-Beta3 (e9002c3)
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: xf86-video-amdgpu: bump to latest master 6a1ba04, updated Polaris 10 & 11 support
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] 441217d8: logging: Add microsecond timer to log messages (kodi)
  • Include [pkg] patch: drm/i915: Fixes and diagnostics for Braswell (linux)
  • Include [pkg] patch: peripheral.joystick: Disable udev and see if stability improves (peripheral.joystick)
  • Include [pkg] patch: drm/i915: Fix backwards test in Chris Wilson patch (link) (linux)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • Include [pkg] patch: drm/i915: Limit the depth of the display pipeline to the framebuffer (linux)
  • 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:10370: Add settings to control notification rumble duration and strength
  • Include [pkg] PR:10444: [AddonInstaller] - 1 year and 8 month after the last recursion fix fr¦
  • Include [pkg] PR:10445: require click action to activate slider controls
Build Highlights:
  1. Minors
Build Details:
  1. LibreELEC.tv:
    • scripts/unpack: clean unpatched packages (PR:722, 1 commit, 1 file changed)
  2. XBMC:
    • AESinkAudioTrack: Track wraparound (PR:10431, 1 commit, 2 files changed)
    • [Estuary] bugfixes (PR:10442, 11 commits, 23 files changed)
    • [cmake] linux: the kodi wrapper script is arch dependent (PR:10449, 1 commit, 1 file changed)
    • [skin] Don't include the themes folder in final copy as it's packaged… (PR:10452, 1 commit, 1 file changed)
    • [cmake] Fix skin packaging for windows (PR:10454, 1 commit, 1 file changed)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] 868099f1: linux: Enable ChromeOS laptop hardware support
(2016-09-11, 20:33)watanave Wrote: [ -> ]This is a debug log with #0910 http://sprunge.us/VZIK

Thanks for your help and work.

Edit: It plays correctly with #0907.

Enviado desde mi Nexus 7 mediante Tapatalk

Thanks, we know what the issue is now. We need to avoid setting swr_set_compensation when playing music, as this makes bit-perfect output impossible, which is highly desirable when playing music (not so much with video etc., when syncing audio with video is usually more important). I'm sure there'll be a fix soon.
(2016-09-11, 22:59)Milhouse Wrote: [ -> ]
(2016-09-11, 20:33)watanave Wrote: [ -> ]This is a debug log with #0910 http://sprunge.us/VZIK

Thanks for your help and work.

Edit: It plays correctly with #0907.

Enviado desde mi Nexus 7 mediante Tapatalk

Thanks, we know what the issue is now. We need to avoid setting swr_set_compensation when playing music, as this makes bit-perfect output impossible, which is highly desirable when playing music (not so much with video etc., when syncing audio with video is usually more important). I'm sure there'll be a fix soon.
Good to know. Thanks again for your work.

Enviado desde mi Nexus 7 mediante Tapatalk
(2016-09-11, 07:24)fritsch Wrote: [ -> ]Please also post a Debug Log - the commit identifed does absolutely nothing for DTS, it changes the AC3Syncer method. So - do you use transcoding?

Edit: A working one and a non working one, please. I just tried to get it running on my systems and with no version I get our PT parser involved (with or without the patch you assumed) - so I really wonder how that worked before.

Whatever is in there it's certainly not standard. I get the same noise with mpv/vlc/mplayer and totem - I heavily doubt it ever worked.

FYI It plays fine with Foobar with the dts component installed and indicates a 6-ch file format.

B.