Click here to Skip to main content
15,885,216 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Re-encoding - Is there such a thing? Pin
Jason Hutchinson5-Aug-20 1:58
professionalJason Hutchinson5-Aug-20 1:58 
GeneralRe: Re-encoding - Is there such a thing? Pin
dandy725-Aug-20 4:34
dandy725-Aug-20 4:34 
GeneralRe: Re-encoding - Is there such a thing? Pin
mngerhold5-Aug-20 3:03
mngerhold5-Aug-20 3:03 
GeneralRe: Re-encoding - Is there such a thing? Pin
dandy725-Aug-20 4:40
dandy725-Aug-20 4:40 
GeneralRe: Re-encoding - Is there such a thing? Pin
mngerhold5-Aug-20 4:44
mngerhold5-Aug-20 4:44 
GeneralRe: Re-encoding - Is there such a thing? Pin
dandy725-Aug-20 4:54
dandy725-Aug-20 4:54 
GeneralRe: Re-encoding - Is there such a thing? Pin
kholsinger5-Aug-20 5:16
kholsinger5-Aug-20 5:16 
GeneralRe: Re-encoding - Is there such a thing? Pin
mngerhold5-Aug-20 5:44
mngerhold5-Aug-20 5:44 
I wondered if the frequency spectrum would be enough to indicate the bit rate, as although I knew that MP3 encoding 'threw away' bits of the sound, I didn't know whether that would show clearly on a spectrum - so I just took the same 5s clip from the sound track to Clockwork Orange (The Thieving Magpie) which I know contains some well defined high-frequency bits (a flute or somesuch - I used this track to compare recordings onto audio cassettes many years ago, to establish which tape quality (cost) level was needed to avoid unacceptable loss). I loaded the orignal WAV file from CD into Audacity, and did a spectrum. Then saved as MP3 at a variety of bitrates. and did the same. Without being able to load pictures here, I can table the maximum frequency seen in the plots for various bit rates, as it is very clear there is a pattern:
bit rate    -100dB freq (Hz)
Full (WAV)   21,300
320 kbps     20,100
256          19,400
128          16,600

I picked the freq at which the signal went below -100dB, as that corresponded roughly with the visual scale on the plot (which only goes down to -90 by default). The cutoff was well-defined, and if there is a place to put them, I can supply screen shots.

So one could take a resampled file and, if its frequency cutoff (of maybe a suitable bit) was below, say, 18kHz, one could judge that it came from a 128kbps original. It would be a lot of work to do that for all files, of course. You really need a tool that measures in one go the frequency cutoff.

What surprised me was that there was very little difference in the spectrum apart from the upper end - but of course, that is where the sample rate required for faithfull reproduction is greatest, so where the greatest reduction in file size can be obtained. Now off to look at the wavefoms in more detail...

I, of course, am retired, so have nothing better to do - and it was fun.
GeneralRe: Re-encoding - Is there such a thing? Pin
kholsinger5-Aug-20 6:23
kholsinger5-Aug-20 6:23 
GeneralRe: Re-encoding - Is there such a thing? Pin
Furkan Omay5-Aug-20 19:22
Furkan Omay5-Aug-20 19:22 
GeneralRe: Re-encoding - Is there such a thing? Pin
dandy726-Aug-20 8:18
dandy726-Aug-20 8:18 
GeneralRe: Re-encoding - Is there such a thing? Pin
patbob11-Aug-20 7:56
patbob11-Aug-20 7:56 
GeneralRe: Re-encoding - Is there such a thing? Pin
dandy7211-Aug-20 8:13
dandy7211-Aug-20 8:13 
General2 major explosions in Beyrouth Pin
Maximilien4-Aug-20 8:50
Maximilien4-Aug-20 8:50 
GeneralRe: 2 major explosions in Beyrouth Pin
OriginalGriff4-Aug-20 9:02
mveOriginalGriff4-Aug-20 9:02 
GeneralRe: 2 major explosions in Beyrouth Pin
Daniel Pfeffer4-Aug-20 10:28
professionalDaniel Pfeffer4-Aug-20 10:28 
GeneralRe: 2 major explosions in Beyrouth Pin
OriginalGriff4-Aug-20 10:41
mveOriginalGriff4-Aug-20 10:41 
GeneralRe: 2 major explosions in Beyrouth Pin
Daniel Pfeffer4-Aug-20 11:16
professionalDaniel Pfeffer4-Aug-20 11:16 
GeneralRe: 2 major explosions in Beyrouth Pin
OriginalGriff4-Aug-20 11:36
mveOriginalGriff4-Aug-20 11:36 
GeneralRe: 2 major explosions in Beyrouth Pin
Daniel Pfeffer4-Aug-20 12:06
professionalDaniel Pfeffer4-Aug-20 12:06 
GeneralRe: 2 major explosions in Beyrouth Pin
Nelek4-Aug-20 21:28
protectorNelek4-Aug-20 21:28 
GeneralRe: 2 major explosions in Beyrouth Pin
Dave Kreskowiak4-Aug-20 12:31
mveDave Kreskowiak4-Aug-20 12:31 
Generalcloning a m.2 drive Pin
raddevus4-Aug-20 8:07
mvaraddevus4-Aug-20 8:07 
GeneralRe: cloning a m.2 drive Pin
#realJSOP4-Aug-20 8:13
mve#realJSOP4-Aug-20 8:13 
GeneralRe: cloning a m.2 drive Pin
raddevus4-Aug-20 8:37
mvaraddevus4-Aug-20 8:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.