#5258: ffmpeg fails to decode opus test vectors correctly
------------------------------------+-----------------------------------
             Reporter:  calestyo    |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  opus        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by vk85):

 * component:  ffmpeg => avcodec


Comment:

 This issue is still present as of commit
 ad94f1c8abe68a2b38536cc96a31327c6be7b105.
 It specifically affects ffmpeg's native opus decoder, libopus is not
 affected.
 The native encoder ignores side data indicating the amount of
 initialization/padding samples to skip at the beginning of the stream.
 This allows them to enter the output as though they were audio samples,
 the length of the stream is also miscalculated as a result.

 Since this means the native encoder isn't spec compliant, I'd suggest
 changing the default decoder to libopus, if available, until this issue is
 resolved.
 In the meantime, you can try to work around this by seeking to timestamp 0
 (-ss 0), as opus streams encoded by libopus will have the first real audio
 sample at timestamp 0 under most circumstances.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5258#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to