MP4Info Initial Release


#1

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/projects/mp4info/
and the RDocs at http://mp4info.rubyforge.org/

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


#2

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/projects/mp4info/
and the RDocs at http://mp4info.rubyforge.org/

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:ineach’
    test.rb:67:in `test_faac’]:
    <8> expected but was
    .

  2. Error:
    test_itunes(TestMP4Info):
    RuntimeError: Parse error
    ./…/lib/mp4info.rb:116:in parse_container' ./../lib/mp4info.rb:171:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:196:inparse_moov’
    ./…/lib/mp4info.rb:169:in send' ./../lib/mp4info.rb:169:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:74:ininitialize’
    ./…/lib/mp4info.rb:87:in new' ./../lib/mp4info.rb:87:inopen’
    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:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:196:inparse_moov’
    ./…/lib/mp4info.rb:169:in send' ./../lib/mp4info.rb:169:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:74:ininitialize’
    ./…/lib/mp4info.rb:87:in new' ./../lib/mp4info.rb:87:inopen’
    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:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:171:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:171:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:171:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:196:inparse_moov’
    ./…/lib/mp4info.rb:169:in send' ./../lib/mp4info.rb:169:inparse_atom’
    ./…/lib/mp4info.rb:112:in parse_container' ./../lib/mp4info.rb:74:ininitialize’
    ./…/lib/mp4info.rb:87:in new' ./../lib/mp4info.rb:87:inopen’
    test.rb:195:in `test_real’

4 tests, 1 assertions, 1 failures, 3 errors