video_transcoding 0.17.3 → 0.17.4

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
  SHA1:
3
- metadata.gz: 241a0deb1c290faf3bc3369d8ffe5553d50fe625
4
- data.tar.gz: 6f86fc711f6c6987a43e49e809de4c40bcfc28f2
3
+ metadata.gz: c5aa56f69211e30de197ee43f747cf2ea114f65e
4
+ data.tar.gz: 2f946e55ba82a92b2fe07192212e65215cb45bad
5
5
  SHA512:
6
- metadata.gz: 57641bd39a63881135fb6107dd1db91e2376b81c785a2a107b62ab22cd7b5226719c3681e8d6a3f4e9b541955ace2f00c2c66631af455941f4c892571eb4e179
7
- data.tar.gz: 3413a920260f3526f5cfcf3d4c863bf8d010d293a6815cad2bc3411ffe5e52e19d92af77f8321e9efeb8fc90fefde8cbd6d19d4a4f1c47b9caed1619fa4a8c79
6
+ metadata.gz: 4d53c980877d8a9158a2b7fac7f7266ee7456b28456893a88f4048ee7dfa0c600d6cf752fd95f25933331a1d4df90bc13dd1158a0dfc759839a7bdd9cc29a01f
7
+ data.tar.gz: 5252ee36d67adb2be542c0de66065e977526199d515670f635615b0930ad9f4eecfb15f2fd0fe1d85032e00ab0b7aba0e5f66fcb269b917d5975e9b605b18aa3
data/README.md CHANGED
@@ -662,6 +662,12 @@ For a few problematic videos, I have to apply options like `--force-rate 23.976
662
662
 
663
663
  ## History
664
664
 
665
+ Sunday, September 10, 2017
666
+
667
+ ### [0.17.4](https://github.com/donmelton/video_transcoding/releases/tag/0.17.4)
668
+
669
+ * Force text output from `mp4track` into UTF-8 binary format to ensure correct parsing of that data. Thanks, [@DavidNielsen](https://github.com/DavidNielsen)! Via [ #152](https://github.com/donmelton/video_transcoding/pull/152).
670
+
665
671
  Sunday, May 14, 2017
666
672
 
667
673
  ### [0.17.3](https://github.com/donmelton/video_transcoding/releases/tag/0.17.3)
@@ -327,12 +327,17 @@ module VideoTranscoding
327
327
  MP4track.command_name,
328
328
  '--list',
329
329
  path
330
- ], :err=>[:child, :out]) { |io| output = io.read }
330
+ ], :err=>[:child, :out]) do |io|
331
+ io.each do |line|
332
+ line.encode! 'UTF-8', 'binary', invalid: :replace, undef: :replace, replace: ''
333
+ Console.debug line
334
+ output += line
335
+ end
336
+ end
331
337
  rescue SystemCallError => e
332
338
  raise "scanning failed: #{e}"
333
339
  end
334
340
 
335
- Console.debug output
336
341
  fail 'scanning failed' unless $CHILD_STATUS.exitstatus == 0
337
342
  output
338
343
  end
@@ -5,5 +5,5 @@
5
5
  #
6
6
 
7
7
  module VideoTranscoding
8
- VERSION = '0.17.3'
8
+ VERSION = '0.17.4'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_transcoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Melton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-14 00:00:00.000000000 Z
11
+ date: 2017-09-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Video Transcoding is a package of tools to transcode, inspect
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  requirements: []
66
66
  rubyforge_project:
67
- rubygems_version: 2.6.11
67
+ rubygems_version: 2.6.13
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Tools to transcode, inspect and convert videos.