Log in

View Full Version : Something wrong with this .mp3 file?


Tobiah
February 7th 14, 10:33 PM
I'm uploading voice notes from a mobile app, and I was looking
at ways to allow customers to hear them from the web. I found
that there is an <audio> tag that modern browsers can use to
stream the content. It worked for other .mp3 files I have
but not for the 8000Hz version that I've created. To get
the .mp3 I have to convert .3gp from my phone to .wav, then
use sox to normalize the file then I used lame to encode it
to .mp3.

Just wondered if anyone else could tell why my browser won't
read this file. Audacity reads it fine.

The web page is:

http://tobiah.org/foo.html

And the .mp3 file is at

http://tobiah.org/foo.mp3

Thanks for any help.

Tobiah

Tim Sprout
February 7th 14, 11:16 PM
On 2/7/2014 1:33 PM, Tobiah wrote:
> I'm uploading voice notes from a mobile app, and I was looking
> at ways to allow customers to hear them from the web. I found
> that there is an <audio> tag that modern browsers can use to
> stream the content. It worked for other .mp3 files I have
> but not for the 8000Hz version that I've created. To get
> the .mp3 I have to convert .3gp from my phone to .wav, then
> use sox to normalize the file then I used lame to encode it
> to .mp3.
>
> Just wondered if anyone else could tell why my browser won't
> read this file. Audacity reads it fine.
>
> The web page is:
>
> http://tobiah.org/foo.html
>
> And the .mp3 file is at
>
> http://tobiah.org/foo.mp3
>
> Thanks for any help.
>
> Tobiah

Try changing the bit depth from 32 to 16.

Tim Sprout

Nil[_2_]
February 8th 14, 06:24 AM
On 07 Feb 2014, Tobiah > wrote in rec.audio.pro:

> I'm uploading voice notes from a mobile app, and I was looking
> at ways to allow customers to hear them from the web. I found
> that there is an <audio> tag that modern browsers can use to
> stream the content. It worked for other .mp3 files I have
> but not for the 8000Hz version that I've created. To get
> the .mp3 I have to convert .3gp from my phone to .wav, then
> use sox to normalize the file then I used lame to encode it
> to .mp3.
>
> Just wondered if anyone else could tell why my browser won't
> read this file. Audacity reads it fine.
>
> The web page is:
>
> http://tobiah.org/foo.html
>
> And the .mp3 file is at
>
> http://tobiah.org/foo.mp3
>
> Thanks for any help.

I think something went wrong during your conversion - the file seems to
not be converted at all. None of my mp3 players will open the file.
Most ignore it or complain that the file is corrupt. When I look at it
with a hex editor, I see the string "ftyp3gp4" in its header, which
implies that it's still in 3gp format, despite the file's extension.

If I change the extension to .3gp, VLC Player will open it. VLC shows
the file to be in "AMR Narrow Band" format.

Peter Larsen[_3_]
February 8th 14, 10:31 AM
Tobiah wrote:

> I'm uploading voice notes from a mobile app, and I was looking
> at ways to allow customers to hear them from the web. I found
> that there is an <audio> tag that modern browsers can use to
> stream the content. It worked for other .mp3 files I have
> but not for the 8000Hz version that I've created. To get
> the .mp3 I have to convert .3gp from my phone to .wav, then
> use sox to normalize the file then I used lame to encode it
> to .mp3.

> Just wondered if anyone else could tell why my browser won't
> read this file. Audacity reads it fine.

> The web page is:

> http://tobiah.org/foo.html

the error message is:

"Your browser does not support the audio tag."

When I "show source" the source code is:

<audio controls>
<source src="foo.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>

So I reckon the file is ok and your html isn't. Try just linking to the file
as if for download.

Kind regards

Peter Larsen

> And the .mp3 file is at
>
> http://tobiah.org/foo.mp3

If I ask internet explorer to open that url ie8 asks whether I want to play
it with vlc or download it.

> Thanks for any help.

You're welcome, what was you trying to accomplish?

> Tobiah

Kind regards

Peter Larsen

February 9th 14, 01:07 AM
Peter Larsen wrote: "You're welcome, what was you trying to accomplish?"


I suspect he just wants to listen to the thing. Problem is, the original format may not be from this planet.

