Closed oren closed 7 years ago
Unknown encoder 'libfaac'
DITTO
I tried :%s/libfaac/aac/g
and rm ~/.config/ffscreencast
but still got error:
The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
which persisted after adding "-strict -2
" to optional args in the config...
So, I ran it back with flac
(which I also prefer) and it worked; wav
might as well.
I did have to edit /bin/ffscreencast
; editing the config did not alter --dry
output.
@oren it starts at index 1
, not 0
. I might have to make that more clear anyway. :-)
You can (as a workaround) use --oargs
(which comes as the last argument and is therefore able to overwrite most/all options) to use a different audio codec:
$ ffscreencast -a1 --oargs='-c:a flac'
When building the command you can also always use --dry
to see the final generated command:
$ ffscreencast -a1 --oargs='-c:a flac' --dry
Thanks! it works now: ffscreencast -a1 -c --cargs="-video_size 320x180" --oargs='-c:a flac'
One more thing. I am not sure if it's ok but I see a lot of lines like this one in the console:
Past duration 0.998466 too large
Past duration 0.998650 too large
Past duration 0.999779 too large
Past duration 0.998192 too large 1kB time=00:00:00.00 bitrate=N/A dup=0 drop=11
Past duration 0.998497 too large
Past duration 0.999352 too large
Past duration 0.998589 too large
Past duration 0.999901 too large
Past duration 0.998680 too large
Past duration 0.999596 too large
Past duration 0.998283 too large 1kB time=00:00:00.00 bitrate=N/A dup=0 drop=11
Past duration 0.998314 too large
@oren I am myself are not too sure about those warnings, I added some links for you to read. Looks like something to ignore.
@NHQ can you show me the ffscreencast command and the config for the case that the config was not read during --dry
ffscreencast --alist
ffscreencast -a0 -c --cargs="-video_size 320x180"
ffscreencast -a1 -c --cargs="-video_size 320x180"
ffscreencast -a2 -c --cargs="-video_size 320x180"