kidhazy wrote:
> Cheers.
>
> Yes, I'm still trawling the web to see what might be causing ffmpeg to
> not play the streams (given they were working last year - but the
> underlying streams could not be implemented differently).
>
> LMS is on Windows 10.
>
> I tested using the following mplayer
>
> MPlayer Redxii-SVN-r38117-6.2.0 (i686) (C) 2000-2018 MPlayer Team
> Using FFmpeg N-92461-gd3621b2321 (2018-11-17 18:06:58 +0100)
> Compiled on 2018-11-17 20:04:15 EST (rev. 1)
>
> The command I used was: mplayer -really-quiet
> "http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_12/playlist.m3u8"
> This would play the audio straight away without any screen output. Not
> sure how you'd stream that through to LMS though.
>
> Just tried with ffmpeg V4.1.1 and same issue.
>
> I'll keep testing with ffmpeg.
>
> Thanks.
To get mplayer to output headerless pcm (which has to be 44.1Khz 2
channel for LMS so resample may be necessary) the command is roughly as
follows
mplayer -really-quiet -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=testoutput.pcm $FILE$
Problem is output needs to be fed into a pipe for LMS - so you need a
support script to create a pipe - this is just about OK on linux - a lot
messier on Windows. The zombie part was the worst - you end with lots
of mplayer processes hanging around.
Below is verbose log fromffmpeg - the error is detected very quickly at
chunklist.m3u8 - I wonder whethe the Icy-Metadata value of 1 is the
problem. It is a nonsense value - implies metadata after every single
byte of audio !
Code:
--------------------
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument
'http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/chunklist.m3u8'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'flac'.
Reading option 'testoutput.flac' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url
http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/chunklist.m3u8.
Successfully parsed a group of options.
Opening an input file:
http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/chunklist.m3u8.
[NULL @ 0x561b0bbdc8c0] Opening
'http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/chunklist.m3u8'
for reading
[http @ 0x561b0bbdd280] Setting default whitelist
'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x561b0bbdd280] request: GET /afllive/aflradio_5/chunklist.m3u8
HTTP/1.1
User-Agent: Lavf/57.83.100
Accept: */*
Range: bytes=0-
Connection: close
Host: aflliveradiohls348.ngcdn.telstra.com
Icy-MetaData: 1
[AVIOContext @ 0x561b0bbe9100] Statistics: 7 bytes read, 0 seeks
http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/chunklist.m3u8:
Invalid data found when processing input
--------------------
------------------------------------------------------------------------
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