sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* lost sync warning
@ 2018-06-21 18:54 Mac
  2018-06-21 20:33 ` Jeremy Nicoll - ml sox users
  2018-06-22 11:14 ` Måns Rullgård
  0 siblings, 2 replies; 3+ messages in thread
From: Mac @ 2018-06-21 18:54 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]

Hi,

I did some normalization of some mp3 files and on some got the warning:

sox WARN mp3-util: MAD lost sync


The resulting files seem to be ok, i.e. they seem to play from beginning to
end (I have the pre normalization version of the file for comparison)

Also, the resulting files are much smaller. Sometimes megabytes smaller.
Whats up with that?

And, does normalizing an mp3 multiple times degrade the audio?

Regards,
Mac

[-- Attachment #1.2: Type: text/html, Size: 642 bytes --]

<div dir="ltr"><div>Hi,</div><div><br></div><div>I did some normalization of some mp3 files and on some got the warning:</div><div><br></div><div><pre>sox WARN mp3-util: MAD lost sync</pre></div><div><br></div><div>The resulting files seem to be ok, i.e. they seem to play from beginning to end (I have the pre normalization version of the file for comparison)</div><div><br></div><div>Also, the resulting files are much smaller. Sometimes megabytes smaller.</div><div>Whats up with that?</div><div><br></div><div>And, does normalizing an mp3 multiple times degrade the audio?</div><div><br></div><div>Regards,</div><div>Mac<br></div></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lost sync warning
  2018-06-21 18:54 lost sync warning Mac
@ 2018-06-21 20:33 ` Jeremy Nicoll - ml sox users
  2018-06-22 11:14 ` Måns Rullgård
  1 sibling, 0 replies; 3+ messages in thread
From: Jeremy Nicoll - ml sox users @ 2018-06-21 20:33 UTC (permalink / raw)
  To: sox-users

On 2018-06-21 19:54, Mac wrote:

> Also, the resulting files are much smaller. Sometimes megabytes 
> smaller.
> Whats up with that?

I don't know if sox preserves bit rates, compression types of the input 
files
when it creates output files; the manual suggests not - since it 
describes
'default' compression options being used and mentions sox's "-C" option 
for
choosing what you actually want.  (I've only ever created MP3s as the 
final
result of processing WAV files.)

I'd be inclined to run soxi against input and output files to see if 
rates
or compression type have changed.  Also use sox with the stat and/or 
stats
'effects' to find things out about the files.

Also see the 'soxformat' manual for specific notes on different audio 
file
formats.

-- 
Jeremy Nicoll - my opinions are my own

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lost sync warning
  2018-06-21 18:54 lost sync warning Mac
  2018-06-21 20:33 ` Jeremy Nicoll - ml sox users
@ 2018-06-22 11:14 ` Måns Rullgård
  1 sibling, 0 replies; 3+ messages in thread
From: Måns Rullgård @ 2018-06-22 11:14 UTC (permalink / raw)
  To: Mac; +Cc: sox-users

Mac <macdroid53@gmail.com> writes:

> Hi,
>
> I did some normalization of some mp3 files and on some got the warning:
>
> sox WARN mp3-util: MAD lost sync

That means the mp3 decoder didn't find a frame sync code where it
expected one.  This could be due to file corruption or simply a trailing
ID3 tag.

> The resulting files seem to be ok, i.e. they seem to play from beginning to
> end (I have the pre normalization version of the file for comparison)
>
> Also, the resulting files are much smaller. Sometimes megabytes smaller.
> Whats up with that?

The output probably uses a lower bit rate setting.

> And, does normalizing an mp3 multiple times degrade the audio?

Yes.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-21 18:54 lost sync warning Mac
2018-06-21 20:33 ` Jeremy Nicoll - ml sox users
2018-06-22 11:14 ` Måns Rullgård

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox