jikkujose / strip_audio

Simple gem to strip audio from video files.
MIT License
0 stars 0 forks source link

command line quoting #3

Closed rampantmonkey closed 10 years ago

rampantmonkey commented 10 years ago

All variables in command lines should be wrapped in quotes ("). Otherwise spaces in file names will cause strange behavior.

jikkujose commented 10 years ago

How I can force that user behaviour?

rampantmonkey commented 10 years ago

Just put them in your string interpolation like this: ffmpeg -i "#{audiofile}" ....

jikkujose commented 10 years ago

Oh okay, didn't get that before! Changed it.