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: 
Highlighted
antoniobesta
Level 7

SceneGraph AudioNode audio only with AAC

hi ,

I doing some test on a Premiere Plus with OS 7.5.1
AudioExamples.zip doesn't work

audio codec AC3 = not working
audio codec AAC = working
video live and VOD streaming with HLS m3u8 work.
VOD MP4 & MKV container H264 with one or 2 channels (EN/FR) audio AAC are working.

the missing part:
I am trying to received audio streams only in MPEG4 AAC

Is it possible to play audio only on the  video player.
audio node support only MP3
video player support MPEG4 with audio AAC

   mysettings:
    streamFormat: "mp4"
    ContentType: "audio"
    Stream: "http://17253.live.streamtheworld.com/CHOMFMAAC.aac"

   
 
0 Kudos
5 Replies
renojim
Level 10

Re: SceneGraph AudioNode audio only with AAC

Try StreamFormat = "es.aac-adts". May or may not work.

-JT
0 Kudos
antoniobesta
Level 7

Re: SceneGraph AudioNode audio only with AAC

hi,

I work with StreamFormat = "es.aac-adts"

thanks
0 Kudos
antoniobesta
Level 7

Re: SceneGraph AudioNode audio only with AAC

one more note on audio channels.

ROKU  detect only one audio channel   with MP4 container ( MP4 H264 with 2 audio channels in AAC EN/FR )
ROKU  detect the two   audio channels with MKV container ( MKV H264 with 2 audio channels in AAC EN/FR )

so, with MKV container I can select French speaking or English speaking.
but not support in MP4

Antonio
0 Kudos
renojim
Level 10

Re: SceneGraph AudioNode audio only with AAC

I believe you mean streams, not channels.  If that's a question, then yes and no.  There is (was?) a way to choose the language of the audio stream in an MP4, but not via the remote.  You have (had?) to select the language before you start playing the video.  Since the roVideoXxx components are going away, I don't know if it's possible with the roSG stuff or not.  In short, if you want to be able to switch languages/streams easily, use MKV.

I don't know if it's worth mentioning, but if using a MP4 container, you had to choose the language of the stream.  There was no way to choose between two streams of the same language.  MKV doesn't have that limitation (except on a RokuTV, but that's a topic for another thread).

-JT
0 Kudos
antoniobesta
Level 7

Re: SceneGraph AudioNode audio only with AAC

these infos solved my issues with audio

thanks you very much for your help

A
0 Kudos