[libav-tools] libav map audio

Kevin Wells kevwells at hotmail.co.uk
Wed Oct 28 08:53:26 CET 2015


Hi, I have been using ffmpeg for quite some time, but would like to try libav, but cant find how to use the equivalent command, pan is not recognised.
I am trying to take a quicktime input file which was 8 channels in one track, then re-map each audio to individual tracks embedded in the output prores file and also label then Left, Right, Center, LFE, Left Surround, Right Surround, Left total+Right total. Here is the ffmpeg command I am using:


ffmpeg -i /Users/kev/Movies/Test_descrete.mov -ss 20 -to 25 -filter_complex \
 "[0:1]pan=1c|c0=c0[FL]; \
  [0:1]pan=1c|c0=c1[FR]; \
  [0:1]pan=1c|c0=c2[FC]; \
  [0:1]pan=1c|c0=c3[LFE]; \
  [0:1]pan=1c|c0=c4[BL]; \
  [0:1]pan=1c|c0=c5[BR]; \
  [0:1]pan=2c|c0=c6|c1=c7[stereo]" \
 -map v:0 \
 -map "[FL]" \
 -map "[FR]" \
 -map "[FC]" \
 -map "[LFE]" \
 -map "[BL]" \
 -map "[BR]" \
 -map "[stereo]" \
 -vcodec prores -profile:v 3 -vtag apcn -f mov -y -c:a pcm_s24le /Users/kev/Movies/Test_Movie_Out2.mov
And here is the output from avconv:

avconv -i /Users/kev/Movies/Test_descrete.mov 
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Oct 16 2015 09:05:58 with Apple LLVM version 7.0.0 (clang-700.0.72)
Guessed Channel Layout for  Input Stream #0.1 : 7.1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/kev/Movies/Test_descrete.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2015-10-17 18:55:33
  Duration: 00:01:58.04, start: 0.000000, bitrate: 170075 kb/s
    Stream #0.0(eng): Video: prores, yuv422p10le, 1920x1080, 160844 kb/s, 24 fps, 24 tbn (default)
    Metadata:
      creation_time   : 2015-10-17 18:55:33
      encoder         : Apple ProRes 422 HQ
    Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 8 channels, s32, 9216 kb/s (default)
    Metadata:
      creation_time   : 2015-10-17 19:13:26

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20151028/af451552/attachment.html>


More information about the libav-tools mailing list