Avconv: getting aac to work. -line experimental not working

I am trying to get the following screencast command to work:

avconv -f alsa -ar 44100 -ac 2 -i default -acodec aac -strict experimental -ab 320k -f x11grab -s 1024x600 -r 24 -i :0.0 -vcodec rawvideo screencast.mp4 

But I still get the following error:

encoder 'aac' is experimental and may lead to poor results. Add a '-line experimental' if you want to use it

Other sites suggest making sure that the -line experimenter appears immediately after the aac parameter, which I made, has no effect.

+7
aac avconv
source share
1 answer

Move both the -acodec aac and -strict experimental options somewhere after the last -i option on the command line before the output file name.

Avconv parameters are parsed as "avconv [input parameters1] -i input1 [input parameters2] -i input2 [output parameters] outputfile", so when you added these parameters before the second -i , they were interpreted as parameters for the second input, not exit.

+20
source share

All Articles