other_video_transcoding 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a57410a06260109a616e8c52a66912c1232b94e1c6c9fa3b68193dc1928a806
4
- data.tar.gz: 2a3d7e2161ed9e5c057d706dca00505f3579840745e542af1fe65691144f88e4
3
+ metadata.gz: a1982b8ee6d952b01d5c36833c741754ccd37508c0edc34a6b1de1b61daf9a21
4
+ data.tar.gz: 82d4874af0e4b9d25487a9f49764f920750c18dc7c368d0b8fd06fb35bef5c97
5
5
  SHA512:
6
- metadata.gz: 01c79a2c59e29c90892ad9a9ced373852c3e81c86994d75ccd45d03b48502d0da4e891bc0852afb75954fe15cb0cbdffb2275b531ad34b33642463173db5d13c
7
- data.tar.gz: 527078a99a29100e1ffd6031f6d08ef44e9759a09157ab67a1831aa83d60c10544736cbbfe921394237877c640dc595aac530f5cf991e8dc29d9371f2152cb7f
6
+ metadata.gz: aa06c1a7c65f63ff2b3e3ce93d25a9b50588cb7d938b1990100236b973fe832e367ae54fa8cd5d44a582d3e14e050d68ed2f9a5d14a1c4381c1314c4ddd07b5a
7
+ data.tar.gz: 948c96268b59b5f09dba5314ceea8cbe9a47cbbe7a196128d2d266b2d7949c2a5620aa71eae759ffedd90a1c35bacf934fcfa8d585c04718d957d61418c0cf3b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  This single document contains all of the notes created for each [release](https://github.com/donmelton/other_video_transcoding/releases).
4
4
 
5
+ ## [0.1.1](https://github.com/donmelton/other_video_transcoding/releases/tag/0.1.1)
6
+
7
+ Friday, January 3, 2020
8
+
9
+ * Prevent passing full or partial paths to the `--name` option of `other-transcode`.
10
+ * Hide the path prefix when naming the program in `--help` output and in usage errors for both `other-transcode` and `ask-ffmpeg-log`.
11
+ * In the "README" document:
12
+ * Add warnings to avoid installing within virtual machines and about the possible need to use `sudo`.
13
+ * Add a link to additional documentation on the wiki for installing `ffprobe`, `ffmpeg`, `mkvpropedit` and `mpv` on Windows.
14
+ * Also explain how to install those same programs on macOS using Homebrew.
15
+ * Update all copyright notices to the year 2020.
16
+
5
17
  ## [0.1.0](https://github.com/donmelton/other_video_transcoding/releases/tag/0.1.0)
6
18
 
7
19
  Thursday, December 26, 2019
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 Don Melton
1
+ Copyright (c) 2019-2020 Don Melton
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -26,7 +26,7 @@ And many features are supported including:
26
26
  * Hardware-based video decoding for improved performance
27
27
  * Fallback to software video encoding when appropriate hardware is not available
28
28
  * Optional automatic and reliable video cropping
29
- * Adding audio and subtitle tracks by by language or title
29
+ * Adding audio and subtitle tracks by language or title
30
30
  * [Dolby Digital Plus](https://en.wikipedia.org/wiki/Dolby_Digital_Plus) (Enhanced AC-3) audio encoding
31
31
  * Burning image-based subtitles into video output to ease player compatibility
32
32
 
@@ -36,6 +36,8 @@ Additional documentation for this project is available in the [wiki](https://git
36
36
 
37
37
  ## Installation
38
38
 
39
+ _Avoid installing within [virtual machines](https://en.wikipedia.org/wiki/Virtual_machine) such as the [Windows Subsystem for Linux](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) since access to hardware video encoders may not be allowed, severely impacting performance._
40
+
39
41
  These tools work on Windows, Linux and macOS. They're packaged as a Gem and require Ruby. See "[Installing Ruby](https://www.ruby-lang.org/en/documentation/installation/)" if you don't have it on your platform.
40
42
 
41
43
  Use this command to install the package:
@@ -46,6 +48,8 @@ And this command to update it:
46
48
 
47
49
  gem update other_video_transcoding
48
50
 
51
+ _The commands to install and update may need prefixing with_ `sudo` _on some platforms._
52
+
49
53
  The `other-transcode` tool in this package requires other software to function properly, specifically these command line programs:
50
54
 
51
55
  * `ffprobe`
@@ -56,6 +60,16 @@ Optional crop previewing also requires the `mpv` command line program.
56
60
 
57
61
  See "[Download FFmpeg](https://ffmpeg.org/download.html)," "[MKVToolNix Downloads](https://mkvtoolnix.download/downloads.html)" and "[mpv Installation](https://mpv.io/installation/)" to find versions for your platform.
58
62
 
63
+ Additional documentation for installing these programs on Windows is available in the [wiki](https://github.com/donmelton/other_video_transcoding/wiki/Windows).
64
+
65
+ On macOS, all of these programs can be easily installed via [Homebrew](http://brew.sh/), an optional package manager:
66
+
67
+ brew install ffmpeg
68
+ brew install mkvtoolnix
69
+ brew install mpv
70
+
71
+ The `ffprobe` program is included within the `ffmpeg` package and the `mkvpropedit` program is included within the `mkvtoolnix` package.
72
+
59
73
  ## Usage
60
74
 
61
75
  Each tool in this package has several command line options. The `other-transcode` tool is the most complex with over 50 of its own. Use `--help` to list the options available for a specific tool, along with brief instructions on their usage:
data/bin/ask-ffmpeg-log CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ask-ffmpeg-log
4
4
  #
5
- # Copyright (c) 2019 Don Melton
5
+ # Copyright (c) 2019-2020 Don Melton
6
6
  #
7
7
 
8
8
  require 'abbrev'
@@ -16,8 +16,8 @@ module Transcoding
16
16
  class Command
17
17
  def about
18
18
  <<HERE
19
- ask-ffmpeg-log 0.1.0
20
- Copyright (c) 2019 Don Melton
19
+ ask-ffmpeg-log 0.1.1
20
+ Copyright (c) 2019-2020 Don Melton
21
21
  HERE
22
22
  end
23
23
 
@@ -26,7 +26,7 @@ HERE
26
26
  Report temporal information from ffmpeg-generated `.log` files
27
27
  containing encoding statistics.
28
28
 
29
- Usage: #{$PROGRAM_NAME} [OPTION]... [FILE|DIRECTORY]...
29
+ Usage: #{File.basename($PROGRAM_NAME)} [OPTION]... [FILE|DIRECTORY]...
30
30
 
31
31
  Options:
32
32
  --time sort results by time instead of speed
@@ -69,7 +69,8 @@ HERE
69
69
  complete
70
70
  exit
71
71
  rescue UsageError => e
72
- Kernel.warn "#{$PROGRAM_NAME}: #{e}\nTry `#{$PROGRAM_NAME} --help more` for more information."
72
+ Kernel.warn "#{$PROGRAM_NAME}: #{e}"
73
+ Kernel.warn "Try `#{File.basename($PROGRAM_NAME)} --help` for more information."
73
74
  exit false
74
75
  rescue StandardError => e
75
76
  Kernel.warn "#{$PROGRAM_NAME}: #{e}"
data/bin/other-transcode CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # other-transcode
4
4
  #
5
- # Copyright (c) 2019 Don Melton
5
+ # Copyright (c) 2019-2020 Don Melton
6
6
  #
7
7
 
8
8
  require 'English'
@@ -18,8 +18,8 @@ module Transcoding
18
18
  class Command
19
19
  def about
20
20
  <<HERE
21
- other-transcode 0.1.0
22
- Copyright (c) 2019 Don Melton
21
+ other-transcode 0.1.1
22
+ Copyright (c) 2019-2020 Don Melton
23
23
  HERE
24
24
  end
25
25
 
@@ -28,7 +28,7 @@ HERE
28
28
  Transcode Blu-ray Disc or DVD rip into a smaller, more portable format
29
29
  while remaining high enough quality to be mistaken for the original.
30
30
 
31
- Usage: #{$PROGRAM_NAME} [OPTION]... [FILE]...
31
+ Usage: #{File.basename($PROGRAM_NAME)} [OPTION]... [FILE]...
32
32
 
33
33
  Creates Matroska `.mkv` format file in current working directory.
34
34
 
@@ -320,7 +320,8 @@ HERE
320
320
  ARGV.each { |arg| process_input arg }
321
321
  exit
322
322
  rescue UsageError => e
323
- Kernel.warn "#{$PROGRAM_NAME}: #{e}\nTry `#{$PROGRAM_NAME} --help more` for more information."
323
+ Kernel.warn "#{$PROGRAM_NAME}: #{e}"
324
+ Kernel.warn "Try `#{File.basename($PROGRAM_NAME)} --help` for more information."
324
325
  exit false
325
326
  rescue StandardError => e
326
327
  Kernel.warn "#{$PROGRAM_NAME}: #{e}"
@@ -833,7 +834,8 @@ HERE
833
834
  seconds = Time.now.tv_sec
834
835
 
835
836
  unless @detect
836
- output_path = (@name.nil? ? File.basename(path, '.*') : @name) + '.' + @format.to_s
837
+ output_path = (@name.nil? ? File.basename(path, '.*') : File.basename(@name)) +
838
+ '.' + @format.to_s
837
839
  fail "output file already exists: #{output_path}" if File.exist? output_path
838
840
 
839
841
  log_path = output_path + '.log'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'other_video_transcoding'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.required_ruby_version = '>= 2.0'
5
5
  s.summary = 'Other tools to transcode videos.'
6
6
  s.description = <<-HERE
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: other_video_transcoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Melton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2020-01-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " Other Video Transcoding is a package of tools to transcode videos.\n"
14
14
  email: don@blivet.com