Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4577442
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:20:47+00:00 2026-05-21T20:20:47+00:00

is there anyway to remove header information from mp3 file such that mp3 file

  • 0

is there anyway to remove header information from mp3 file such that mp3 file can’t be played?

regards,
hitendrasinh gohil

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:20:47+00:00Added an answer on May 21, 2026 at 8:20 pm

    You have to do more than remove the header to make an mp3 unplayable. If you take my other answer to your question and apply it to the whole file there should be no way it can be played:

    RandomAccessFile raf = new RandomAccessFile("input.mp3", "rw");
    byte[] buf = new byte[65536];
    long pos = 0;
    int len;
    Random random = new Random(34);
    while ((len = raf.read(buf)) != -1) {
        for (int i = 0; i < len; i++) {
            buf[i] ^= random.nextInt();
        }
        raf.seek(pos);
        raf.write(buf);
        pos = raf.getFilePointer();
    }
    raf.close();
    

    This will XOR every byte in the file. The only reason I suggested in the other answer to only do the first 64k was for performance since you’re on an Android device. For me that made it unplayable on my desktop. If doing the whole file doesn’t work for you then I suspect you’re doing something else wrong. There no way it’ll play the original music if every byte is changed like this. You can run this again to undo it and make the mp3 playable again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there anyway to use atrm command to remove queue job from PHP web
Is there anyway to remove a character from a given position? Let's say my
Is there anyway to remove text from a string set with set /p=Command? For
In PHPmailer is there anyway to remove the required from email address as your
Is there anyway to remove the comma from the Jspinner, i'm trying to use
I am curious to know if there is anyway I can remove OR change
Is there anyway to strip or replace or anything like that from one index
Is there any way to remove all forgeinKey and primary key contriants from Database
Is there any way to remove the contents of an file in php, do
Is there any way to remove header and footer of a html page, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.