ffmpeg-video-info 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/ext/ffmpeg_video_info/ffmpeg_video_info.c +13 -13
- data/ffmpeg-video-info.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d89d70f6b4a00a2a94d906c2d14919073a86d8df
|
4
|
+
data.tar.gz: b6c8a8a29dbfe4438f707d3ec672d372cc44272e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d32135f2a177ba43d40bbeda249187b306a77753456a55362904f63fb86270140a5e78cc8168e7f56deb402f94d64158d1b0bfd021ac6f493eb01b2dbc00e57
|
7
|
+
data.tar.gz: 4bd3dcaec61cab35c8c1ecb9283978cebd497a98e8f13e41379ea23ed69df38373622997c833798a987aac2af10b108491f74e55e469cda6d1abbdebd2db1b95
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -117,21 +117,21 @@ void my_avcodec_string(AVCodecContext *enc, int encode, VALUE res)
|
|
117
117
|
|
118
118
|
switch (enc->codec_type) {
|
119
119
|
case AVMEDIA_TYPE_VIDEO:
|
120
|
-
if (enc->pix_fmt != AV_PIX_FMT_NONE) {
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
120
|
+
// if (enc->pix_fmt != AV_PIX_FMT_NONE) {
|
121
|
+
// const char *colorspace_name;
|
122
|
+
// // rb_hash_aset(res, rb_str_new2("pixel_format"), rb_str_new2(av_get_pix_fmt_name(enc->pix_fmt)));
|
123
|
+
// // if (enc->bits_per_raw_sample &&
|
124
|
+
// // enc->bits_per_raw_sample <= my_av_pix_fmt_desc_get(enc->pix_fmt)->comp[0].depth_minus1)
|
125
|
+
// // av_strlcatf(detail, sizeof(detail), "%d bpc, ", enc->bits_per_raw_sample);
|
126
|
+
// // if (enc->color_range != AVCOL_RANGE_UNSPECIFIED)
|
127
|
+
// // av_strlcatf(detail, sizeof(detail),
|
128
|
+
// // enc->color_range == AVCOL_RANGE_MPEG ? "tv, ": "pc, ");
|
129
129
|
|
130
|
-
|
131
|
-
|
132
|
-
|
130
|
+
// colorspace_name = av_get_colorspace_name(enc->colorspace);
|
131
|
+
// if (colorspace_name)
|
132
|
+
// rb_hash_aset(res, rb_str_new2("color_space"), rb_str_new2(colorspace_name));
|
133
133
|
|
134
|
-
}
|
134
|
+
// }
|
135
135
|
if (enc->width) {
|
136
136
|
rb_hash_aset(res, rb_str_new2("width"), INT2FIX(enc->width));
|
137
137
|
rb_hash_aset(res, rb_str_new2("height"), INT2FIX(enc->height));
|
data/ffmpeg-video-info.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "ffmpeg-video-info"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Pavel Tatarsky"]
|
12
|
-
s.date = "2013-12-
|
12
|
+
s.date = "2013-12-09"
|
13
13
|
s.description = "It only provides gathering info about media files"
|
14
14
|
s.email = "fazzzenda@mail.ru"
|
15
15
|
s.extensions = ["ext/ffmpeg_video_info/extconf.rb"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffmpeg-video-info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Tatarsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|