Opened 6 years ago

Closed 6 years ago

#2914 closed enhancement (wontfix)

default encoder should be same as input file

Reported by: bernhard Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords:
Cc: Blocked 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):

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.

Change History (1)

comment:1 Changed 6 years ago by cehoyos

  • Keywords default encoder removed
  • Resolution set to wontfix
  • Status changed from new to closed

I suspect such a change would surprise most users.

But apart from that; Given that most decoder - muxer combinations are unsupported (this is apparently not true for sox) how should this be implemented?

Note: See TracTickets for help on using tickets.