[FFmpeg-trac] #2697(avformat:new): MP3 output duration incorrect in OS X
FFmpeg
trac at avcodec.org
Mon Feb 17 00:07:51 CET 2014
#2697: MP3 output duration incorrect in OS X
------------------------------------+------------------------------------
Reporter: llogan | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mp3 osx | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by llogan):
* keywords: mp3 => mp3 osx
* component: undetermined => avformat
Comment:
Using `-write_xing 0` results in an output that allows Finder and
Quicktime to report the correct duration.
{{{
$ ./ffmpeg -f lavfi -i sine=d=300 -write_xing 0 duration.mp3
ffmpeg version N-60686-gc919e1c Copyright (c) 2000-2014 the FFmpeg
developers
built on Feb 16 2014 14:02:16 with gcc 4.8.2 (GCC) 20140206 (prerelease)
configuration: --enable-gpl --enable-libmp3lame
libavutil 52. 64.100 / 52. 64.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 9.101 / 55. 9.101
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, lavfi, from 'sine=d=300':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, mp3, to 'duration.mp3':
Metadata:
TSSE : Lavf55.33.100
Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, mono, s16p
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
size= 2344kB time=00:05:00.01 bitrate= 64.0kbits/s
video:0kB audio:2344kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.001875%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2697#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list