Opened 12 years ago
Closed 12 years ago
#3884 closed defect (fixed)
Decoding specific MP3 file produces broken sound at the beginning if "-ss 0" is applied
| Reported by: | VILIC VANE | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avformat |
| Version: | git-master | Keywords: | mp3 regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
% ffmpeg -y -ss 0 -i input.mp3 -codec:a libmp3lame -qscale:a 8 output.mp3 ffmpeg version N-65810-g1b5ec6a built on Aug 22 2014 00:27:20 with gcc 4.8.3 (GCC)
Found only one specific mp3 file would cause this issue, and only when -ss is set to 0. I tried -ss 0.01 and it worked fine.
Attachments (1)
Change History (3)
by , 12 years ago
comment:1 by , 12 years ago
| Analyzed by developer: | unset |
|---|---|
| Component: | undetermined → avformat |
| Keywords: | mp3 regression added |
| Status: | new → open |
| Summary: | Trimming specific MP3 file produces broken sound at the beginning if "-ss 0" is applied → Decoding specific MP3 file produces broken sound at the beginning if "-ss 0" is applied |
| Version: | unspecified → git-master |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Note:
See TracTickets
for help on using tickets.



For future tickets: Please always add the complete, uncut console output and please use internal encoders if they allow to reproduce the issue.
Regression since 7546ac2f
$ ffmpeg -ss 0 -i input.mp3 out.wav ffmpeg version N-65810-g1b5ec6a Copyright (c) 2000-2014 the FFmpeg developers built on Aug 22 2014 12:18:11 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 54. 6.100 / 54. 6.100 libavcodec 56. 0.101 / 56. 0.101 libavformat 56. 1.100 / 56. 1.100 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 0.102 / 5. 0.102 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 Input #0, mp3, from 'input.mp3': Duration: 00:00:01.15, start: 0.025057, bitrate: 130 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 128 kb/s Metadata: encoder : LAME3.99r Side data: replaygain: track gain - -7.400000, track peak - unknown, album gain - unknown, album peak - unknown, Output #0, wav, to 'out.wav': Metadata: ISFT : Lavf56.1.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc56.0.101 pcm_s16le Stream mapping: Stream #0:0 -> #0:0 (mp3 (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help Input stream #0:0 frame changed from rate:44100 fmt:s16p ch:1 chl:mono to rate:44100 fmt:s16p ch:2 chl:stereo Input stream #0:0 frame changed from rate:44100 fmt:s16p ch:2 chl:stereo to rate:44100 fmt:s16p ch:1 chl:mono size= 98kB time=00:00:01.14 bitrate= 695.5kbits/s video:0kB audio:98kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078125%