[FFmpeg-user] overlay audio channels
Clément Bœsch
ubitux at gmail.com
Fri Aug 3 21:40:54 CEST 2012
On Fri, Aug 03, 2012 at 03:37:37PM -0400, Kosta Vlotis wrote:
> On Fri, Aug 3, 2012 at 3:29 PM, Nicolas George
> <nicolas.george at normalesup.org> wrote:
> > Le septidi 17 thermidor, an CCXX, Kosta Vlotis a écrit :
> >> 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
> >
> > pan is not a *v*ideo *f*ilter.
> >
> > And you should be dividing by 2 to avoid overflows: c0=0.5*c0+0.5*c1 or
> > c0<c0+c1.
> >
> >> this isnt working
> >
> > Define this.
> >
> > Regards,
> >
> > --
> > Nicolas George
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.12 (GNU/Linux)
> >
> > iEYEARECAAYFAlAcJo4ACgkQsGPZlzblTJPJpACZAZZpYtK+vP/Tu+tSXrbEJFAB
> > 7GIAn0cyhc2DO1jpUCNe8kma20H9mkSn
> > =gMSg
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
>
> this command:
> W:\Brazstore-1\KOSTA NEW W\SOURCE\ENCODING TESTS>ffmpeg -async 1 -i
> video.mpeg -f mp4 -c:v libx264 -preset slow -g 60 -b:v 1000k -s
> 854x480 -aspect 16:9 -vf pan="stereo: c0<c1+c0 : c1<c0+c1" -c:a
> libvo_aacenc -b:a 128k -ar 48000 -threads 0 -y audiotes1_pan.mp4
>
> returns this error:
> [scale @ 040c0e80] Media type mismatch between the '(null)' filter output pad 0
> and the 'Parsed_pan_0' filter input pad 0
> Cannot create the link scale:0 -> pan:0
> Error opening filters!
"Media type mismatch". -vf stands for video filter as Nicolas said. You
should try to guess the equivalent for audio filter.
Also, please consider pasting the full FFmpeg output if that still doesn't
work.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120803/ab521214/attachment.asc>
More information about the ffmpeg-user
mailing list