[FFmpeg-user] Variables in bash script causes 'Unrecognized option'

Christian Ebert blacktrash at gmx.net
Thu Apr 10 08:01:26 CEST 2014


* Elliott Balsley on Wednesday, April 09, 2014 at 19:53:37 -0700
> I want to use ffmpeg in a bash script with variables, like this:
> 
> ffpreopts="-loglevel warning"
> ffmpeg "$ffpreopts"

ffmpeg $ffpreopts

Try unquoting the variable in your script.

-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies       --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596


More information about the ffmpeg-user mailing list