[FFmpeg-user] Panning audio channels example?

Stefano Sabatini stefasab at gmail.com
Sat Feb 25 01:07:11 CET 2012

On date Friday 2012-02-24 18:41:26 +0100, Nicolas George encoded:
> Le sextidi 6 ventôse, an CCXX, Dan Coffey a écrit :
> > I am using FFMPEG and am trying to take a standard .MOV with stereo
> > audio and pan both channels center.
> Your pan filter makes a stereo file with both channels equal to the mean of
> the original ones; there is no center channel here. Is this what you want?
> > I believe what is close to what I am trying to do is:
> > 
> > ffmpeg -i video.mov pan="stereo:c0=FL+FR : c1=FL+FR" output.mov
> > 
> > However i know this syntax is not correct.  Can anyone help get me
> > on the right track?
> Normally, the answer would be "uncut console output missing", but in that
> particular case the mistake is obvious: you forgot the "-vf" option.

-af in this case, which is not implemented, so you need to rely on the
lavfi input device and on the amovie source, check docs.
ffmpeg-user random tip #19
X11 session recording with ffmpeg:
ffmpeg -f oss -i /dev/audio -f x11grab -s $WIDTHx$HEIGHT -r 5 -i :0.0 \
Use xdpyinfo to get WIDTH and HEIGHT values.

More information about the ffmpeg-user mailing list