ruby-ffprobe 0.0.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.
@@ -0,0 +1,42 @@
1
+ FFprobe version SVN-rUNKNOWN, Copyright (c) 2007-2008 Stefano Sabatini
2
+ libavutil version: 49.15.0
3
+ libavcodec version: 52.20.1
4
+ libavformat version: 52.31.0
5
+ built on May 22 2010 15:12:14, gcc: 4.2.1 (Apple Inc. build 5646) (dot 1)
6
+ Input #0, ogg, from '/Users/philip/Projects/ffprobe/test/testcases/source.ogv':
7
+ Duration: 00:00:05.66, start: 0.000000, bitrate: 241 kb/s
8
+ Stream #0.0: Video: theora, yuv420p, 320x240, PAR 1:1 DAR 4:3, 49.58 tbr, 49.58 tbn, 49.58 tbc
9
+ Stream #0.1: Audio: vorbis, 22050 Hz, stereo, s16
10
+ [STREAM]
11
+ codec_name=theora
12
+ decoder_time_base=12/595
13
+ codec_type=video
14
+ r_frame_rate=49.583333
15
+ r_frame_rate_num=595
16
+ r_frame_rate_den=12
17
+ width=320
18
+ height=240
19
+ gop_size=12
20
+ has_b_frames=0
21
+ sample_aspect_ratio=0/1
22
+ display_aspect_ratio=0/1
23
+ pix_fmt=yuv420p
24
+ index=0
25
+ time_base=12/595
26
+ start_time=0:00:00.000000 s
27
+ duration=N/A
28
+ nb_frames=0
29
+ [/STREAM]
30
+ [STREAM]
31
+ codec_name=vorbis
32
+ decoder_time_base=0/1
33
+ codec_type=audio
34
+ sample_rate=22.050 KHz
35
+ channels=2
36
+ bits_per_sample=0
37
+ index=1
38
+ time_base=1/22050
39
+ start_time=0:00:00.000000 s
40
+ duration=0:00:05.665669 s
41
+ nb_frames=0
42
+ [/STREAM]
@@ -0,0 +1,19 @@
1
+ FFprobe version SVN-rUNKNOWN, Copyright (c) 2007-2008 Stefano Sabatini
2
+ libavutil version: 49.15.0
3
+ libavcodec version: 52.20.1
4
+ libavformat version: 52.31.0
5
+ built on May 22 2010 15:12:14, gcc: 4.2.1 (Apple Inc. build 5646) (dot 1)
6
+ [mp3 @ 0x10180aa00]mdb:16, lastbuf:0 skipping granule 0
7
+ Input #0, mp3, from '/some_file.mp3':
8
+ Duration: 00:02:21.88, start: 0.000000, bitrate: 256 kb/s
9
+ Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
10
+ [TAGS]
11
+ track=1
12
+ title=title_placeholder
13
+ author=author_placeholder
14
+ copyright=copyright_placeholder
15
+ comment=comment_placeholder
16
+ album=album_placeholder
17
+ year=0
18
+ genre=genre_placeholder
19
+ [/TAGS]
@@ -0,0 +1,42 @@
1
+ FFprobe version SVN-rUNKNOWN, Copyright (c) 2007-2008 Stefano Sabatini
2
+ libavutil version: 49.15.0
3
+ libavcodec version: 52.20.1
4
+ libavformat version: 52.31.0
5
+ built on May 22 2010 15:12:14, gcc: 4.2.1 (Apple Inc. build 5646) (dot 1)
6
+ Input #0, ogg, from '/Users/philip/Projects/ffprobe/test/testcases/source.ogv':
7
+ Duration: 00:00:05.66, start: 0.000000, bitrate: 241 kb/s
8
+ Stream #0.0: Video: theora, yuv420p, 320x240, PAR 1:1 DAR 4:3, 49.58 tbr, 49.58 tbn, 49.58 tbc
9
+ Stream #0.1: Audio: vorbis, 22050 Hz, stereo, s16
10
+ [STREAM]
11
+ codec_name=theora
12
+ decoder_time_base=12/595
13
+ codec_type=video
14
+ r_frame_rate=49.583333
15
+ r_frame_rate_num=595
16
+ r_frame_rate_den=12
17
+ width=320
18
+ height=240
19
+ gop_size=12
20
+ has_b_frames=0
21
+ sample_aspect_ratio=0/1
22
+ display_aspect_ratio=0/1
23
+ pix_fmt=yuv420p
24
+ index=0
25
+ time_base=12/595
26
+ start_time=0.000000
27
+ duration=N/A
28
+ nb_frames=0
29
+ [/STREAM]
30
+ [STREAM]
31
+ codec_name=vorbis
32
+ decoder_time_base=0/1
33
+ codec_type=audio
34
+ sample_rate=22050.000000
35
+ channels=2
36
+ bits_per_sample=0
37
+ index=1
38
+ time_base=1/22050
39
+ start_time=0.000000
40
+ duration=5.665669
41
+ nb_frames=0
42
+ [/STREAM]
@@ -0,0 +1,19 @@
1
+ FFprobe version SVN-rUNKNOWN, Copyright (c) 2007-2008 Stefano Sabatini
2
+ libavutil version: 49.15.0
3
+ libavcodec version: 52.20.1
4
+ libavformat version: 52.31.0
5
+ built on May 22 2010 15:12:14, gcc: 4.2.1 (Apple Inc. build 5646) (dot 1)
6
+ [mp3 @ 0x10180aa00]mdb:16, lastbuf:0 skipping granule 0
7
+ Input #0, mp3, from '/some_file.mp3':
8
+ Duration: 00:02:21.88, start: 0.000000, bitrate: 256 kb/s
9
+ Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
10
+ [TAGS]
11
+ track=1
12
+ title=title_placeholder
13
+ author=author_placeholder
14
+ copyright=copyright_placeholder
15
+ comment=comment_placeholder
16
+ album=album_placeholder
17
+ year=0
18
+ genre=genre_placeholder
19
+ [/TAGS]
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-ffprobe
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Philip Garrett
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-06-12 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: |
23
+ = FFProbe - ffprobe wrapper for Ruby
24
+
25
+ FFprobe is a simple multimedia streams analyzer with a command-line
26
+ interface based on the FFmpeg project libraries. This is a ruby
27
+ interface to that command-line program.
28
+
29
+ == You will need
30
+
31
+ * A working Ruby installation
32
+ * A working ffprobe installation (http://sourceforge.net/projects/ffprobe/)
33
+ * A sane build environment
34
+
35
+ == Author
36
+
37
+ * Philip Garrett <philgarr at gmail.com>
38
+
39
+ == Copyright and License
40
+
41
+ Copyright (c) 2010 Philip Garrett.
42
+
43
+ Permission is hereby granted, free of charge, to any person obtaining a
44
+ copy of this software and associated documentation files (the
45
+ "Software"), to deal in the Software without restriction, including
46
+ without limitation the rights to use, copy, modify, merge, publish,
47
+ distribute, sublicense, and/or sell copies of the Software, and to
48
+ permit persons to whom the Software is furnished to do so, subject to
49
+ the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included
52
+ in all copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
55
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
57
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
58
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
59
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
60
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
61
+
62
+ email: philgarr@gmail.com
63
+ executables: []
64
+
65
+ extensions: []
66
+
67
+ extra_rdoc_files:
68
+ - LICENSE
69
+ - README.rdoc
70
+ files:
71
+ - .gitignore
72
+ - LICENSE
73
+ - README.rdoc
74
+ - Rakefile
75
+ - VERSION
76
+ - lib/ffprobe.rb
77
+ - lib/ffprobe/entity.rb
78
+ - lib/ffprobe/file_info.rb
79
+ - lib/ffprobe/frame_info.rb
80
+ - lib/ffprobe/packet_info.rb
81
+ - lib/ffprobe/parser.rb
82
+ - lib/ffprobe/result.rb
83
+ - lib/ffprobe/safe_pipe.rb
84
+ - lib/ffprobe/stream_info.rb
85
+ - lib/ffprobe/tags_info.rb
86
+ - lib/ffprobe/unit.rb
87
+ - test/ffprobe/test_ffprobe.rb
88
+ - test/ffprobe/test_file_info.rb
89
+ - test/ffprobe/test_parser.rb
90
+ - test/helper.rb
91
+ - test/test_result.rb
92
+ - test/testcases/files.testcase
93
+ - test/testcases/files_streams_tags.testcase
94
+ - test/testcases/frames.testcase
95
+ - test/testcases/no_args.testcase
96
+ - test/testcases/packets.testcase
97
+ - test/testcases/pretty_files.testcase
98
+ - test/testcases/pretty_files_streams_tags.testcase
99
+ - test/testcases/pretty_frames.testcase
100
+ - test/testcases/pretty_packets.testcase
101
+ - test/testcases/pretty_streams.testcase
102
+ - test/testcases/pretty_tags.testcase
103
+ - test/testcases/streams.testcase
104
+ - test/testcases/tags.testcase
105
+ has_rdoc: true
106
+ homepage: http://github.com/kingpong/ruby-ffprobe
107
+ licenses: []
108
+
109
+ post_install_message:
110
+ rdoc_options:
111
+ - --charset=UTF-8
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ hash: 3
129
+ segments:
130
+ - 0
131
+ version: "0"
132
+ requirements: []
133
+
134
+ rubyforge_project:
135
+ rubygems_version: 1.3.7
136
+ signing_key:
137
+ specification_version: 3
138
+ summary: Ruby wrapper for FFprobe multimedia analyzer
139
+ test_files:
140
+ - test/ffprobe/test_ffprobe.rb
141
+ - test/ffprobe/test_file_info.rb
142
+ - test/ffprobe/test_parser.rb
143
+ - test/helper.rb
144
+ - test/test_result.rb