aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorPeter Belkner <pbelkner@snafu.de>2011-05-07 02:23:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-07 03:27:38 +0200
commitd62bf5d4e73250295c0a652e151498c5b19cbd63 (patch)
tree08d484e42fea8a72e8db42b3c5f852e6f39ad1d6 /libavformat/asf.c
parentc34cb130b6bf3e957484fd236c1ba477720882c0 (diff)
downloadffmpeg-d62bf5d4e73250295c0a652e151498c5b19cbd63.tar.gz
mp3enc: mux a XING header
The patch below provides exactly that to the MP3 muxer. A XING header containing * the numer of frames, * the size, and * a TOC is generated. It's based on an idea by Anton Khirnov (restricted to the number of frames) found at http://patches.ffmpeg.org/patch/1891/ The TOC is generated as found in lame's "VbrTag.c". According to my tests the following reproduces the number of frames, the size and the TOC in "c.mp3" from "b.mp3" (except a shift due to shorter XING header generated by FFmpeg): lame -V2 a.wav b.mp3 ffmpeg -i b.mp3 -acodec copy -y c.mp3
Diffstat (limited to 'libavformat/asf.c')
0 files changed, 0 insertions, 0 deletions