Skip to Content
It is currently March 8th, 2021, 7:00 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: July 10th, 2020, 5:40 pm 
Offline
New User
New User

Joined: August 4th, 2010, 1:16 pm
Posts: 4
I want to encode audio in "audio/aac" instead of "audio/aacp" so Google Chrome can play the stream natively. I'm running SAM Broadcaster PRO 2018.8 and I've seen this option is available in SAM Cloud but not in SAM Broadcaster. Even if I choose the AAC encoder within the aacPlus v2 plugin, the encoder info will show audio/aacp, meaning that it won't play on Google Chrome.

I'm adding a screenshot from Winamp to make the point clearer.

Thanks!


Attachments:
File comment: What I have and what I want to achieve
Audio-AAC.png
Audio-AAC.png [ 15.8 KiB | Viewed 1650 times ]
Top
 Profile  
Reply with quote  
PostPosted: July 11th, 2020, 1:35 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8156
Location: Cologne (Germany)
Audio/aac =AAC
audio/aacp =AAC+/HE-AAC
Be aware, though AACv1 hss way worse efficiency, then both HE-AAC and HE-AACv2 (both usually bo by aacPlus as a brand name)

Though, chrome is actually supposed to work with aac and aac-plus on windows only when it's insode an mp4 container and not when transmitted without any container .

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: July 11th, 2020, 2:41 pm 
Offline
New User
New User

Joined: August 4th, 2010, 1:16 pm
Posts: 4
Mastacheata wrote:
Audio/aac =AAC
audio/aacp =AAC+/HE-AAC
Be aware, though AACv1 hss way worse efficiency, then both HE-AAC and HE-AACv2 (both usually bo by aacPlus as a brand name)

Though, chrome is actually supposed to work with aac and aac-plus on windows only when it's insode an mp4 container and not when transmitted without any container .


Thanks Mastacheata, I'm editing my answer since I've been doing some trial and error and I see the audio plays fine inside a container like the following:

Code:
<audio controls="controls">
    <source src="xxx.aac" type="audio/mp4" />
</audio>


I tested in Chrome (Android and Ubuntu) and also in Safari. The stream played smoothly in the three platforms.


Top
 Profile  
Reply with quote  
PostPosted: July 11th, 2020, 6:22 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8156
Location: Cologne (Germany)
Audio formats are still a hassle on the web, especially with streaming music as that's not really what the audio tag was supposed to do nor is Shoutcast or any radio streaming for that matter technically considered streaming. (You can see in video streams like youtube, that the browser will receive the stream in chunks while the audio in Shoutcast is basically just an infinitely long audio file that is constantly downloaded from the web)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 47 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group