other_video_transcoding 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/LICENSE +1 -1
- data/README.md +15 -1
- data/bin/ask-ffmpeg-log +6 -5
- data/bin/other-transcode +8 -6
- data/other_video_transcoding.gemspec +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: a1982b8ee6d952b01d5c36833c741754ccd37508c0edc34a6b1de1b61daf9a21
|
4
|
+
data.tar.gz: 82d4874af0e4b9d25487a9f49764f920750c18dc7c368d0b8fd06fb35bef5c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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
|
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.
|
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}
|
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.
|
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}
|
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) +
|
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'
|
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.
|
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:
|
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
|