[FFmpeg-trac] #1119(undetermined:new): voc enc: output frequency differs from input
FFmpeg
trac at avcodec.org
Thu Mar 22 13:01:55 CET 2012
#1119: voc enc: output frequency differs from input
-------------------------------------+-------------------------------------
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 |
-------------------------------------+-------------------------------------
the same problem with "-ar 44100"
also only half of the input audio is in the output
{{{
C:\>ffmpeg -i in_48.wav 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
Input #0, wav, from 'in_48.wav':
Duration: 00:00:01.01, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels,
s16, 1536 kb/s
Incompatible sample format 's16' for codec 'pcm_u8', auto-selecting format
'u8'
Output #0, voc, to 'out.voc':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Audio: pcm_u8, 48000 Hz, 2 channels, u8, 768 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> pcm_u8)
Press [q] to stop, [?] for help
size= 64kB time=00:00:01.01 bitrate= 514.9kbits/s
video:0kB audio:95kB global headers:0kB muxing overhead -32.958242%
}}}
{{{
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
Truncating packet of size 2048 to 1885
[voc @ 0x1da9be0] Estimating duration from bitrate, this may be inaccurate
Input #0, voc, from 'out.voc':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: pcm_u8, 48012 Hz, 2 channels, u8, 768 kb/s
At least one output file must be specified
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1119>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list