Antarctic Nest of Icephoenix

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Tag Archives: bash

Run FFMPEG for every file in the directory

Posted on August 23, 2016 by admin
Reply

This one specifically converts video bitrate to 400k, frame rate to 15/s and audio bitrate to 128k for all MOV files in the current folder:

for i in *.mov; do ffmpeg -i "$i" -b:v 400k -r 15 -b:a 128k "${i%.mov}"-400k.mov; done

Posted in 4QuickLookUp, Just messing..., Notes For Myself | Tagged bash, command line, ffmpeg | Leave a reply

Archives

  • August 2016
  • July 2016
  • November 2013
  • June 2013
  • July 2012
  • June 2012
  • May 2012
  • November 2011
  • September 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2009
  • March 2009
  • October 2008
  • September 2008
  • July 2008
  • May 2008
  • April 2008
  • March 2008
  • November 2007

Recent Comments

  • www.hyundai-shop.ru on XDebug doesn’t show local variables in Komodo, NetBeans or Eclipse PDT
  • DorisChief on Apache 2 and HTTP Authentication with PAM
  • Gerard Weatherby on Apache 2 and HTTP Authentication with PAM
  • Serhii Polishchuk on How to move MySQL storage to RamFS or TmpFS partition
  • zermok on ActionScript urldecode/urlencode
Proudly powered by WordPress