BackgroundRB FFMPEG

why will ffmpeg not output my video??

class VideoWorker < BackgrounDRb::Rails   def do_work(args)         video = Video.find(args[:video_id])         video.processing_status = 1         video.save

        system("ffmpeg -i #{video.public_filename} -b 256k -vcodec h264 -acodec aac ~/Desktop/movie.mp4")

        video.processing_status = 2         video.save   end end

Nevermind forgot RAILS_ROOT

edberner wrote:

I will also suggest you to upgrade the BackgrounDRB version. May be 1.0.1 .

Hi, It seams you are working on site similar to youtube. Kindly share your experience on following:

1) Where you store the files (database or file system) 2) How can we manage the storage if thousands of videos gets uploaded every day 3) Which player you are using to stream the video

Just trying to learn how youtube manages their traffic