public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* FYI: bladeenc - fairly easy port.
@ 2003-09-23 18:42 Hannu E K Nevalainen (garbage mail)
  2003-09-23 19:51 ` Gerrit P. Haase
  0 siblings, 1 reply; 4+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-09-23 18:42 UTC (permalink / raw)
  To: ML CygWIN


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/

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

end of thread, other threads:[~2003-11-14 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 18:42 FYI: bladeenc - fairly easy port Hannu E K Nevalainen (garbage mail)
2003-09-23 19:51 ` Gerrit P. Haase
2003-09-23 22:53   ` Hannu E K Nevalainen (garbage mail)
2003-11-14 15:52     ` Hannu E K Nevalainen

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).