Using the Roku Stream Tester, I'm trying to play an HLS playlist using the Fragmented MP4 segment format.
I've tried every combination of h.264/AVC and h.265/HEVC with AAC, AC3, and MP3 audio. No matter how it's done, the audio does not play on the Roku Ultra.
In the Stream Tester's debug info, it says that there is no audio stream, i.e. "Audio Format: None"
Meanwhile, VLC can play the stream with audio flawlessly.
Here's the ffmpeg command line being used to create the playlist:
ffmpeg -t 10 -i source.mov -c:v libx264 -preset faster -c:a aac -ac 1 -ar 48000 -b:a 128k -g 48 -hls_time 4 -hls_playlist_type vod -hls_segment_type fmp4 master.m3u8
The problem seems to happen consistently, regardless of source file.
I know it's not a bug in the Stream Tester because the issue was first reported in our Roku app.
The problem does not happen in playlists using MPEG-TS segments. However, we need to use h.265 for 4K formats, which leaves us only with fragmented MP4 playlists. The Roku does seem to support it; it has no problem playing the video stream.