Tobiah
February 10th 14, 06:04 PM
> the error message is:
>
> "Your browser does not support the audio tag."
>
> When I "show source" the source code is:
>
> <audio controls>
> <source src="foo.mp3" type="audio/mpeg">
> Your browser does not support the audio tag.
> </audio>
>
> So I reckon the file is ok and your html isn't. Try just linking to the file
> as if for download.

That's how the tag is intended to work. If the
browser does support the audio tag, it would
silently consume the content outside of the
<source> tag.

Tobiah
February 10th 14, 06:07 PM
On 02/08/2014 05:07 PM, wrote:
> Peter Larsen wrote: "You're welcome, what was you trying to accomplish?"
>
>
> I suspect he just wants to listen to the thing. Problem is, the original format may not be from this planet.
>

I want customers to be able to listen to the thing.

I'd never heard of the format, but is is one of a
small number of not-from-this-planet formats that
I can choose from when recording under Android os.

I think it's a lossy compression format that
specializes in compressing the spoken voice.

Tobiah
February 10th 14, 06:08 PM
On 02/07/2014 10:24 PM, Nil wrote:
> On 07 Feb 2014, Tobiah > wrote in rec.audio.pro:
>
>> I'm uploading voice notes from a mobile app, and I was looking
>> at ways to allow customers to hear them from the web. I found
>> that there is an <audio> tag that modern browsers can use to
>> stream the content. It worked for other .mp3 files I have
>> but not for the 8000Hz version that I've created. To get
>> the .mp3 I have to convert .3gp from my phone to .wav, then
>> use sox to normalize the file then I used lame to encode it
>> to .mp3.
>>
>> Just wondered if anyone else could tell why my browser won't
>> read this file. Audacity reads it fine.
>>
>> The web page is:
>>
>> http://tobiah.org/foo.html
>>
>> And the .mp3 file is at
>>
>> http://tobiah.org/foo.mp3
>>
>> Thanks for any help.
>
> I think something went wrong during your conversion - the file seems to
> not be converted at all. None of my mp3 players will open the file.
> Most ignore it or complain that the file is corrupt. When I look at it
> with a hex editor, I see the string "ftyp3gp4" in its header, which
> implies that it's still in 3gp format, despite the file's extension.
>
> If I change the extension to .3gp, VLC Player will open it. VLC shows
> the file to be in "AMR Narrow Band" format.
>

I see, I'll have to look at it more closely. The fact that Audacity
was able to load and play the file with no problems lead me to falsely
believe that the .mp3 file was valid.

Thanks,

Tobiah

Peter Larsen[_3_]
February 10th 14, 07:56 PM
Tobiah wrote:

> On 02/07/2014 10:24 PM, Nil wrote:

>> If I change the extension to .3gp, VLC Player will open it. VLC shows
>> the file to be in "AMR Narrow Band" format.

> I see, I'll have to look at it more closely. The fact that Audacity
> was able to load and play the file with no problems lead me to falsely
> believe that the .mp3 file was valid.

AHA!

> Tobiah

Kind regards

Peter Larsen

Phil W[_3_]
February 10th 14, 08:28 PM
Peter Larsen:
> Tobiah wrote:
>
>> On 02/07/2014 10:24 PM, Nil wrote:
>
>>> If I change the extension to .3gp, VLC Player will open it. VLC shows
>>> the file to be in "AMR Narrow Band" format.

Which is/was pretty common for files recorded on cell phones and has been
for quite a number of years.

>> I see, I'll have to look at it more closely. The fact that Audacity
>> was able to load and play the file with no problems lead me to falsely
>> believe that the .mp3 file was valid.
>
> AHA!

Oh, yeah!
The proven old problem with a false file format extension. ;-)

Everybody here should know it already, but to make it a bit more sure:

in such cases, the "MediaInfo" opensource program (for Win, MacOS, Linux,
BSD) can help to find out, which codecs are actually used inside a "media
file" (audio and/or video).

https://mediaarea.net/en/MediaInfo

*for Windows, I suggest downloading the version *without* installer


Phil

