peterjtracey
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2016
02:58 PM
No Audio on our streams
We are encoding many streams using 48000 or 44100 sampling with 64k or 128k bitrates to no avail.[/font][/size][/color]
Can anybody help? Thanks![/font][/size][/color]
Can anybody help? Thanks![/font][/size][/color]
4 REPLIES 4

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2016
03:20 PM
Re: No Audio on our streams
What is the audio format of the stream? AAC? MP3? If AAC, what kind of AAC? (HE, LC etc). Is this HLS, live streamed or is it MP4 VOD or HLS VOD? If HLS, what does the playlist file look like?
If possible, send me a stream URL via private message.
- Joel
If possible, send me a stream URL via private message.
- Joel
peterjtracey
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2016
07:38 AM
Re: No Audio on our streams
Hi Joel,
We're using AAC, LC, HLS delivery, live streamed. I don't know what you mean by playlist file. The code I'm using to set up the stream is:
We're using AAC, LC, HLS delivery, live streamed. I don't know what you mean by playlist file. The code I'm using to set up the stream is:
port = CreateObject("roMessagePort")
screen = CreateObject("roVideoScreen")
streamUrl = ""
for each e in showElem.GetChildElements()
if e.GetName() = "source" then
streamUrl = e.GetText()
exit for
else if e.GetName() = "title" then
title = e.GetText()
endif
next
bitrates = [0]
qualities = ["SD"]
urls = [streamUrl]
streamformat = "hls"
videoclip = CreateObject("roAssociativeArray")
videoclip.StreamBitrates = bitrates
videoclip.StreamUrls = urls
videoclip.StreamQualities = qualities
videoclip.StreamFormat = streamformat
videoclip.Title = title
videoclip.Live = true
screen.SetContent(videoclip)
screen.SetMessagePort(port)
screen.Show()
peterjtracey
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2016
09:41 AM
Re: No Audio on our streams
I did notice in VLC media player "Stream 0" is type: Audio and "Stream 1" is type: Video. Whereas with the ones that work it's the other way around. Wondering whether that could be the reason audio doesn't play (but it does detect that video isn't the first stream...)?
peterjtracey
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2016
10:25 AM
Re: No Audio on our streams
Got it working. We had to change channels to Stereo and swap the video and audio streams and changed the bitrate from 44.1k to 48k. Not sure whether all of these were necessary, last one made it work finally but we had tried doing that without the other two changes in place and it didn't work.