Opened 11 years ago

Closed 11 years ago

#2914 closed enhancement (wontfix)

default encoder should be same as input file

Reported by: Bernhard Wagner Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (1)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: default encoder removed
Resolution: wontfix
Status: newclosed

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.