Opened 6 years ago

Closed 6 years ago

#1597 closed defect (wontfix)

vbr mp2 decoding is broken

Reported by: richardpl Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

vbr.mp2 (1.0 MB) - added by richardpl 6 years ago.
variable bitrate mp2 created with twolame

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by richardpl

variable bitrate mp2 created with twolame

comment:1 Changed 6 years ago by michael

Which program, can play this file ? i tried mpg321, qmmp(using mad), mpg123 none can play it. If nothing can play this then maybe its a bug in twolame

comment:2 Changed 6 years ago by richardpl

Hmm mono seems to work fine.

comment:3 Changed 6 years ago by richardpl

  • Resolution set to wontfix
  • Status changed from new to closed

Everything points this is twolame bug.

Note: See TracTickets for help on using tickets.