[FFmpeg-trac] #5240(avcodec:closed): opus encoded audio loses information about the original sample rate (unlike opusenc)

FFmpeg trac at avcodec.org
Wed Feb 17 09:31:34 CET 2016


#5240: opus encoded audio loses information about the original sample rate (unlike
opusenc)
------------------------------------+-----------------------------------
             Reporter:  redneb      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  invalid
             Keywords:  libopus     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:   => libopus
 * status:  new => closed
 * resolution:   => invalid


Comment:

 The problem is that libopus only accepts the following sample rates: 8kHz,
 12kHz, 16kHz, 24kHz and 48kHz. These are all saved in the output file and
 are shown by opusinfo. Other sample rates (like 44100Hz) cannot be used to
 encode (libopus returns an error) and are (therefore) not saved in the
 file.
 I don't see how this could be fixed within FFmpeg and will close this
 ticket.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5240#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list