sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / 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 --]

[-- 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, other threads:[~2018-06-22 11:32 UTC | newest]

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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).