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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1ae81101a4c86ac5fae2ae2a6c914b8ebebd524c18249f18e08e87bb6c9e145
4
- data.tar.gz: bac94cea00ccc14d552e6c90b756918ff2a462f8dd4a1bdee01993e4a3753e69
3
+ metadata.gz: 733fa9ad6f8e6612fa1cff346c70c8d59118a3e2c4327020f48cdc18d2855de4
4
+ data.tar.gz: 6b147c962d92d00aa8b3c7cb17487f16c8c43e2da3d484e763069c7d22c8b97b
5
5
  SHA512:
6
- metadata.gz: 75cd3408318d2b4dd4007e9bba44a3b31e17cb2133af41bf3d64966997e38364176bdcdc929c6a922cd75c4c4ed30edb843913c5d0b2dee12be6138a5571b3fe
7
- data.tar.gz: 59fd37c6a67539134b5c57049391c5c671c7500725a75414d8e816c10dd1c9f5d7e86654c3ba924981c8f87c87d83a504322b076681ebe6e1279c4e2ac9f579f
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)
@@ -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 -preset slow"
468
+ "libx265 -crf 28 -x265-params log-level=error"
469
469
  when 'h264'
470
- "libx264 -crf 23 -preset slow"
470
+ "libx264 -crf 23"
471
471
  when 'aac'
472
472
  "libfdk_aac"
473
473
  else
@@ -1,3 +1,3 @@
1
1
  module MmTool
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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: 2021-04-12 00:00:00.000000000 Z
11
+ date: 2022-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-table