February 10th 14, 09:10 PM
On Monday, February 10, 2014 1:08:25 PM UTC-5, Tobiah wrote:
> On 02/07/2014 10:24 PM, Nil wrote:
>
> > On 07 Feb 2014, ote in rec.audio.pro:
>
> >
>
> >> I'm uploading voice notes from a mobile app, and I was looking
>
> >> at ways to allow customers to hear them from the web. I found
>
> >> that there is an <audio> tag that modern browsers can use to
>
> >> stream the content. It worked for other .mp3 files I have
>
> >> but not for the 8000Hz version that I've created. To get
>
> >> the .mp3 I have to convert .3gp from my phone to .wav, then
>
> >> use sox to normalize the file then I used lame to encode it
>
> >> to .mp3.
>
> >>
>
> >> Just wondered if anyone else could tell why my browser won't
>
> >> read this file. Audacity reads it fine.
>
> >>
>
> >> The web page is:
>
> >>
>
> >> http://tobiah.org/foo.html
>
> >>
>
> >> And the .mp3 file is at
>
> >>
>
> >> http://tobiah.org/foo.mp3
>
> >>
>
> >> Thanks for any help.
>
> >
>
> > I think something went wrong during your conversion - the file seems to
>
> > not be converted at all. None of my mp3 players will open the file.
>
> > Most ignore it or complain that the file is corrupt. When I look at it
>
> > with a hex editor, I see the string "ftyp3gp4" in its header, which
>
> > implies that it's still in 3gp format, despite the file's extension.
>
> >
>
> > If I change the extension to .3gp, VLC Player will open it. VLC shows
>
> > the file to be in "AMR Narrow Band" format.
>
> >
>
>
>
> I see, I'll have to look at it more closely. The fact that Audacity
>
> was able to load and play the file with no problems lead me to falsely
>
> believe that the .mp3 file was valid.
>
>
>
> Thanks,
>
>
>
> Tobiah
___________

Well, since you got it into a DAW, export a WAV of it for archival, and a compressed version for loading onto your players.

February 10th 14, 09:14 PM
On Friday, February 7, 2014 5:33:26 PM UTC-5, Tobiah wrote:
> I'm uploading voice notes from a mobile app, and I was looking
>
> at ways to allow customers to hear them from the web. I found
>
> that there is an <audio> tag that modern browsers can use to
>
> stream the content. It worked for other .mp3 files I have
>
> but not for the 8000Hz version that I've created. To get
>
> the .mp3 I have to convert .3gp from my phone to .wav, then
>
> use sox to normalize the file then I used lame to encode it
>
> to .mp3.
>
>
>
> Just wondered if anyone else could tell why my browser won't
>
> read this file. Audacity reads it fine.
>
>
>
> The web page is:
>
>
>
> http://tobiah.org/foo.html
>
>
>
> And the .mp3 file is at
>
>
>
> http://tobiah.org/foo.mp3
>
>
>
> Thanks for any help.
>
>
>
> Tobiah
-------------------

mp3 plays fine in Chrome and Windows MP.


Hmmm. A couple of years back I had a crisis where my music files were suddenly shortned(as in: cut off in middle of song), or were disappearing. I.E. The 8min Hey Jude was suddenly 2:47, cutting off during the second verse.


They had the suffix *.mp3 on them, but were they *really* mp3s???


No one here, or at alt.computer, or on the Apple Community Forums, had ever heard of my problem before.

February 10th 14, 09:16 PM
On Monday, February 10, 2014 4:14:59 PM UTC-5, wrote:
> On Friday, February 7, 2014 5:33:26 PM UTC-5, Tobiah wrote:
>
> > I'm uploading voice notes from a mobile app, and I was looking
>
> >
>
> > at ways to allow customers to hear them from the web. I found
>
> >
>
> > that there is an <audio> tag that modern browsers can use to
>
> >
>
> > stream the content. It worked for other .mp3 files I have
>
> >
>
> > but not for the 8000Hz version that I've created. To get
>
> >
>
> > the .mp3 I have to convert .3gp from my phone to .wav, then
>
> >
>
> > use sox to normalize the file then I used lame to encode it
>
> >
>
> > to .mp3.
>
> >
>
> >
>
> >
>
> > Just wondered if anyone else could tell why my browser won't
>
> >
>
> > read this file. Audacity reads it fine.
>
> >
>
> >
>
> >
>
> > The web page is:
>
> >
>
> >
>
> >
>
> > http://tobiah.org/foo.html
>
> >
>
> >
>
> >
>
> > And the .mp3 file is at
>
> >
>
> >
>
> >
>
> > http://tobiah.org/foo.mp3
>
> >
>
> >
>
> >
>
> > Thanks for any help.
>
> >
>
> >
>
> >
>
> > Tobiah
>
> -------------------
>
>
>
> mp3 plays fine in Chrome and Windows MP.
>
>
>
>
>
> Hmmm. A couple of years back I had a crisis where my music files were suddenly shortned(as in: cut off in middle of song), or were disappearing. I.E. The 8min Hey Jude was suddenly 2:47, cutting off during the second verse.
>
>
>
>
>
> They had the suffix *.mp3 on them, but were they *really* mp3s???
>
>
>
>
>
> No one here, or at alt.computer, or on the Apple Community Forums, had ever heard of my problem before.



