mplayer -af scaletempo -speed 1.5 file.avi

mplayer -af scaletempo

Pitch-correct play speed with mplayer. You can also use [] and {} keys to change play speed on-the-fly.

2
2009-05-24 08:06:28

These Might Interest You


  • 5
    mplayer -af scaletempo=scale=1.5 foo.mp3
    eastwind · 2011-10-03 09:55:50 0
  • You wont hear anything when you run that command. You must run: mplayer music.mp3 YOU NEED MPLAYER sudo apt-get install mplayer


    0
    mplayer -cache 100 -dumpstream http://listen.di.fm/public3/drumandbass.pls -dumpfile music.mp3
    TheShadowFog · 2011-11-08 15:36:33 0
  • Mplayer starts a webcam capture using ASCII art. Only mplayer required


    7
    mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 -vo aa tv://
    sxiii · 2010-12-07 05:17:00 3
  • just use build in option. Show Sample Output


    -1
    alias mplayer='mplayer -stop-xscreensaver'
    HeadLess · 2010-07-28 14:15:16 1
  • A function for streaming youtube to mplayer. The option "-g" for youtube-dl tells it to output the direct video URL, instead of downloading the video. "-fs" tells MPlayer to go FullScreen, and "-quit" makes it less verbose. Requires: youdube-dl ( http://bitbucket.org/rg3/youtube-dl/ ) (Tested in zsh) Show Sample Output


    15
    yt () mplayer -fs -quiet $(youtube-dl -g "$1")
    elfreak · 2010-09-29 18:48:19 12
  • Will finish automagically when mplayer quits. Can be run from any directory. It seems to finish by it self rarely, probably because of some timing issue? There's probably a way around that which I can't think of right now Show Sample Output


    0
    r="readlink /proc/`pgrep -o mplayer`/fd/3";while [ -e "`$r`" ];do if [ "$f" = "`$r`" ];then sleep 1;else f="`$r`";notify-send " $f";fi;done
    aix · 2012-02-26 06:49:16 0

What Others Think

Very kewl, but how do you get this audiofilter? Couldn't find audio filter 'scaletempo' [libaf] Couldn't create or open audio filter 'scaletempo' Error at audio filter chain pre-init!
wishi · 469 weeks ago
It seems that scaletempo appeared in mplayer version > 1.0rc2 , mplayer-svn definetely has it. I don't have such problem on gentoo, though.
elementa13 · 469 weeks ago
Jepp.... super for all this overlong podcasts ;)!!
wishi · 468 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: