To play m3u8 (aka HLS) streams, you need a support application to handle
the hls "protocol". Below is a workaround for Ubuntu using ffmpeg. Not
all m3u8 streams are playable by ffmepg and I haven't tested the PCM or
MP3 transcoding.
1. Install a version ffmpeg which can play you m3u8 stream
2. Create the 3 custom files (make sure you have tabs in the right
places) and save in your squeebozserver directory which has
conbvert.conf and types.conf files.
3. Restart LMS.
custom-convert.conf
Code:
--------------------
hls mp3 * *
# RB:{BITRATE=-B %B}
[ffmpeg] -loglevel quiet -i $FILE$ -f wav -ar 44100 -ac 2 - | [lame]
--silent -q $QUALITY$ $BITRATE$ - -
hls pcm * *
# RB:{BITRATE=-B %B}
[ffmpeg] -loglevel quiet -i $FILE$ -f u16le -ar 44100 -ac 2 -
hls flc * *
# RB:{BITRATE=-B %B}
[ffmpeg] -loglevel quiet -i $FILE$ -f flac -ar 44100 -ac 2 -
--------------------
custom-types.conf
Code:
--------------------
#########################################################################
#ID Suffix Mime Content-Type Server File Type#
#########################################################################
hls m3u8 application/vnd.apple.mpegurl
audio
--------------------
custom-strings.txt
Code:
--------------------
# String file
HLS
EN Apple HLS m3u8
--------------------
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=102289
_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch