[FFmpeg-trac] #1119(avformat:new): voc enc: output frequency differs from input

FFmpeg trac at avcodec.org
Thu Mar 22 22:21:49 CET 2012


#1119: voc enc: output frequency differs from input
------------------------------------+------------------------------------
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  voc         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by ami_stuff):

 converts correctly with sox

 {{{
 C:\sox in_48.wav -V3 out.voc
 sox:      SoX v14.4.0
 sox INFO formats: detected file format type `wav'

 Input File     : 'in_48.wav'
 Channels       : 2
 Sample Rate    : 48000
 Precision      : 16-bit
 Duration       : 00:00:01.02 = 48877 samples ~ 76.3703 CDDA sectors
 File Size      : 196k
 Bit Rate       : 1.54M
 Sample Encoding: 16-bit Signed Integer PCM
 Endian Type    : little
 Reverse Nibbles: no
 Reverse Bits   : no

 sox INFO sox: Overwriting `out.voc'

 Output File    : 'out.voc'
 Channels       : 2
 Sample Rate    : 48000
 Precision      : 16-bit
 Duration       : 00:00:01.02 = 48877 samples ~ 76.3703 CDDA sectors
 Sample Encoding: 16-bit Signed Integer PCM
 Endian Type    : little
 Reverse Nibbles: no
 Reverse Bits   : no
 Comment        : 'Processed by SoX'

 sox INFO sox: effects chain: input        48000Hz  2 channels
 sox INFO sox: effects chain: output       48000Hz  2 channels
 }}}

 {{{
 C:\ffmpeg -i out.voc
 ffmpeg version N-39006-gf1fdd20 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Mar 22 2012 02:30:44 with gcc 4.5.0 20100414 (Fedora MinGW
 4.5.0-1.fc
 14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
 cpudetect
 --enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -
 lwinmm' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapshots/buil
 d/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/snapshots/b
 uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
 --enable-n
 onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
 libvorbis
 --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
 libopencor
 e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
   libavutil      51. 44.100 / 51. 44.100
   libavcodec     54. 12.100 / 54. 12.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 65.102 /  2. 65.102
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
 [voc @ 0x1da9be0] Estimating duration from bitrate, this may be inaccurate
 Input #0, voc, from 'out.voc':
   Duration: 00:00:01.01, bitrate: 1535 kb/s
     Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1119#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list