[FFmpeg-trac] #4641(avcodec:open): Error decoding SILK frame

FFmpeg trac at avcodec.org
Wed Feb 21 11:30:43 EET 2018


#4641: Error decoding SILK frame
------------------------------------+-----------------------------------
             Reporter:  zevarito    |                    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           |
------------------------------------+-----------------------------------

Comment (by igracia):

 Reviving and old thread, but adding info here in case anyone stumbles with
 this. It seems like the native opus codec library that comes with ffmpeg
 is not correctly configured, and this is fixed by using libopus for
 decoding the audio input streams ([http://www.ffmpeg-archive.org/problems-
 decoding-opus-from-RTP-stream-td4681239.html source]). I was able to make
 this work that way

 {{{
 $  ffmpeg -acodec libopus -i 851515232352539900.mkv -t 30 out.wav
 ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
   built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.1 --enable-shared
 --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-
 avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl
 --enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl
 --enable-videotoolbox --disable-lzma --enable-nonfree
   libavutil      55. 78.100 / 55. 78.100
   libavcodec     57.107.100 / 57.107.100
   libavformat    57. 83.100 / 57. 83.100
   libavdevice    57. 10.100 / 57. 10.100
   libavfilter     6.107.100 /  6.107.100
   libavresample   3.  7.  0 /  3.  7.  0
   libswscale      4.  8.100 /  4.  8.100
   libswresample   2.  9.100 /  2.  9.100
   libpostproc    54.  7.100 / 54.  7.100
 Input #0, matroska,webm, from '851515232352539900.mkv':
   Metadata:
     ENCODER         : Lavf56.1.0
   Duration: 00:03:35.66, start: 0.000000, bitrate: 984 kb/s
     Stream #0:0: Video: vp8, yuv420p(progressive), 640x480, SAR 1:1 DAR
 4:3, 1k tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: opus, 48000 Hz, stereo, s16
 Stream mapping:
   Stream #0:1 -> #0:0 (opus (libopus) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 Output #0, wav, to 'out.wav':
   Metadata:
     ISFT            : Lavf57.83.100
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 stereo, s16, 1536 kb/s
     Metadata:
       encoder         : Lavc57.107.100 pcm_s16le
 size=    5618kB time=00:00:30.00 bitrate=1534.0kbits/s speed= 308x
 video:0kB audio:5618kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.001356%
 }}}

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


More information about the FFmpeg-trac mailing list