Re: correct syntax for combining filters
The Wanderer <[email protected]> Thu, 15 Apr 2021 12:48:23 -0400
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Organization | This space intentionally left blank. |
| Message-ID | <[email protected]> |
On 2021-04-15 at 10:08, Christian wrote: > Hi all, > > I´m looking for the right way to combine filters in *mplayer*. > > I want to achieve the following: > > I´d like to play a .wav-file with the *equalizer*-option set and the > *higher-speed*-option (plus: *not altering the pitch* when playing > faster). > > Man-pages say: > > -af <filter1[=parameter1:parameter2:...],filter2,...> > Setup a chain of audio filters. > > Seems that´s what I´m looking for. Notice the comma in the above, before 'filter2'. > This command however doesn´t work: > > mplayer -af scaletempo=scale=1.2:speed=pitch -srate 44100 -af > lavcresample=44100 -af equalizer=0:0:0:0:0:0:0:0:7:7 test.wav > > I.e.: the equalizer option does work (audio is much crisper) but it´s > all played back at normal speed (not with the factor of "1.2"). > > Could anybody help me with the correct syntax? I haven't tried this myself, and don't have much experience with using filters, but I'd suggest you see what you get from: mplayer -af scaletempo=scale=1.2:speed=pitch,lavcresample=44100,equalizer=0:0:0:0:0:0:0:0:7:7 -srate 44100 test.wav My guess is that each time you specified the '-af' option, it was overriding the value you set with the previous time, so that in the end only the equalizer filter was being applied. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw _______________________________________________ MPlayer-users mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmB4blcACgkQBKk1jTQo MmspiA//apOoS2uB3mg6MIphNZhJI6jllPOjeSgpzrpLN4lwIuWldVmGT4mv99bF vrWmktqQQBta9Sdx8XkOCvxGh1gIvaPvbKsFHX3nZ6LnsQkZhSo/uy4QCbCJoNmg Ix8/I7bz2eSYxZMDd5SmhQ4DGKWHFzc1JpvKHZ9u90LxGtrpHPhQNt+irufLRjH+ BZ+dlP7F1Y6JQDwMpXMyEKoVfdveR95k3cWzBAvO7eUBbb5TbMwKKMjeaiPD0V6a gqJc0FvtDLYyttQw1A4LBNFfFwTTA7XHLzmHD4v3V1J5C0jeXcS06Hy8xf//t17l njbs7Bd3yINjsMUI3cxMJM7kvMGrcMkHhj/tKvzn8w9S7CtO8Zxwljb1bY4yQgA0 6NWzDS2HST7IAWdXhpzy7otVJ0rW9DNNzwvrGYWJPc1537bYoeJT/ZGcykyKId57 g7t3XaaNfI/WteLLn+/1O//AFEE0ZxyeS78NMZxEmGSlJbgyLNtFMDMhlD1URxGq 6BeoOY4AGSuY+HpQT22fndlHfxX8Lc/oV9ZSbPoK9gDCCRfRX41WtaP83nNz/FP6 LGYCjV41rOMxIt4XsUYrYz1G7pXFo1AANbV5+7MpsQpFRDQYc+vQm1PVDj83AZoJ Pxh0f9HJYBTKDe8SIU5Iep/kY1PCgXiD/5Q0Phe1JJRtbvrr8e0= =uP7x -----END PGP SIGNATURE-----