This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: bladeenc - fairly easy port.


As I understand there might be issues WRT copyright on mp3-encoding.
There is some wording on this at the site indicated below.

Therefore I have to ask;
Will it be a "to high risk" to include bladeenc in cygwin as a package?

Below you can see that it is LGPL too; would that be a hindrance?
--

Now to my results...  (I'll polish/check the needed patches, before handing
them out).

This is on a P2 @450 MHz

$ bladeenc *.wav

BladeEnc 0.94.2    (c) Tord Jansson            Homepage:
http://bladeenc.mp3.no
============================================================================
===
BladeEnc is free software, distributed under the Lesser General Public
License.
See the file COPYING, BladeEnc's homepage or www.fsf.org for more details.

Files to encode: 11

<SNIP>
Encoding:  B5_SoLong.wav
Input:     44.1 kHz, 16 bit, stereo.
Output:    128 kBit, stereo.

Completed. Encoding time: 00:01:40 (1.83X)

All operations completed. Total encoding time: 00:20:04

$ ls -l *.wav
-rw-r--r--    1 Hannu    37799012 Dec 19  2002 A1_MammaMia.wav
-rw-r--r--    1 Hannu    34999244 Dec 19  2002 A2_HeyHeyHelen.wav
-rw-r--r--    1 Hannu    32891572 Dec 19  2002 A3_TropicalLoveland.wav
-rw-r--r--    1 Hannu    35984292 Dec 19  2002 A4_SOS.wav
-rw-r--r--    1 Hannu    32313260 Dec 19  2002 A5_ManInTheMiddle.wav
-rw-r--r--    1 Hannu    31875712 Dec 19  2002 A6_BangABoomerang.wav
-rw-r--r--    1 Hannu    34985768 Dec 19  2002 B1_IDoIDoIDoIDoIDo.wav
-rw-r--r--    1 Hannu    33053412 Dec 19  2002 B2_RockMe.wav
-rw-r--r--    1 Hannu    40361308 Dec 19  2002 B3_IntermezzoNo1.wav
-rw-r--r--    1 Hannu    38310436 Dec 19  2002 B4_IveBeenWaitingForYou.wav
-rw-r--r--    1 Hannu    32222900 Dec 19  2002 B5_SoLong.wav

$ ls -l *.mp3
-rw-r--r--    1 Hannu     3428520 Sep 23 17:14 A1_MammaMia.mp3
-rw-r--r--    1 Hannu     3174818 Sep 23 17:16 A2_HeyHeyHelen.mp3
-rw-r--r--    1 Hannu     2983393 Sep 23 17:17 A3_TropicalLoveland.mp3
-rw-r--r--    1 Hannu     3264262 Sep 23 17:19 A4_SOS.mp3
-rw-r--r--    1 Hannu     2931148 Sep 23 17:21 A5_ManInTheMiddle.mp3
-rw-r--r--    1 Hannu     2891442 Sep 23 17:23 A6_BangABoomerang.mp3
-rw-r--r--    1 Hannu     3173565 Sep 23 17:24 B1_IDoIDoIDoIDoIDo.mp3
-rw-r--r--    1 Hannu     2998440 Sep 23 17:26 B2_RockMe.mp3
-rw-r--r--    1 Hannu     3660905 Sep 23 17:28 B3_IntermezzoNo1.mp3
-rw-r--r--    1 Hannu     3474913 Sep 23 17:30 B4_IveBeenWaitingForYou.mp3
-rw-r--r--    1 Hannu     2922789 Sep 23 17:32 B5_SoLong.mp3

$ sum="`find *.wav -printf "%s + "`";echo $(( ( ${sum:0:$(( ${#sum} -2))} )
/ 1024  ))
375778

$ sum="`find *.mp3 -printf "%s + "`";echo $(( ( ${sum:0:$(( ${#sum} -2))} )
/ 1024  ))
34086

$ echo $(( 34086000 / 375778 ))
90

i.e. size is approximately 9% of original files.
--

I have run the recommended test; compile a "CFLAGS = " version (w no
optimizations) and md5sum-tested the output to that of an "CFLAGS = -O2"
version.
This test was fine; i.e. the output files didn't differ.

Approximate speed difference:
 -O2 runs 1.75x speed
 -O0 runs 0.75x speed (P2/450!)
 -O0: "All operations completed. Total encoding time: 00:47:46"
 -O2: "All operations completed. Total encoding time: 00:20:04"


/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]