[FFmpeg-trac] #2914(FFmpeg:new): default encoder should be same as input file
FFmpeg
trac at avcodec.org
Thu Aug 29 23:42:47 CEST 2013
#2914: default encoder should be same as input file
-------------------------------------+-------------------------------------
Reporter: bernhard | Type:
Status: new | enhancement
Component: FFmpeg | Priority: normal
Keywords: default | Version:
encoder | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2914>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list