paperclip_video_processor 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,6 +3,25 @@ paperclip_video_processor
3
3
 
4
4
  Installation
5
5
  ===========
6
+ First of all install ffmpeg on your computer. This is the whole point to get the video processor to work.
7
+
8
+ If you are using MAC, and with brew installed.
9
+
10
+ ```ruby
11
+ brew install ffmpeg
12
+ ```
13
+ Ubuntu Precise Pangolin 12.04 LTS and Ubuntu Oneiric Ocelot 11.10
14
+
15
+ ```ruby
16
+ sudo apt-get install ffmpeg libavcodec-extra-53
17
+ ```
18
+ Ubuntu Natty Narwhal 11.04 and Ubuntu Lucid Lynx 10.04 LTS
19
+
20
+ ```ruby
21
+ sudo apt-get install ffmpeg libavcodec-extra-52
22
+ ```
23
+
24
+ In order to make video converting to work as many cases as it can, I make audio_codec and codec as copy.
6
25
 
7
26
  Add this line to your Gemfile
8
27
 
@@ -6,9 +6,9 @@ module Paperclip
6
6
  super
7
7
  # Set options
8
8
  @audio_bitrate = options[:audio_bitrate] || '64k'
9
- @audio_codec = options[:audio_codec] || 'libfaac'
9
+ @audio_codec = options[:audio_codec] || 'copy'
10
10
  @bitrate = options[:bitrate] || '256k'
11
- @codec = options[:codec] || 'libx264'
11
+ @codec = options[:codec] || 'copy'
12
12
  @current_format = File.extname(@file.path)
13
13
  @basename = File.basename(@file.path, @current_format)
14
14
  @file = file
@@ -1,3 +1,3 @@
1
1
  module PaperclipVideoProcessor
2
- VERSION = "0.2"
2
+ VERSION = "0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip_video_processor
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-19 00:00:00.000000000 Z
12
+ date: 2012-06-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Video Converter
15
15
  email: