nuki Posted September 28, 2007 Posted September 28, 2007 (edited) I know that the ID3 Tag is at the top of a mp3 file but my problem is to read this mp3 file... i just come till ID3 ||.... when i try to read it with FileRead(), then it ends even if there is much more text. i wondered if i could read it in hex and kill/split the strings inside wich i dont need, and save it again but i dont know how it works... would be nice if somebody would explain it to me Edited September 28, 2007 by nuki
GaryFrost Posted September 28, 2007 Posted September 28, 2007 might want to look at http://www.autoitscript.com/forum/index.ph...st&p=410030 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
nuki Posted September 28, 2007 Author Posted September 28, 2007 yeah i already saw that (yeah i use the search function xD) but i dont want to use a .dll
Zedna Posted September 28, 2007 Posted September 28, 2007 yeah i already saw that (yeah i use the search function xD) but i dont want to use a .dllSearch forum for "ID3".Look here at LazyCat's UDF Resources UDF ResourcesEx UDF AutoIt Forum Search
nuki Posted September 29, 2007 Author Posted September 29, 2007 (edited) hm it dont works like it should... most times it shows there wouldnt be an id3 tag even if theres one... and when he found one he says things like Song Name: 0x34234234 ^^ i just want to know how to read in hex from a file, or how to read from a mp3 file without loosing information edit: yea i got it... for those who are interested: $file = "C:/test.mp3" $open = FileOpen($file,16) $data = FileRead($open) $data = BinaryToString($data) ;MsgBox(0,"",StringLen($data)) FileClose($open) $open = FileOpen("blub.txt",16+2) FileWrite($open,$data) FileClose($open) Edited September 29, 2007 by nuki
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now