Develop code to FFmpeg

Cerrado Publicado Jun 23, 2015 Pagado a la entrega
Cerrado Pagado a la entrega

Hello,

I want to improve this code :

class VideoConverter

def convertir_video(video_hash)

system("ffmpeg -y -i public/videos/#{video_hash}.flv -vcodec libx264 -vpre slow -vpre medium -r 25 -s 320x240 -async 1 -ac 2 -ab 96000 public/videos/#{video_hash}.mp4 && MP4Box -inter 500 public/videos/#{video_hash}.mp4")

end

handle_asynchronously :convertir_video

def convertir_video_3gp(video_hash)

system("ffmpeg -i public/videos/#{video_hash}.3gp -sameq public/videos/#{video_hash}.mp4")

end

handle_asynchronously :convertir_video_3gp

def revisar_video_mp4(video_hash)

system("ffmpeg -y -i public/videos/#{video_hash}.mp4 -vcodec libx264 -vpre slow -vpre medium -r 25 -s 320x240 -async 1 -ac 2 -ab 96000 public/videos/#{video_hash}.mp4 && MP4Box -inter 500 public/videos/#{video_hash}.mp4")

end

handle_asynchronously :revisar_video_mp4

We have :

1. Ubuntu Server DigitalOcean

2. The code is a part of an app built in ruby on rails

3. The code need convert the video for reproduce to web and app mobile.

Desarrollo de software

Nº del proyecto: #7916643

Sobre el proyecto

2 propuestas Proyecto remoto Activo Jul 30, 2015

2 freelancers están ofertando un promedio de $38 por este trabajo

qariozconsulting

Hello, my name is Karuna. Do you want to make the converter provide all browser support? You need to convert it to 2 other format other, webm and ogv I can also make the script dynamic so it can convert to other Más

$50 USD en 2 días
(0 comentarios)
0.0
gaurav5670

Hello, I have over 4+ years of experience in ffmpeg. I can help you optimise or improve your ffmpeg command to achieve a faster conversion rate for high quality audio and video content. I have experience in writing me Más

$25 USD en 1 día
(0 comentarios)
0.0