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

FFmpeg trac at avcodec.org
Tue Feb 16 19:41:27 CET 2016


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

Comment (by redneb):

 Interesting side note: `opusdec` only restores the original sample rate
 when outputing to a file and not for playback, e.g.:
 {{{
 $ opusdec sine1.opus
 Decoding to 48000 Hz (1 channel)
 [...]
 $ opusdec sine1.opus sine1.wav
 Decoding to 44100 Hz (1 channel)
 [...]
 }}}
 So in other words, `opusdec` makes a distinction between decoding for
 playback and decoding for other purposes.

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


More information about the FFmpeg-trac mailing list