Hello sir,
I want convert a binary or video file to ASCII file.
How can we do it using java code.
Please give me the best answer.
Thank you in advance.
regards
sankar
Hello sir,
I want convert a binary or video file to ASCII file.
How can we do it using java code.
Please give me the best answer.
Thank you in advance.
regards
sankar
I’ll answer with a question… why do you want to do that?
Actually i want to convert video data into ascii format to load into the data base.
This is my project module.
I think, You know radar will send different format data.
I have to receive that data & then have to convert it into ascii format by using java api.
please help
thank you for your reply
regards
sankar
what kind of database? Usually they can take blob / binary data.
you could base64 encoded it.
http://commons.apache.org/codec/
and use org.apache.commons.codec.binary.Base64
ASCII is a translation table for storing text in binary. To convert your video to text simply watch the video and write down in detail everything that happens and then enter that into the database as ASCII.
If instead you want to load the actual video into the database then if you can’t load it directly as it is then base64 encoding it would be the more appropriate approach. (of course base64 encoding automatically makes it four times the original size).
Hello sir,
I want to convert binary file into ascii file.
I want do it by using java code only.
If you know code, please send it to me.
please help me to do it.
Thank you,
regards
sankar
Why not just change the extension to .txt
Voila!
we can change it to text, but now data will not be in readable format.
I want to correct output for binary data, to load data into database.
Later i need to do some operation on data.
Regards
sankar.