[FFmpeg-user] overlay audio channels

Kosta Vlotis kosta.brazzers at gmail.com
Fri Aug 3 20:45:55 CEST 2012


On Fri, Aug 3, 2012 at 12:53 PM, Nicolas George
<nicolas.george at normalesup.org> wrote:
> Le septidi 17 thermidor, an CCXX, Kosta Vlotis a écrit :
>> i have a question i know is a bit strange.
>>
>> i was wondering if it's possible to overlay 2 audio channels in the
>> same video with ffmpeg.
>>
>> Example: videoX has left audio channel: X and right audio channel: Y
>>
>> i would like to make it so that it looks like: left audio channel=xy
>> and right audio channel=xy
>
> You can do exactly that with the pan audio filter. There are examples in the
> doc.
>
> Regards,
>
> --
>   Nicolas George
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlAcAewACgkQsGPZlzblTJMizQCfcQ/w/ebjI6lZBmNCFwQlGiZT
> ihIAn3ivxf5nQ4y9GUBCBCRsC865eyLE
> =Fj+Z
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

i'm not sure i understand the docs.. this is what i have so far:

ffmpeg -async 1 -i b.mpeg -f mp4 -c:v libx264 -preset slow -g 60 -b:v
1000k -s 854x480 -aspect 16:9 -vf "pan=stereo: c0=c0+c1 : c1=c0+c1"
-c:a libvo_aacenc -b:a 128k -ar 48000 -ac 1 -threads 0 -y
audiotes1_pan.mp4

this isnt working


More information about the ffmpeg-user mailing list