Error Reading Headers Mp3 Input File
Topic: "Error reading headers in mp3 input file..." « previous next » Pages: [1] Reply Print Author Topic: "Error reading headers in mp3 input file..." (Read 5046 times) David1105 CCCP Captain Posts: 52 "Error reading headers in mp3 input file..." « on: April 23, 2007, 12:53:42 PM » Quote When encoding .mp3 files as input using LAME.EXE, it spills:"Error reading headers in mp3 input file..."Does anyone know what's cause of the problem and how to fix it? Should it be correct to "modify" the header of the output .mp3 to correct the problem?Thanks! Logged Nicholi Administrator Posts: 1742 Re: "Error reading headers in mp3 input file..." « Reply #1 on: April 23, 2007, 01:33:49 PM » Quote Perhaps the files are corrupted and thus you should not be re-encoding them. Just the same you could decode to WAV first and feed that input to LAME. Otherwise I've never seen a problem like that before. If correctly "modifying" the headers fixes the issue...why not do it. Logged David1105 CCCP Captain Posts: 52 Re: "Error reading headers in mp3 input file..." « Reply #2 on: April 23, 2007, 02:30:30 PM » Quote Quote from: Nicholi on April 23, 2007, 01:33:49 PMJust the same you could decode to WAV first and feed that input to LAME.Do you mean encoding the input .mp3 to .wav first, then the .wav to a output .mp3?Quote from: Nicholi on April 23, 2007, 01:33:49 PMOtherwise I've never seen a problem like that before.This error message seems like piped out from LAME.EXE.Quote from: Nicholi on April 23, 2007, 01:33:49 PMIf correctly "modifying" the headers fixes the issue...why not do it.I'll try your suggestion of MP3->WAV->MP3 first...Thanks! Logged Reply Print Pages: [1] « previous next » CCCP Project Forums > CCCP > Playback Help > Topic: "Error reading headers in mp3 input file..." SMF 2.0.12 | SMF © 2016, Simple Machines XHTML RSS WAP2 Page created in 0.201 seconds with 20 queries.
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop http://www.cccp-project.net/forums/index.php?topic=1585.0 file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse LAME (Lame Aint an MP3 Encoder) Mailing Lists LAME (Lame Aint an MP3 Encoder) A high quality MP3 encoder Brought to you by: aleidinger, bouvigne, jaz001, rbrito, robert Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Bugs Support Requests Patches Feature https://sourceforge.net/p/lame/mailman/message/8800839/ Requests News Discussion Code lame-cvs lame-dev [Lame-dev] [ lame-Bugs-941652 ] Could not decode MP2 to WAV or recode to MP3 [Lame-dev] [ lame-Bugs-941652 ] Could not decode MP2 to WAV or recode to MP3 From: SourceForge.net
and .exe files renamed to .mp3) and have beengetting inconsistent error reporting http://mp3encoder.minnie.tuhs.narkive.com/nT3yIYBE/lame-decode-failing-to-abort-on-garbage-files from lame.Converting 04_Bogus.mp3 to WAV...nice lame --decode source/04_Bogus.mp3 converting/track03.wav 2>&1Error reading headers in mp3 input file source/04_Bogus.mp3.Failed to convert 04_Bogus.mp3 to WAV.In this https://android.googlesource.com/platform/external/lame/+/master/frontend/get_audio.c first case, the garbage file is detected and lame exitswith a non-zero status.Converting DivXInstaller.mp3 to WAV...nice lame --decode source/DivXInstaller.mp3 converting/track02.wav 2>&1Input file is error reading freeformat.(44.1 kHz, 2 channels, MPEG-1 Layer III)output: converting/track02.wav(16 bit, Microsoft WAVE)skipping initial 1105 samples (encoder+decoder delay)Error: sample frequency has changed in MP3 file - not supportedmpglib: wordpointer trashed. size=2013 (1792) bytes=53902Error: sample frequency has changed in MP3 file - not supportedError: sample frequency has changed in error reading headers MP3 file - not supportedIn this second case, the garbage file is mistakenly detected asa "freeformat" mp3 and manages to stumble its way through theprocess. Despite logging errors, lame returns a success!Does anyone know if it is possible to1) abort decoding when an error is detected? or2) disallow freeformat encodingI recognize that it wouldn't be terribly difficult to parse thelog looking for errors, but it seems more logical to me to preferthat lame return the expected status.Adam sathish 2008-06-16 04:13:23 UTC PermalinkRaw Message Hello Adam,Sorry for the delay in the reply. I am travelling and have irregular accessto the mails. I will get back to you and update you on the same as soon asI am back in office.Sorry for the inconvenience caused to you.Have a great DayKrishna Kumar (KK)Sr Manager Business DevelopmentEnventure Technologies Inc.,-----Original Message-----From: mp3encoder-bounces-***@public.gmane.org[mailto:mp3en
is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. *//* $Id: get_audio.c,v 1.125.2.2 2009/01/18 15:44:28 robert Exp $ */#ifdef HAVE_CONFIG_H# include