Ticket #1684 (open defect)

Opened 9 months ago

Last modified 3 months ago

adpcm_ct: volume goes up while seeking with ffplay

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: adpcm_ct
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

the audio volume increases for a second or so when I seek a few times in attached file

 http://samples.mplayerhq.hu/A-codecs/Creative%20Audio/examples/stereo44100.wav

C:\>ffmpeg -i stereo44100.wav
ffmpeg version N-43803-g2c0b164 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 22 2012 02:22:47 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  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 -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wav @ 0x1eace20] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'stereo44100.wav':
  Duration: 00:00:19.84, bitrate: 352 kb/s
    Stream #0:0: Audio: adpcm_ct ([0][2][0][0] / 0x0200), 44100 Hz, stereo, s16,
 352 kb/s
At least one output file must be specified

Change History

comment:1 Changed 9 months ago by cehoyos

  • Keywords adpcm_ct added
  • Status changed from new to open
  • Version changed from unspecified to git-master
  • Reproduced by developer set

The same happens with the binary decoder (mplayer -ac ctadp32)...

comment:2 follow-up: ↓ 3 Changed 3 months ago by richardpl

  • Component changed from undetermined to avformat

seeking may be not possible at all....

comment:3 in reply to: ↑ 2 Changed 3 months ago by cehoyos

Replying to richardpl:

seeking may be not possible at all....

Do you mean that seeking generally does not work for you for the sample or that you believe seeking without the volume increase is impossible?

comment:4 Changed 3 months ago by richardpl

The only way of seeking is to start decoding from start for any adpcm codec which decoding depends on previously
decoded samples and do not provide such needed data in frames.

Note: See TracTickets for help on using tickets.