[FFmpeg-user] converting to AAC audio duration changes

Lou lou at lrcd.com
Wed Sep 18 06:15:20 CEST 2013


On Mon, 16 Sep 2013 14:44:10 -0700 (PDT)
Jeanne Rich <jrich at laika.com> wrote:

> /local/prod/b3p/2.0/ffmpeg/HEAD/bin/ffmpeg '-i' '/laika/home/j/jrich/data/hbm_edit/0100_MON_2012_10_22_QT.mov' '-f' 'mov' '-preset' 'slow' '-profile:v' 'main' '-pix_fmt' 'yuv420p' '-crf' '1' '-bf' '0' '-movflags' 'faststart' '-r' '24.0' '-map_metadata' '-1:s' '-acodec' 'libfaac' '-aq' '1' '-ar' '48000' '-ac' '2' '-ab' '128k' '-y' '/laika/tmp/jrich/trans/outH264.mov' 

Unrelated to your question, but -aq and -ab are mutually exclusive.

> ffmpeg version 2.0-b7dd459 Copyright (c) 2000-2013 the FFmpeg developers 
> built on Sep 16 2013 12:06:10 with gcc 4.1.2 (GCC) 
> configuration: --prefix=/local/prod/b3p/2.0/ffmpeg/HEAD --enable-gpl --enable-nonfree --enable-pthreads --enable-static --enable-shared --enable-postproc --disable-debug --enable-avfilter --enable-zlib --enable-libvorbis --enable-libfaac --enable-libx264 --enable-libmp3lame --enable-libvpx --enable-filter=movie --enable-libfreetype ...

Also unrelated: "--enable-pthreads --enable-postproc --enable-avfilter
--enable-zlib --enable-filter=movie" should all be automatically
detected if I recall correctly.  Note that libfdk_aac is generally
considered to provide better quality than libfaac, so if you plan on
re-compiling anytime soon it may be worth considering. Also see:
https://trac.ffmpeg.org/wiki/AACEncodingGuide

> Below is the file I am using for the concat demuxer: Is this formatted
> correctly? 
> 
> file /laika/tmp/jrich/trans/outVideoSegment1.mov 
> duration 1.000000 
> file /laika/tmp/jrich/trans/outVideoSegment2.mov 
> duration 1.000000 

Can you also show your concat command and resulting console output? (I
may have missed it.)

Tell George H. "Lou from AK says hi".

Lou


More information about the ffmpeg-user mailing list