[FFmpeg-user] Several audio tracks encoding issue
Andrey Aleksandrovich
andrey.aleksandrovich at googlemail.com
Mon Apr 1 17:48:00 CEST 2013
Hello all,
I have to make the film from 3 files: v.avi (huffyuv); a1.wav
(pcm_s16le); a2.wav (pcm_s16le). I need that it will be mpeg4 and mp3
codecs in the final avi file.
I have tried the command below, but have no luck :(
localhost $ ffmpeg -i v.avi -i a1.wav -i a2.wav -map 0:0 -map 1:0 -map
2:0 -c:v mpeg4 -qscale:v:0 3 -c:a:0 libmp3lame -qscale:a:0 4 final.avi
-c:a:1 libmp3lame -qscale:a:1 4 -newaudio
ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 12 2013 22:36:50 with gcc 4.5.4
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --mandir=/usr/share/man
--enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++
--ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -march=native -pipe'
--extra-cflags='-O2
-march=native -pipe' --extra-cxxflags='-O2 -march=native -pipe' --disable-static
--enable-gpl --enable-version3 --enable-postproc --enable-avfilter
--disable-stripping
--disable-debug --disable-doc --disable-network --disable-vaapi
--enable-libmp3lame
--enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libxvid --enable-libaacplus --enable-nonfree --disable-indev=v4l
--disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab
--disable-outdev=oss --enable-libfreetype --enable-libass --enable-pthreads
--enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopenjpeg
--disable-altivec --disable-avx --disable-ssse3 --disable-vis --disable-neon
--cpu=host --enable-hardcoded-tables
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'v.avi':
Duration: 01:27:36.54, start: 0.000000, bitrate: 49017 kb/s
Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 720x384,
23.98 tbr, 23.98 tbn, 23.98 tbc
[wav @ 0x4847be48b0] max_analyze_duration 5000000 reached at 5013333
Input #1, wav, from 'a1.wav':
Metadata:
TCOD : 0
TCDO : 52565846458
Duration: 01:27:36.58, bitrate: 1536 kb/s
Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels, s16, 1536 kb/s
[wav @ 0x4847cdd2d0] max_analyze_duration 5000000 reached at 5013333
Input #2, wav, from 'a2.wav':
Duration: 01:27:36.51, bitrate: 1536 kb/s
Stream #2:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels, s16, 1536 kb/s
Missing argument for option 'newaudio'
localhost $
What's wrong?
____
Gentoo Linux
More information about the ffmpeg-user
mailing list