id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1597	vbr mp2 decoding is broken	richardpl		"Summary of the bug:

VBR files produced with twolame -vbr input.wav output.mp2
do not play correctly
How to reproduce:
{{{

> ffmpeg -i output.mp2 -f null -                                                                                                                                                                                                                                                                                                  
ffmpeg version git-2012-08-02-156ca05 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  2 2012 17:11:44 with FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210
  configuration: --cc=clang --as=clang --extra-cflags=-I/usr/local/include --extra-cflags=-analyze --extra-ldflags=-L/usr/local/lib --samples=../fate-suite --disable-debug --disable-static --disable-postproc --disable-indev=v4l2 --disable-indev=alsa --disable-indev=bktr --disable-indev=dshow --disable-indev=dv1394 --d
isable-indev=fbdev --disable-indev=jack --disable-indev=libcdio --disable-indev=libdc1394 --disable-indev=openal --disable-indev=pulse --disable-indev=sndio --disable-indev=vfwcap --disable-outdev=sndio --disable-outdev=alsa --disable-outdev=sdl --disable-doc --enable-nonfree --enable-openssl --enable-gpl --enable-sha
red --enable-libx264 --enable-libmp3lame --enable-libschroedinger --enable-x11grab --enable-libopenjpeg --enable-libaacplus --enable-libtwolame
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 47.100 / 54. 47.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.101 /  3.  5.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[mp3 @ 0x29932100] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x29932100] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'out.mp2':
  Duration: 00:05:56.22, start: 0.000000, bitrate: 192 kb/s
    Stream #0:0: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.22.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp2 -> pcm_s16le)
Press [q] to stop, [?] for help
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x299a2400] Header missing

}}}"	defect	closed	normal	undetermined	git-master	wontfix					0	0
