Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: ID3v2 TAG unpack uninitialized value

by thanos1983 (Pilgrim)
on Jan 06, 2014 at 00:06 UTC ( #1069433=note: print w/ replies, xml ) Need Help??


in reply to Re^2: ID3v2 TAG unpack uninitialized value
in thread ID3v2 TAG unpack uninitialized value

Thanks for the tip no_slogan, I actually print tried all of them and I got the same result for (I An unsigned integer and for V A long integer in VAX order). Output can be viewed under:

This is the content of lines_0 with I: 990183424 This is the content of lines_1 with I: 826626132 This is the content of lines_2 with I: 167772160 This is the content of lines_3 with I: 1090519040 This is the content of lines_0 with V: 990183424 This is the content of lines_1 with V: 826626132 This is the content of lines_2 with V: 167772160 This is the content of lines_3 with V: 1090519040

When I tried to print the (N A long integer in network order) option I got this result:

This is the content of lines_0: 1339 This is the content of lines_1: 1414546737 This is the content of lines_2: 10 This is the content of lines_3: 65

The reason that I was using the (I An unsigned integer) characters is that on the official website description says:

http://id3.org/id3v2.4.0-structure
%x is used to indicate a bit with unknown content. ID3v2 size 4 * %0xxxxxxx
The ID3v2 tag size is stored as a 32 bit synchsafe integer (section 6. +2), making a total of 28 effective bits (representing up to 256MB).


Comment on Re^3: ID3v2 TAG unpack uninitialized value
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069433]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-11-28 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls