default encoder should be same as input file
|Reported by:||bernhard||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
The default encoder is set to some fixed value (16-bit Signed Integer PCM). So, in most cases I have to specify the encoder explicitly:
ffmpeg -i exil1211212315_02.wav -af atrim=0:60 -acodec pcm_s24le outffmpeg2.wav
However, it would be more convenient if the default encoding would be the same as the input file. That's how sox handles the situation (from the help output of sox):
FORMAT OPTIONS (fopts):
Input file format options need only be supplied for files that are headerless.
Output files will have the same format as the input file where possible and not
overriden by any of various means including providing output format options.