I ran my entire collection through freeware MP3Val, replaced the dozen or so damaged files that it found, and haven't had the problem since. :)

Trevor
February 11th 14, 10:32 AM
> wrote in message
...
>> Hmmm. A couple of years back I had a crisis where my music files were
>> suddenly shortned(as in: cut off in middle of song), or were
>> disappearing. I.E. The 8min Hey Jude was suddenly 2:47, cutting off
>> during the second verse.
>> They had the suffix *.mp3 on them, but were they *really* mp3s???
>> No one here, or at alt.computer, or on the Apple Community Forums, had
>> ever heard of my problem before.
>
> I ran my entire collection through freeware MP3Val, replaced the dozen or
> so damaged files that it found, and haven't had the problem since. :)

You stopped using iTunes right?

Trevor.

February 12th 14, 09:49 PM
On Tuesday, February 11, 2014 5:32:38 AM UTC-5, Trevor wrote:
> <thekmanro
> >> Hmmm. A couple of years back I had a crisis where my music files were
>
> >> suddenly shortned(as in: cut off in middle of song), or were
>
> >> disappearing. I.E. The 8min Hey Jude was suddenly 2:47, cutting off
>
> >> during the second verse.
>
> >> They had the suffix *.mp3 on them, but were they *really* mp3s???
>
> >> No one here, or at alt.computer, or on the Apple Community Forums, had
>
> >> ever heard of my problem before.
>
> >
>
> > I ran my entire collection through freeware MP3Val, replaced the dozen or
>
> > so damaged files that it found, and haven't had the problem since. :)
>
>
>
> You stopped using iTunes right?
>
>
>
> Trevor.
___________________

Nope. Since using mp3Val to fix the bad files, have not had any shortened songs or disappearances.

I'd blame the files themselves before anything else. But this is about Tobiah's issue, not mine.

And I think we both were bit by files masquerading as .mp3.

None
February 14th 14, 01:06 PM
> wrote in message
...
>> <Many pages of "September" snipped, because li'l Chrissie is too
>> stupid to quote properly.
>>
>> Hmmm. A couple of years back I had a crisis where my music files
>> were suddenly shortned(as in: cut off in middle of song), or were
>> disappearing. I.E. The 8min Hey Jude was suddenly 2:47, cutting
>> off during the second verse.
>> <snip more Chrissie cluelessness>
>> They had the suffix *.mp3 on them, but were they *really* mp3s???

Are you too stupid to answer that question?

>> <snip more Chrissie cluelessness>
>> No one here, or at alt.computer, or on the Apple Community Forums,
>> had ever heard of my problem before.

It really didn't matter what anyone suggested, you were just too
stupid
to listen. In the end, nobody gave a **** about a problem that you
probably
imagined anyway. It's a wonder that you even asked, since you're too
stupid to understand the answers, and even if you did understand them,
you're too stupid to listen.

None
February 14th 14, 01:09 PM
> wrote in message
...
>> <more pages of Chrissie's eternally clueless September snipped>

>> You stopped using iTunes right?
>
> Nope.

Just too stupid!

> I'd blame the files themselves before anything else.

Because you're a moron, and you refuse to take advice from the experts
you asked,

> But this is about Tobiah's issue, not mine.

You were the one that brought up you're imaginary "problem". Again.
And agiain.