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

FFmpeg trac at avcodec.org
Wed Feb 17 18:03:45 CET 2016


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

Comment (by heleppkes):

 The FFmpeg infrastructure does not support doing this automatically. The
 encoder never knows the original sample rate, because the audio is
 resampled to a compatible rate long before it reaches the encoder.

 The only way this could potentially be done right now is adding a metadata
 option to the encoder so you can manually specify the original sample
 rate, which is hardly convenient.

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


More information about the FFmpeg-trac mailing list