petrkotek / chromecastize

Bash script to convert video files into Google Chromecast supported format.
MIT License
178 stars 34 forks source link

Error when passing new `--force-vencode` option #56

Closed pfrenssen closed 5 years ago

pfrenssen commented 5 years ago

When I try to pass the new --force-vencode option that was added in #49 I am getting the following error:

Unrecognized option 'preset fast -profile:v high -level 4.1 -crf 17 -pix_fmt yuv420p'.
Error splitting the argument list: Option not found

This is caused by Bash automatically escaping the DEFAULT_VCODEC_OPTS variable with quotes because it contains spaces.