i was a bit too quick posting the last msg, the code should be: IO.popen("ffmpeg -i my.mov -t flv fruhwirth150306.flv") do |l| op.insert(-1, l.gets) #using gets now end still...the only outpu i get is nil.