Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have made a little program that uses MP3 files.
My program gives an error reading the MP3 with "MPEG Audio Header not found".

I would like to know if it is possible in C# to add an audio header by code.

What I have tried:

I tried to make a Wav from the MP3 and ten convert this Wav back to MP3 and this helps, but it tikes a lot of work and is time consuming.
Posted
Updated 29-Nov-21 23:41pm
Comments
Richard MacCutchan 30-Nov-21 4:12am    
We cannot guess why your program produces that message.
Filip D. Williams 30-Nov-21 4:29am    
Thanks for the answer. Indeed some MP3 files miss the Audio Header which contains information about the Artist, Song, Genre, Album,....
I want to know if I can add this header with C# code.
Richard MacCutchan 30-Nov-21 4:41am    
You can add it using any programming language as long as you understand the structure of the file.
Filip D. Williams 30-Nov-21 4:50am    
Thank you Sir, I was hoping to find an example on how to do this.
Richard MacCutchan 30-Nov-21 5:36am    
Just use Google and you will most likely find some.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900