[FFmpeg-trac] #1345(undetermined:new): ffmpeg loops tiny flac (av_read_frame duplicates frames?)
FFmpeg
trac at avcodec.org
Wed May 23 13:45:57 CEST 2012
#1345: ffmpeg loops tiny flac (av_read_frame duplicates frames?)
-------------------------------------+-------------------------------------
Reporter: uwwint | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: tiny flac | Blocked By:
loop | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I have a tiny flac. When I transcode via ffmpeg_g into an mp3 the sound is
looped.
{{{
./ffmpeg_g -i sinemarker.1.flac test.mp3
ffmpeg version N-40960-ge15f128 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 23 2012 12:59:16 with gcc 4.4.3
configuration: --enable-nonfree --enable-shared --enable-libmp3lame
--prefix=/home/uwe/Dokumente/ffmpeg/ffmpeg.git/installDir
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 76.100 / 2. 76.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, flac, from 'sinemarker.1.flac':
Duration: 00:00:00.50, bitrate: 495 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, mp3, to 'test.mp3':
Metadata:
TSSE : Lavf54.6.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16
Stream mapping:
Stream #0:0 -> #0:0 (flac -> libmp3lame)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 0
DTS 4096, next:592874 st:0 invalid dropping
PTS 4096, next:592874 invalid dropping st:0
DTS 8192, next:1185748 st:0 invalid dropping
PTS 8192, next:1185748 invalid dropping st:0
DTS 12288, next:1778622 st:0 invalid dropping
PTS 12288, next:1778622 invalid dropping st:0
DTS 16384, next:2371496 st:0 invalid dropping
PTS 16384, next:2371496 invalid dropping st:0
DTS 20480, next:2964370 st:0 invalid dropping
PTS 20480, next:2964370 invalid dropping st:0
[libmp3lame @ 0x13e25c0] Trying to remove 1152 samples, but que empty
size= 48kB time=00:00:03.03 bitrate= 129.6kbits/s
video:0kB audio:48kB global headers:0kB muxing overhead 0.388540%
}}}
Then compare flac with mp3 in audacity/some other program that doesn't use
ffmpeg (mplayer doesn't work). The mp3 contains multiple loops of the
flac.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1345>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list