Jursi wrote: 
> Thank you guys!
> 
> Good to hear that the stream is working for you.
> 
> Here is log of player.source (debug). I hope it helps.
> 
> Thank you in advance.

OK I've looked at the log.  Plugin looks to be installed OK.  Below is
the important bit

Code:
--------------------
    
  [19-04-24 01:51:49.2567] Slim::Player::Song::open (559) Tokenized command: 
"/usr/local/bin/ffmpeg" -loglevel quiet -i 
"http://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master.m3u8"; -f 
flac - & |
  [19-04-24 01:51:49.2799] Slim::Player::SongStreamController::new (31) live=1
  [19-04-24 01:51:49.2825] Slim::Player::StreamingController::_Stream (1271) 
b8:27:eb:0c:4d:f2: stream
  [19-04-24 01:51:49.2912] Slim::Player::StreamingController::_Stream (1271) 
b8:27:eb:78:5f:9b: stream
  [19-04-24 01:51:49.2992] Slim::Player::StreamingController::_Stream (1271) 
b8:27:eb:6d:42:ce: stream
  [19-04-24 01:51:49.3056] Slim::Player::StreamingController::_Stream (1271) 
aa:aa:ca:4c:fe:c9: stream
  [19-04-24 01:51:49.3125] Slim::Player::StreamingController::_Stream (1271) 
aa:aa:fc:da:d5:58: stream
  [19-04-24 01:51:49.3191] Slim::Player::StreamingController::_Stream (1308) 
Song queue is now 0
  [19-04-24 01:51:49.3200] Slim::Player::StreamingController::_setPlayingState 
(2363) new playing state BUFFERING
  [19-04-24 01:51:49.3205] 
Slim::Player::StreamingController::_setStreamingState (2372) new streaming 
state STREAMING
  [19-04-24 01:51:49.3211] Slim::Player::StreamingController::_eventAction 
(303) b8:27:eb:0c:4d:f2: NextTrackReady - new state BUFFERING-STREAMING
  [19-04-24 01:51:49.3403] Slim::Player::Source::_readNextChunk (350) Read to 
end of file or pipe
  [19-04-24 01:51:49.3408] Slim::Player::Source::_readNextChunk (373) end of 
file or error on socket, song pos: 226536465
  
--------------------


Do not test with synced players and players which are bridges (e.g.
UPNP, Airplay or Chromecast) -  these can complicate tests.

Log shows ffmpeg has been executed with the correct parameters but the
"end of file" usually means no output from transcoding. The usual causes
are
1. LMS userid does not have permission to run ffmpeg.
2. ffmpeg does not run properly o the system
3. ffmpeg build is missing HLS support.

Check permission of ffmpeg using "ls" command (e.g. "ls -l
/usr/local/bin/ffmpeg" ) - unlikely cause since LMS has already found
the executable but good to check.

>From a shell prompt can you run the following command and does it
produce a banner.

Code:
--------------------
    
  /usr/local/bin/ffmpeg
  
--------------------

Banner like 

Code:
--------------------
    
  ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg 
developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping 
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa 
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca 
--enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame 
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus 
--enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal 
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-lib
 drm --enable-libiec61883 --enable-chromaprint --enable-frei0r 
--enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
  
--------------------


What version of ffmpeg have you got ?

To check whether ffmpeg has HLS support try the following command

Code:
--------------------
    
  /usr/local/bin/ffmpeg -demuxers
  
--------------------

List will shoot up the screen so might have to use "less" if no
scrollback.

In the alphabetical list look for "hls,applehttp" - a fragment of
expected list below 

Code:
--------------------
    
  .
  .
  D  gsm             raw GSM
  D  gxf             GXF (General eXchange Format)
  D  h261            raw H.261
  D  h263            raw H.263
  D  h264            raw H.264 video
  D  hevc            raw HEVC video
  D  hls,applehttp   Apple HTTP Live Streaming
  D  hnm             Cryo HNM v4
  D  ico             Microsoft Windows ICO
  D  idcin           id Cinematic
  D  idf             iCE Draw File
  D  iec61883        libiec61883 (new DV1394) A/V
  .
  .
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to