From: Paul Mckibbin Date: 2008-03-13T11:09:00+09:00 Subject: Re: Trouble capturing output of spawned process Eric Marthinsen wrote: > > I was expecting the output to be bracketed by the text "HERE IS THE > RESULT" and "RESULT COMPLETE", but it looks like the infomation isn't > being put into the variable. It may not be doing what you think it is. You may find that the output from ffmpeg is going directly to stderr. Inspect result to see if it contains anything, and if not then try result=`ffmpeg -i test.avi -f flv -acodec mp3 output.flv 2>&1` to see if that does the trick. -- Posted via http://www.ruby-forum.com/.