ffmprb 0.12.1 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +10 -10
- data/README.md +7 -2
- data/coverage/index.html +2541 -2123
- data/exp/present/Gemfile.lock +2 -2
- data/exp/present/exp/present.rb +8 -2
- data/exp/youtubby/Gemfile +1 -3
- data/exp/youtubby/Gemfile.lock +3 -5
- data/exp/youtubby/exp/gop-raw-cut-rcc-join-you-HD60.rb +356 -0
- data/exp/youtubby/exp/gop-raw-cut-you-HD60 +3 -1
- data/exp/youtubby/exp/gop-raw-cut-you-HD60.rb +191 -63
- data/exp/youtubby/google_youtube.rb +3 -3
- data/ffmprb.gemspec +2 -0
- data/lib/defaults.rb +1 -1
- data/lib/ffmprb/file/sample.rb +15 -7
- data/lib/ffmprb/file.rb +13 -5
- data/lib/ffmprb/filter.rb +19 -7
- data/lib/ffmprb/process/input/chain_base.rb +5 -0
- data/lib/ffmprb/process/input/cut.rb +0 -4
- data/lib/ffmprb/process/input/paced.rb +3 -1
- data/lib/ffmprb/process/input.rb +4 -4
- data/lib/ffmprb/process/output.rb +2 -11
- data/lib/ffmprb/process.rb +22 -13
- data/lib/ffmprb/util/thread.rb +6 -3
- data/lib/ffmprb/util.rb +8 -6
- data/lib/ffmprb/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2a6eaa0dff1eb92671c375025b3ed40f40e3b3136f37b9ba07b854d0de1ab4
|
4
|
+
data.tar.gz: 783b62902d2594159e042f6c686e3ae2af36f8493c3cfd4679c48a63ec535e71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 387206796c8c815a91682b02da8daa2be70bc560f0315d75f9221f08d3cc8fba30347ce6884958cc9c234decd2589b24047ce83f81ed6ca5a8825462fba534e5
|
7
|
+
data.tar.gz: 75c6a563d48832ed05b2fee5f6768f6c1881ebaaf7448d61808aa4f9b910ad96dccdf8c3ab7671e4251bde17b3aeb76cb75b18dcf0775241b82093deb4300c53
|
data/Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
FROM debian:bullseye
|
2
2
|
|
3
|
-
RUN bash -ec 'apt update; apt -y install ruby-all-dev=1:2.7+2 ffmpeg=7:4.3.5-0+deb11u1 sox=14.4.2+git20190427-2 build-essential=12.9 libmagickwand-dev=8:6.9.11.60+dfsg-1.3 git=1:2.30.2-1 pkg-config=0.29.2-1'
|
3
|
+
RUN bash -ec 'apt update; apt -y install ruby-all-dev=1:2.7+2 ffmpeg=7:4.3.5-0+deb11u1 sox=14.4.2+git20190427-2+deb11u1 build-essential=12.9 libmagickwand-dev=8:6.9.11.60+dfsg-1.3+deb11u1 git=1:2.30.2-1 pkg-config=0.29.2-1'
|
4
4
|
RUN gem install bundler -v '~> 2.0'
|
5
5
|
|
6
6
|
WORKDIR /ffmprb
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ffmprb (0.12.
|
4
|
+
ffmprb (0.12.2)
|
5
5
|
mkfifo (~> 0.1.1)
|
6
6
|
thor (~> 0.19.1)
|
7
7
|
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
coderay (1.1.3)
|
15
15
|
diff-lcs (1.5.0)
|
16
16
|
docile (1.4.0)
|
17
|
-
faraday (2.7.
|
17
|
+
faraday (2.7.4)
|
18
18
|
faraday-net_http (>= 2.0, < 3.1)
|
19
19
|
ruby2_keywords (>= 0.0.4)
|
20
20
|
faraday-net_http (3.0.2)
|
@@ -40,7 +40,7 @@ GEM
|
|
40
40
|
pry (>= 0.13.0)
|
41
41
|
shellany (~> 0.0)
|
42
42
|
thor (>= 0.18.1)
|
43
|
-
guard-bundler (3.0.
|
43
|
+
guard-bundler (3.0.1)
|
44
44
|
bundler (>= 2.1, < 3)
|
45
45
|
guard (~> 2.2)
|
46
46
|
guard-compat (~> 1.1)
|
@@ -51,8 +51,8 @@ GEM
|
|
51
51
|
rspec (>= 2.99.0, < 4.0)
|
52
52
|
httpclient (2.8.3)
|
53
53
|
json (2.6.3)
|
54
|
-
jwt (2.
|
55
|
-
listen (3.
|
54
|
+
jwt (2.7.0)
|
55
|
+
listen (3.8.0)
|
56
56
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
57
57
|
rb-inotify (~> 0.9, >= 0.9.10)
|
58
58
|
lumberjack (1.2.8)
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
nenv (~> 0.1)
|
66
66
|
shellany (~> 0.0)
|
67
67
|
os (1.1.4)
|
68
|
-
pry (0.14.
|
68
|
+
pry (0.14.2)
|
69
69
|
coderay (~> 1.1)
|
70
70
|
method_source (~> 1.0)
|
71
71
|
public_suffix (5.0.1)
|
@@ -78,12 +78,12 @@ GEM
|
|
78
78
|
rspec-core (~> 3.12.0)
|
79
79
|
rspec-expectations (~> 3.12.0)
|
80
80
|
rspec-mocks (~> 3.12.0)
|
81
|
-
rspec-core (3.12.
|
81
|
+
rspec-core (3.12.1)
|
82
82
|
rspec-support (~> 3.12.0)
|
83
|
-
rspec-expectations (3.12.
|
83
|
+
rspec-expectations (3.12.2)
|
84
84
|
diff-lcs (>= 1.2.0, < 2.0)
|
85
85
|
rspec-support (~> 3.12.0)
|
86
|
-
rspec-mocks (3.12.
|
86
|
+
rspec-mocks (3.12.3)
|
87
87
|
diff-lcs (>= 1.2.0, < 2.0)
|
88
88
|
rspec-support (~> 3.12.0)
|
89
89
|
rspec-support (3.12.0)
|
@@ -95,7 +95,7 @@ GEM
|
|
95
95
|
faraday (>= 0.17.5, < 3.a)
|
96
96
|
jwt (>= 1.5, < 3.0)
|
97
97
|
multi_json (~> 1.10)
|
98
|
-
simplecov (0.
|
98
|
+
simplecov (0.22.0)
|
99
99
|
docile (~> 1.1)
|
100
100
|
simplecov-html (~> 0.11)
|
101
101
|
simplecov_json_formatter (~> 0.1)
|
data/README.md
CHANGED
@@ -8,8 +8,12 @@ Any script-able person can manipulate video/audio media -- or automate such proc
|
|
8
8
|
|
9
9
|
_ATTENTION_
|
10
10
|
|
11
|
-
|
12
|
-
(
|
11
|
+
Please see the `Dockerfile` for runtime dependencies -- or just build
|
12
|
+
a (self-contained) container image right away:
|
13
|
+
- for use on the command line or in shell scripts
|
14
|
+
- for (Ruby-based) media processing microservices
|
15
|
+
|
16
|
+
_SYNOPSIS_
|
13
17
|
|
14
18
|
Allows for scripts like
|
15
19
|
```ruby
|
@@ -77,6 +81,7 @@ you just describe what should be shown -- in an action sequence, like the follow
|
|
77
81
|
lay episode.cut(to: 60), transition: {blend: 3}
|
78
82
|
|
79
83
|
# Overlay anything after that with your channel _logo_:
|
84
|
+
# XXX make this actually work... also, overlay must come before lay
|
80
85
|
overlay logo.loop.cut(to: 33), after: 3, transition: {blend: 1} # both ways
|
81
86
|
|
82
87
|
# Start with rolling some _intro_ flick:
|