tanxiaohai@tanxiaohai-virtual-machine:~/share/ffmpeg-2.6.2$ ffmpeg -i Beyond1.mp3 -i Beyond2.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=2 -strict -2 iok.aac
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
[mp3 @ 0xab9a1a0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'Beyond1.mp3':
Metadata:
album : ò?à?μ?ì?MusicPalace
artist : Beyond£¨???ò??£?
Duration: 00:05:21.77, start: 0.000000, bitrate: 128 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Input #1, mp3, from 'Beyond2.mp3':
Metadata:
album : 25?ü?ê????
artist : BEYOND
title : à?óêò1
Duration: 00:04:20.73, start: 0.025056, bitrate: 128 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Metadata:
encoder : LAME3.97
Stream #1:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 150x150 [SAR 100:100 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
title :
comment : Cover (front)
Output #0, adts, to 'iok.aac':
Metadata:
album : ò?à?μ?ì?MusicPalace
artist : Beyond£¨???ò??£?
encoder : Lavf56.25.101
Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc56.26.100 aac
Stream mapping:
Stream #0:0 (mp3) -> amix:input0
Stream #1:0 (mp3) -> amix:input1
amix -> Stream #0:0 (aac)
Press [q] to stop, [?] for help
[mp3 @ 0xabb0140] Header missing bitrate= 130.7kbits/s
Error while decoding stream #1:0: Invalid data found when processing input
[mp3 @ 0xab9bde0] incomplete frameitrate= 130.7kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
size= 5143kB time=00:05:22.50 bitrate= 130.6kbits/s
video:0kB audio:5048kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.880916%
tanxiaohai@tanxiaohai-virtual-machine:~/share/ffmpeg-2.6.2$