[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] MP4Info Initial Release

jason.terk@gmail.com

2/10/2006 4:11:00 AM

Hello Rubyists,

I would like to announce the release of my first Ruby project:
MP4Info. Please use and abuse the library and please give me any
hints, tips and tricks to make a better mousetrap; I haven't been in
the Ruby game for long.

Briefly, MP4Info supports the reading of tags and file info from MP4
audio files and is based on the Perl module MP4::Info
(search.cpan.org/~jhar/MP4-Info/). For more information please visit
the MP4Info RubyForge site at http://rubyforge.org/project...
and the RDocs at http://mp4info.ruby...

Note that Unicode tags are not correctly read; any tips on this matter
would be greatly appreciated.

Thanks for your time and your interest in MP4Info,
-Jason Terk


1 Answer

Miloš Broulík

5/18/2009 12:49:00 PM

0

Jason Terk wrote:
> Hello Rubyists,
>
> I would like to announce the release of my first Ruby project:
> MP4Info. Please use and abuse the library and please give me any
> hints, tips and tricks to make a better mousetrap; I haven't been in
> the Ruby game for long.
>
> Briefly, MP4Info supports the reading of tags and file info from MP4
> audio files and is based on the Perl module MP4::Info
> (search.cpan.org/~jhar/MP4-Info/). For more information please visit
> the MP4Info RubyForge site at http://rubyforge.org/project...
> and the RDocs at http://mp4info.ruby...
>
> Note that Unicode tags are not correctly read; any tips on this matter
> would be greatly appreciated.
>
> Thanks for your time and your interest in MP4Info,
> -Jason Terk

Thii is something I was looking for, but it doesn work for me :-/ I have
one-click installed ruby on my system WinXP 32bit, only gem I have
downloaded was MP4Info

when I try provided test I get 3 errors:
D:\dev\ruby\lib\ruby\gems\1.8\gems\MP4Info-0.3.3\test>ruby test.rb
Loaded suite test
Started
FEEE
Finished in 0.047 seconds.

1) Failure:
test_faac(TestMP4Info)
[test.rb:68:in `test_faac'
test.rb:67:in `each'
test.rb:67:in `test_faac']:
<8> expected but was
<nil>.

2) Error:
test_itunes(TestMP4Info):
RuntimeError: Parse error
./../lib/mp4info.rb:116:in `parse_container'
./../lib/mp4info.rb:171:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:196:in `parse_moov'
./../lib/mp4info.rb:169:in `send'
./../lib/mp4info.rb:169:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:74:in `initialize'
./../lib/mp4info.rb:87:in `new'
./../lib/mp4info.rb:87:in `open'
test.rb:107:in `test_itunes'

3) Error:
test_nero(TestMP4Info):
RuntimeError: Premature end of file
./../lib/mp4info.rb:501:in `read_or_raise'
./../lib/mp4info.rb:122:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:196:in `parse_moov'
./../lib/mp4info.rb:169:in `send'
./../lib/mp4info.rb:169:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:74:in `initialize'
./../lib/mp4info.rb:87:in `new'
./../lib/mp4info.rb:87:in `open'
test.rb:149:in `test_nero'

4) Error:
test_real(TestMP4Info):
RuntimeError: Parse error
./../lib/mp4info.rb:116:in `parse_container'
./../lib/mp4info.rb:171:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:171:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:171:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:171:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:196:in `parse_moov'
./../lib/mp4info.rb:169:in `send'
./../lib/mp4info.rb:169:in `parse_atom'
./../lib/mp4info.rb:112:in `parse_container'
./../lib/mp4info.rb:74:in `initialize'
./../lib/mp4info.rb:87:in `new'
./../lib/mp4info.rb:87:in `open'
test.rb:195:in `test_real'

4 tests, 1 assertions, 1 failures, 3 errors
--
Posted via http://www.ruby-....