Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
msauer2000
Level 7

Audio only stream HLS stream issue

We have an encoder that is creating an audio only HLS stream for streaming live radio. The stream has played great on the roku platform up to about a week ago.

Now when we try to play the stream, we are getting the error in the log:
http connect: http://server/hls/a14_13_3342687.ts
http method: GET status: ok
http code: 200
roVideoPlayerEvent, 11, 0: Media format cannot be determined.
Unexpected event type: 11
roVideoPlayerEvent, 9,-5:
play failed:

here is the playlist (I have changed the actual server name for security).

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:3343032

#EXTINF:10,
http://server/hls/a14_13_3343032.ts
#EXTINF:10,
http://server/hls/a14_13_3343033.ts
#EXTINF:10,
http://server/hls/a14_13_3343034.ts
#EXTINF:10,
http://server/hls/a14_13_3343035.ts
#EXTINF:10,
http://server/hls/a14_13_3343036.ts
#EXTINF:10,
http://server/hls/a14_13_3343037.ts
#EXTINF:10,
http://server/hls/a14_13_3343038.ts
#EXTINF:10,
http://server/hls/a14_13_3343039.ts


The ts files contain aac audio only, here is the output from ffmpeg -i on one:


ffmpeg -i a14_13_3343039.ts
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jan 24 2013 19:42:59, gcc: 4.4.3
Input #0, mpegts, from 'a14_13_3343039.ts':
Duration: 00:00:09.96, start: 43690.541811, bitrate: 190 kb/s
Program 1
Stream #0.0[0x40]: Audio: aac, 48000 Hz, stereo, s16, 121 kb/s
At least one output file must be specified

Any help on this issue would be appreciated.
0 Kudos
5 Replies
RokuShawnS
Level 10

Re: Audio only stream HLS stream issue

viewtopic.php?f=34&t=82641

C. Shawn Smith
C. Shawn Smith
Community Liaison

------------
The Cosmos is all that is, and all that was, and ever will be. -- Carl Sagan
0 Kudos
Highlighted
Roku Employee
Roku Employee

Re: Audio only stream HLS stream issue

If that doesn't resolve it, let us know, there appears to be another bug relating to audio only HLS streams that is affecting some channels, I don't believe we have tracked down the cause yet. If you want, send me a private message with the URL of the stream that is not working.

- Joel
0 Kudos
msauer2000
Level 7

Re: Audio only stream HLS stream issue

The idea did not help. I actually use a variant playlist already for my streams. I have private messaged you a link to our streams - which used to work, but stopped recently.
0 Kudos
msauer2000
Level 7

Re: Audio only stream HLS stream issue

We are still having this problem. Is there anyway we can get further help? Before the recent update, we had no problems at all playing this Audio only HLS streams. But they are not working now. Since we control the encoders, if there is something wrong with our playlists, or the TS file format or something else, I can make some changes. Please let me know!

Thanks,
Mark Sauer
0 Kudos
msauer2000
Level 7

Re: Audio only stream HLS stream issue

Okay, I fixed the problem now. I set the bitrate to '0' in the master playlist, and it plays now. I found this idea in another forum posting.
0 Kudos