streamio-ffmpeg 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/lib/ffmpeg/movie.rb +1 -3
- data/lib/ffmpeg/version.rb +1 -1
- data/lib/streamio-ffmpeg.rb +1 -0
- metadata +7 -7
data/CHANGELOG
CHANGED
data/lib/ffmpeg/movie.rb
CHANGED
@@ -20,8 +20,6 @@ module FFMPEG
|
|
20
20
|
output[/start: (\d*\.\d*)/]
|
21
21
|
@time = $1 ? $1.to_f : 0.0
|
22
22
|
|
23
|
-
@duration -= @time
|
24
|
-
|
25
23
|
output[/bitrate: (\d*)/]
|
26
24
|
@bitrate = $1 ? $1.to_i : nil
|
27
25
|
|
@@ -31,7 +29,7 @@ module FFMPEG
|
|
31
29
|
output[/Audio: (.*)/]
|
32
30
|
@audio_stream = $1
|
33
31
|
|
34
|
-
@uncertain_duration = output.include?("Estimating duration from bitrate, this may be inaccurate")
|
32
|
+
@uncertain_duration = output.include?("Estimating duration from bitrate, this may be inaccurate") || @time > 0
|
35
33
|
|
36
34
|
if video_stream
|
37
35
|
@video_codec, @colorspace, resolution, video_bitrate = video_stream.split(/\s?,\s?/)
|
data/lib/ffmpeg/version.rb
CHANGED
data/lib/streamio-ffmpeg.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.7.
|
8
|
+
- 7
|
9
|
+
version: 0.7.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David Backeus
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01
|
17
|
+
date: 2011-02-01 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -23,13 +23,13 @@ dependencies:
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
segments:
|
29
|
-
-
|
30
|
-
-
|
29
|
+
- 2
|
30
|
+
- 4
|
31
31
|
- 0
|
32
|
-
version:
|
32
|
+
version: 2.4.0
|
33
33
|
type: :development
|
34
34
|
version_requirements: *id001
|
35
35
|
description: Simple yet powerful wrapper around ffmpeg to get metadata from movies and do transcoding.
|