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

On Jan 15, 2008 11:28 AM, edberner [email protected] wrote:

    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

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


Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs