Head-Fi: Covering Headphones, Earphones and Portable Audio  
  #1 (permalink)  
Old 04-04-2006, 10:30 PM
Febs's Avatar
Headphoneus Supremus
 
Join Date: Mar 2005
Location: Philadelphia, PA, USA
Posts: 2,786
Default Experiment: does transcoding from a low bitrate to a high bitrate improve quality?

After reading the off-topic discussion in this thread, I did a very simple experiment to test the hypothesis that the quality of an MP3 can be improved by transcoding to a higher bitrate.

Hypothesis: transcoding an MP3 file from a lower bitrate to a higher bitrate increases the quality of the file.

Methodology:
  1. Rip a 30 second clip of a song to .wav format.
  2. Encode from .wav to 64 kbps CBR MP3.
  3. Transcode from 64 kbps to 96 kbps CBR MP3
  4. Transcode from 96 kbps to 128 kbps CBR MP3
  5. Transcode from 128 kbps to 160 kbps CBR MP3
  6. Transcode from 160 kbps to 192 kbps CBR MP3
  7. Transcode from 192 kbps to 224 kbps CBR MP3
  8. Transcode from 224 kbps to 256 kbps CBR MP3

If the hypothesis that converting an MP3 from a lower bitrate to a higher bitrate makes a file sound better is true, then step 3 would result in a higher quality file than step 2.

Likewise, if the hypothesis is true, step 4 would yield a higher quality file than step 3, step 5 would yield a higher quality file than step 4, and so on. This could be expressed as:

8 > 7 > 6 > 5 > 4 > 3 > 2

It follows that if the hypothesis is true, then 8 > 2.


Results:

64 kbps clip
256 kbps clip
Original .wav clip

You can listen to the results and decide for yourself, but to my ear, the 256 kbps file is appreciably worse than the 64 kbps file, and both are appreciably worth than the original .wav. Thus, it is clear to me that transcoding to a higher bitrate does not increase quality.

Notes:

1. The clip I used was XTC's Mayor of Simpleton from Oranges and Lemons. There was no particular reason that I selected this song other than that I happened to have the CD with me.

2. You could achieve the same results by transcoding once from any lower bitrate to any higher bitrate. However, in that scenario, the difference between the two files is not nearly as noticeable, and--as seen in the original thread linked to above--the artifacts introduced by a single transcode can be subjectively interpreted as an improvement to the sound of an mp3. Doing the experiment with 6 separate transcoding steps, however, makes the file degradation obvious. If the hypothesis is correct, and transcoding from a low bitrate to a high bitrate increases sound quality, then it should be correct not only for one transcode, but for each individual transcode in the experiment.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #2 (permalink)  
Old 04-04-2006, 10:58 PM
Bunnyears's Avatar
Headphoneus Supremus
 
Join Date: Sep 2004
Posts: 4,498
Default

Here's my understanding: when you compress files you are actually also removing information in order to facilitate the compression. If you then "re-expand" the files by reencoding at a higher bitrate, you don't really get anything substantially better because you aren't replacing the information that was taken out in the original compression. You are actually taking a small file and re-compressing it, thus making it smaller (take 20% of X and then take another 80% of the 20% and you end up with 16% of X not 100%). No wonder it sounds worse when you try to "re-expand" the files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #3 (permalink)  
Old 04-04-2006, 11:15 PM
Febs's Avatar
Headphoneus Supremus
 
Join Date: Mar 2005
Location: Philadelphia, PA, USA
Posts: 2,786
Default

Absolutely. Each re-compression introduces additional compression artifacts and quantization noise. In the earlier thread that I linked to, however, there was some insistence that transcoding to a higher bitrate could improve quality.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #4 (permalink)  
Old 04-04-2006, 11:51 PM
100+ Head-Fi'er
 
Join Date: Dec 2005
Location: Poland and Tennessee
Posts: 105
Default

simply put, you can't polish a turd.
__________________
foobar>TBAAM>sr80
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #5 (permalink)  
Old 04-05-2006, 02:12 AM
Head-Fi'er formerly known as marcelproust
 
Join Date: May 2005
Posts: 49
Default

The first file reads as 176 kbps, not 64. I player with foobar and windows media player.
__________________
Headphones I currently own:
Sennheiser HD595, HD201, CX300, MX500, MX550, PX100, PC130, Koss KSC75
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #6 (permalink)  
Old 04-05-2006, 02:57 AM
guynamedjohn's Avatar
100+ Head-Fi'er
 
Join Date: Mar 2006
Location: San Francisco
Posts: 125
Default

If reencoding to a higher bit rate could improve sound then why stop at 64kbs? Why not go for 1kbps? Then put the transcoder on the player and I could fit my whole collection on an iPod nano.

Seriously, though, when you compress you lose data. It's a fair to debate whether what you lose is significant or not, but lost it is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #7 (permalink)  
Old 04-05-2006, 03:10 AM
Factor's Avatar
500+ Head-Fi'er
 
Join Date: Feb 2004
Posts: 538
Default

This experiment is quite the forehead-slapper.
__________________
Barracuda Mooseburger
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #8 (permalink)  
Old 04-05-2006, 03:28 AM
500+ Head-Fi'er
 
Join Date: Mar 2005
Location: Cupertino, Ca
Posts: 982
Send a message via AIM to cire
Default

oh course it wouldn't. you can't make something out of nothing.
__________________
Headphones: KSC-75, Porta Pro, E500
Sources: Toshiba SD-3950, iPod Video 30gb 5.5
Amps: Millett, MINT, CMoy
Feedback
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #9 (permalink)  
Old 04-05-2006, 03:40 AM
guynamedjohn's Avatar
100+ Head-Fi'er
 
Join Date: Mar 2006
Location: San Francisco
Posts: 125
Default

Quote:
Originally Posted by cire
oh course it wouldn't. you can't make something out of nothing.
Yes. You can't make chicken salad out of chicken sh*t.
__________________
Never put anything bigger than your elbow in your ear.

Home Rig: alac -> Stello DA220 -> EC Zana Deux -> k701/650/rs-1/D5000

Work Rig: alac -> grace m902 -> ATH-W5000

retired: mdr-cd770 gs-1000
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #10 (permalink)  
Old 04-05-2006, 06:28 AM
Febs's Avatar
Headphoneus Supremus
 
Join Date: Mar 2005
Location: Philadelphia, PA, USA
Posts: 2,786
Default

Quote:
Originally Posted by marcelproust
The first file reads as 176 kbps, not 64. I player with foobar and windows media player.
Whoops. You're right. Thanks for pointing that out. I used a bad switch. I'll fix that and repost the files.

Edit: files in the original post are now correct bitrates.

Quote:
Originally Posted by Factor
This experiment is quite the forehead-slapper.


I know, it seems obvious, but there are those who insist that transcoding to a higher bitrate increases quality, and I wanted to put together a demonstration that it just isn't true.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #11 (permalink)  
Old 04-05-2006, 01:31 PM
Bunnyears's Avatar
Headphoneus Supremus
 
Join Date: Sep 2004
Posts: 4,498
Default

Quote:
Originally Posted by Febs
I know, it seems obvious, but there are those who insist that transcoding to a higher bitrate increases quality, and I wanted to put together a demonstration that it just isn't true.
I was wondering why you were going to all of this trouble!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #12 (permalink)  
Old 04-05-2006, 03:07 PM
titaniumx3's Avatar
500+ Head-Fi'er
 
Join Date: Dec 2004
Location: UK (England)
Posts: 773
Default

Quote:
Originally Posted by Febs
I know, it seems obvious, but there are those who insist that transcoding to a higher bitrate increases quality, and I wanted to put together a demonstration that it just isn't true.
Obviously encoding from lower bitrate to higher bitrate won't increase quality for reasons already discussed, but percieved sound quality is very subjective and doesn't always correlate with the objective sound quality.

I've seen many tests done where people actually preffered 128kbps mp3s to the original. The mp3 compression artifacts may have added a smoothening effect that suited harsher material. Therefore increasing bitrate from lower bitrate may add more "beneficial" compression artifacts leading to the same effect.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #13 (permalink)  
Old 04-05-2006, 05:30 PM
Febs's Avatar
Headphoneus Supremus
 
Join Date: Mar 2005
Location: Philadelphia, PA, USA
Posts: 2,786
Default

I recognize that, and I wrote something very much to that effect in my original post:

Quote:
However, in that scenario, the difference between the two files is not nearly as noticeable, and--as seen in the original thread linked to above--the artifacts introduced by a single transcode can be subjectively interpreted as an improvement to the sound of an mp3. Doing the experiment with 6 separate transcoding steps, however, makes the file degradation obvious.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #14 (permalink)  
Old 04-05-2006, 05:47 PM
jagorev's Avatar
Headphoneus Supremus
 
Join Date: May 2005
Location: NYC
Posts: 3,299
Default

Heh. Nicely done. That 256 clip was AWFUL.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #15 (permalink)  
Old 04-05-2006, 06:12 PM
jbloudg20's Avatar
Headphoneus Supremus
 
Join Date: Apr 2005
Location: University of Connecticut
Posts: 2,282
Default

common sense
__________________
Denon 2900 -> M^3 -> ATH-W10VTG
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 10:39 AM.


Flickr/Twitter

Follow headfi on Twitter!

See Head-Fi photos on Flickr!



Head-Fi's Sponsors
(Premier Sponsors bolded)

Head-Fi Blogs
and Facebook

Check out Head-Fi's new
Blogs section.

Featured Head-Fi Blogs:


Jude's "Take My Word"

 From Japan - by Sasaki

Currawong's Blog

(
Start your own Blog!)

Attention
Facebook Users



Join the official
Head-Fi.org
Facebook Group


Flickr/Twitter

Follow headfi on Twitter!

See Head-Fi photos on Flickr!



Head-Fi's Sponsors
(Premier Sponsors bolded)


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
Head-Fi.org