Sorry for all the newbie questions, I'm doing my best and spending lots of time working at it before I mail the list. :)<br><br>given two one-second sounds I'm trying to concatenate them using several approaches. None of them seem to be working:<br>
<br><br>Using -itsoffset<br><br>><b>ffmpeg -i beep-1.mp3 -itsoffset 00:00:02 -i beep-2.mp3 output.mp3</b><br><br>ffmpeg version N-38292-ga4c22e3 Copyright (c) 2000-2012 the FFmpeg developers<br> built on Feb 27 2012 14:50:39 with gcc 4.6.2<br>
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -<br>
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib<br> libavutil 51. 41.100 / 51. 41.100<br>
libavcodec 54. 4.100 / 54. 4.100<br> libavformat 54. 1.100 / 54. 1.100<br> libavdevice 53. 4.100 / 53. 4.100<br> libavfilter 2. 62.101 / 2. 62.101<br> libswscale 2. 1.100 / 2. 1.100<br> libswresample 0. 7.100 / 0. 7.100<br>
libpostproc 52. 0.100 / 52. 0.100<br>[mp3 @ 01CE9AA0] Estimating duration from bitrate, this may be inaccurate<br>Input #0, mp3, from 'beep-1.mp3':<br> Metadata:<br> artist : SoundJay.com Sound Effects<br>
Duration: 00:00:00.39, start: 0.000000, bitrate: 128 kb/s<br> Stream #0:0: Audio: mp3, 44100 Hz, mono, s16, 128 kb/s<br>[mp3 @ 01DB5D20] Estimating duration from bitrate, this may be inaccurate<br>Input #1, mp3, from 'beep-2.mp3':<br>
Metadata:<br> artist : SoundJay.com Sound Effects<br> Duration: 00:00:00.55, start: 0.000000, bitrate: 128 kb/s<br> Stream #1:0: Audio: mp3, 44100 Hz, mono, s16, 128 kb/s<br>Output #0, mp3, to 'output.mp3':<br>
Metadata:<br> TPE1 : SoundJay.com Sound Effects<br> TSSE : Lavf54.1.100<br> Stream #0:0: Audio: mp3, 44100 Hz, mono, s16<br>Stream mapping:<br> Stream #0:0 -> #0:0 (mp3 -> libmp3lame)<br>
Press [q] to stop, [?] for help<br>size= 3kB time=00:00:00.41 bitrate= 68.4kbits/s<br>video:0kB audio:3kB global headers:0kB muxing overhead 6.820221%<br><br><br>Result is only the first mp3 in the output. Do I need to be using -map? I suspect I'm just being stupid and missing something obvious.<br>
<br><br>Craig<br>