pkviet / obs-studio

OBS - Free and open source software for live streaming and screen recording
https://obsproject.com/mantis/
GNU General Public License v2.0
151 stars 20 forks source link

[Question] Is the FFmpeg aac encoder can't be used for streaming? #73

Open Mishasama opened 2 years ago

Mishasama commented 2 years ago

I'm using 7.1 channels for streaming. When I try to use FFmpeg aac for streaming, the web player seems can't load the stream. Only CoreAudio AAC works.

And I notice the FFmpeg aac seems like using VBR as rate control, but not for CoreAudio AAC. Is there possible to use VBR for the CoreAudio AAC? And choose other modes like HE-AAC-v2?

pkviet commented 2 years ago

I'm using 7.1 channels for streaming. When I try to use FFmpeg aac for streaming, the web player seems can't load the stream. Only CoreAudio AAC works.

that's odd; i'll check; it could be an issue with the various 7.1 formats (7.1 side, 7.1 back, 7.1 wide side, 7.1 wide back)

And I notice the FFmpeg aac seems like using VBR as rate control, but not for CoreAudio AAC. Is there possible to use VBR for the CoreAudio AAC? And choose other modes like HE-AAC-v2?

he-aac is not available for licensing reasons. As to VBR, no it should be CBR. I'll check all that. No promises though on the timetable for the fixes. No idea if it's easy or not to solve. And first I need to repro.

pkviet commented 2 years ago

can you link the web player so that I check it ?

Mishasama commented 2 years ago

can you link the web player so that I check it ?

Try this one. But sorry, that's a streaming platform like Twitch. It can't show you any 7.1 contexts without me online... But maybe you can try to grab the player......

Mishasama commented 2 years ago

And I notice the FFmpeg aac seems like using VBR as rate control, but not for CoreAudio AAC. Is there possible to use VBR for the CoreAudio AAC? And choose other modes like HE-AAC-v2?

he-aac is not available for licensing reasons. As to VBR, no it should be CBR. I'll check all that.

Only LC is free from licensing? Is it mean that can't be VBR for streaming? Or just not recommended for normal use? Because I don't want to waste bits when I have limited bandwidth and traffic. Especially when my music stops. I don't care about the delay.

No promises though on the timetable for the fixes. No idea if it's easy or not to solve. And first I need to repro.

No problem, just do it when you want. And sorry for can't help with the coding works.