[FFmpeg-user] libopus encoder problem.

bat guano batguano999 at hotmail.com
Wed Oct 3 23:44:14 CEST 2012


Hi
libopus encoder has been added to FFmpeg git, but it doesn't seem to be working properly.

$ ffmpeg -i foo.wav -c:a libopus -b:a 64k foo.opus

Gives error "Trying to remove 480 samples, but que empty"

Is this an FFmpeg bug, or is the libopus encoder still "work in progress"?


@ubuntu:~$ ffmpeg -i foo.wav -c:a libopus -b:a 64k foo.opus
ffmpeg version git-2012-10-03-05e5a24 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct  3 2012 21:12:24 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
  configuration: --enable-gpl --enable-libaacplus --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3 --enable-x11grab
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 63.100 / 54. 63.100
  libavformat    54. 29.105 / 54. 29.105
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[wav @ 0xa7b7520] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'foo.wav':
  Duration: 00:01:00.41, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Output #0, ogg, to 'foo.opus':
  Metadata:
    encoder         : Lavf54.29.105
    Stream #0:0: Audio: opus, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> libopus)
Press [q] to stop, [?] for help
Trying to remove 480 samples, but que empty58.7kbits/s    
[libopus @ 0xa836480] Trying to remove 480 samples, but que empty
    Last message repeated 20628 times
 		 	   		  


More information about the ffmpeg-user mailing list