[FFmpeg-trac] #849(undetermined:new): libvorbis: problem with odd sample rate
FFmpeg
trac at avcodec.org
Thu Dec 29 17:50:35 CET 2011
#849: libvorbis: problem with odd sample rate
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I don't know if this is regression in ffmpeg or libvorbis, please decide
yourself.
{{{
C:\>ffmpeg -i 12345.wav -acodec libvorbis out.ogg
ffmpeg version N-32138-g312645e, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 28 2011 21:12:09 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 14. 0 / 51. 14. 0
libavcodec 53. 12. 0 / 53. 12. 0
libavformat 53. 10. 0 / 53. 10. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 35. 0 / 2. 35. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[wav @ 01EBA740] parser not found for codec pcm_u8, packets or times may
be inva
lid.
Input #0, wav, from '12345.wav':
Duration: 00:00:05.07, bitrate: 197 kb/s
Stream #0.0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 12345 Hz, 2
channels, u8
, 197 kb/s
Incompatible sample format 'u8' for codec 'libvorbis', auto-selecting
format 's1
6'
[libvorbis @ 024366C0] oggvorbis_encode_init: init_encoder failed
Output #0, ogg, to 'out.ogg':
Stream #0.0: Audio: vorbis, 12345 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0: pcm_u8 -> libvorbis
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters
such as bit_rate, rate, width or height
}}}
{{{
C:\>ffmpeg -i 12345.wav -acodec libvorbis out.ogg
ffmpeg version N-32071-g276f43b, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 23 2011 11:01:40 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 13. 0 / 51. 13. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 9. 0 / 53. 9. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 34. 2 / 2. 34. 2
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[wav @ 01EBA740] parser not found for codec pcm_u8, packets or times may
be inva
lid.
Input #0, wav, from '12345.wav':
Duration: 00:00:05.07, bitrate: 197 kb/s
Stream #0.0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 12345 Hz, 2
channels, u8
, 197 kb/s
Incompatible sample format 'u8' for codec 'libvorbis', auto-selecting
format 's1
6'
Output #0, ogg, to 'out.ogg':
Metadata:
encoder : Lavf53.9.0
Stream #0.0: Audio: vorbis, 12345 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0: pcm_u8 -> libvorbis
Press [q] to stop, [?] for help
size= 45kB time=00:00:05.07 bitrate= 73.2kbits/s
video:0kB audio:42kB global headers:3kB muxing overhead 0.652575%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/849>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list