Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scale - resize #13

Open
joao-j-souza opened this issue Sep 9, 2013 · 3 comments
Open

scale - resize #13

joao-j-souza opened this issue Sep 9, 2013 · 3 comments

Comments

@joao-j-souza
Copy link

I configured this gem in one rails 3 app, it's working fine! My question is about the scale(resizing) video method. Is it possible to use this option?
I tried this...
Voyeur::Media.new( filename: tmp_path ).convert( to: format.to_sym, output_filename: current_path, scale: "320:240" )
but appear to not worked.

@joao-j-souza
Copy link
Author

I got this work by change de method convert_options in mp4.rb file...

def convert_options
  "-b 1500k -vcodec libx264 -g 30 -s 320x200"
end

I included -s 320x200

@joao-j-souza
Copy link
Author

Please,

Let me know how subscribe this method without change files in the gem.

@joao-j-souza joao-j-souza reopened this Sep 10, 2013
@HendrikLouw
Copy link
Member

Hi @joao32 ,

Please check out #8

It might solve your problem to write a new class for your usage needs and pass it into voyuer as mentioned in above link.

Please let me know if you get it working, any suggestions to make the code better or add documentation will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants