LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2021, 10:09 AM   #1
slackjeff
Member
 
Registered: Sep 2018
Location: Blumenau/SC/Brasil
Distribution: Slackware
Posts: 30

Rep: Reputation: Disabled
Question [Possible friction SLACKWARE CURRENT] ffmpeg and no acc (ssr and obs)


Good morning, good night! There is a problem with an FFMPEG build option that comes native in slackware current. With the option: aac="--disable-encoder=aac" disabled it ends up "breaking" the Simple screen recorder and OBS-studio. I'll explain what happens.

I know that obs is not by default in Slackware but in slackbuilds, but here's the thing. The audio of the simple screen recorder (native in slackware) and OBS (Not native in slackware) end up showing on the graph (obs and ssr) that they are activated and work, but in the recording ends that the video is "WITHOUT AUDIO".

And when trying to see the logs of both programs ends up not "showing" the real reason. Until after much exploring I saw that when activating this option in ffmpeg in the compilation without (aac="--disable-encoder=aac") does not work the audio on the recording. Again this seems to be an invisible error, and that can cause some users to lose their hair.

There are few reports on the internet but I ended up by chance finding another user with this problem: https://obsproject.com/forum/threads...urrent.140908/

To really work, then we have to recompile FFMPEG with the option aac="--disable-encoder=aac" (ON) And everything works normally. I do not know if it is possible to activate this option by (default) in ffmpeg, if it is not possible my report is for those who face something like that!



I know it's software that not everyone uses, but I use it to work recording/streaming for my classes etc..
 
Old 08-31-2021, 10:29 AM   #2
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I'm pretty sure that ffmpeg has some built-in aac stuff, because (and I could be wrong) I seem to remember that fdk-aac is no longer required but my build.log was still reporting aac getting used. I would have to check my logs to be sure (not gonna be around that computer for a few days though).

But there is the other concern, legal issues. I'm not sure again here, but I don't think that aac is exactly legal here in the US.

You are probably just going to have to rebuild ffmpeg for yourself with that and --enable-nonfree.

Last edited by Skaendo; 08-31-2021 at 10:33 AM.
 
Old 08-31-2021, 11:35 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,114

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
you can also test installing a prebuilt ffmpeg with AAC support from here and see if it solves your issue

https://slackware.nl/people/alien/re...pkg64/current/
 
Old 08-31-2021, 11:36 AM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,144

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
Doesn't Alien Bob maintain a "non-restrictive" ffmpeg package?

http://slackware.uk/people/alien/res...pkg64/current/
 
1 members found this post helpful.
Old 08-31-2021, 11:43 AM   #5
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
On one machine I took the official ffmpeg Slackware slackbuild from a mirror and tweaked it so I have things like aac. The optional dependencies can be found on Slackbuilds.org and it is easy to change the slackbuild to enable them.
 
Old 08-31-2021, 01:10 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,114

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by ponce View Post
you can also test installing a prebuilt ffmpeg with AAC support from here and see if it solves your issue

https://slackware.nl/people/alien/re...pkg64/current/
Quote:
Originally Posted by cwizardone View Post
Doesn't Alien Bob maintain a "non-restrictive" ffmpeg package?

http://slackware.uk/people/alien/res...pkg64/current/
the link you posted actually points to the same packages of the one I posted (just hosted elsewhere), the restricted versions: "restricted" means that should not be redistributed in the States because of the license with which some of the codecs they support are distributed by their vendors.

the non-restricted ffmpeg packages from Alien Bob don't contain support for AAC (the AAC redistribution license is one of the reasons of the existance of those packages).

Last edited by ponce; 08-31-2021 at 01:13 PM.
 
1 members found this post helpful.
Old 09-01-2021, 10:35 AM   #7
epitaxial
Member
 
Registered: Dec 2019
Posts: 44

Rep: Reputation: Disabled
That non restrictive package may explain why some time ago the ability to stream from sling.com stopped working. It kind of works in Firefox now but not well. It doesn't work at all in Chrome but it used to. I see references to ffmpeg in the console window but googling the errors gives little help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] building ffmpeg with nvenc? (for OBS stream/capture) coralfang Slackware 4 05-11-2021 07:52 AM
[SOLVED] How to use AV1 with ffmpeg/ssr? slac Slackware 5 09-12-2020 08:03 PM
[SOLVED] Running ffmpeg / obs with nvenc as a normal user af7567 Slackware 1 09-05-2016 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration