mm_tool 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mm_tool/application_main.rb +1 -0
- data/lib/mm_tool/mm_movie.rb +3 -0
- data/lib/mm_tool/mm_movie_stream.rb +2 -2
- data/lib/mm_tool/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 733fa9ad6f8e6612fa1cff346c70c8d59118a3e2c4327020f48cdc18d2855de4
|
4
|
+
data.tar.gz: 6b147c962d92d00aa8b3c7cb17487f16c8c43e2da3d484e763069c7d22c8b97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e02a0d14c36b6293f0f83d98aabf8355c87640983d8dcee1b9e20898bb76f2826dcc3a6523f06edf9db9986f67c0a81eee00e410c8234f280a00098e80d9aca
|
7
|
+
data.tar.gz: d09e99c83423ee59fb1fa298aa0235dcfe507ff3fdfb2ee6a12f15b23fc7c7eb5088964cda583a3dc17064eadc42b3e56b82bb85314c247390095bcb0c6f8b76
|
@@ -111,6 +111,7 @@ module MmTool
|
|
111
111
|
output(file_name)
|
112
112
|
output(movie.format_table)
|
113
113
|
output(movie.stream_table)
|
114
|
+
output("echo '#{File.basename(file_name)}' ; \\", true)
|
114
115
|
output("#{movie.command_rename} ; \\", true)
|
115
116
|
output("#{movie.command_transcode} ; \\", true)
|
116
117
|
output(movie.command_review_post, true)
|
data/lib/mm_tool/mm_movie.rb
CHANGED
@@ -127,6 +127,9 @@ module MmTool
|
|
127
127
|
#------------------------------------------------------------
|
128
128
|
def command_transcode
|
129
129
|
command = ["ffmpeg \\"]
|
130
|
+
command << " -hide_banner \\"
|
131
|
+
command << " -loglevel error \\"
|
132
|
+
command << " -stats \\"
|
130
133
|
@streams.each {|stream| command |= [" #{stream.instruction_input}"] if stream.instruction_input }
|
131
134
|
@streams.each {|stream| command << " #{stream.instruction_map}" if stream.instruction_map }
|
132
135
|
@streams.each {|stream| command << " #{stream.instruction_action}" if stream.instruction_action }
|
@@ -465,9 +465,9 @@ module MmTool
|
|
465
465
|
def encoder_string(for_codec:)
|
466
466
|
case for_codec.downcase
|
467
467
|
when 'hevc'
|
468
|
-
"libx265 -crf 28 -
|
468
|
+
"libx265 -crf 28 -x265-params log-level=error"
|
469
469
|
when 'h264'
|
470
|
-
"libx264 -crf 23
|
470
|
+
"libx264 -crf 23"
|
471
471
|
when 'aac'
|
472
472
|
"libfdk_aac"
|
473
473
|
else
|
data/lib/mm_tool/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mm_tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Derry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-table
|