A bit OT: conversion mp3 to wav

Ask a Question related to Debian, Design and Development.

  1. #1

    Default A bit OT: conversion mp3 to wav


    In my deb testing installation until recently I had been using a widely known procedure to convert mp3 files into wav to roast CDs.
    in a nutshell
    <snip>
    for i in *.mp3; do mpg123 -w `basename $i .mp3`.wav $i; done
    <snip>
    Now.... the same procedure is painfully complaining about an "illegal instruction" and produces a zero-byte wav output

    E.g., If I issue the basic command

    mpg123 -w weare.wav weare.mp3


    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.

    Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.

    Uses code from various people. See 'README' for more!

    THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

    Title : We Are The World Artist: Myself, Maria, Ric, etc.

    Album : Victor & Friends - For Guat Year :

    Comment: Genre : Classical



    Playing MPEG stream from wearetheworld.mp3 ...

    Junk at the beginning 49443303

    MPEG 1.0 layer III, 96 kbit/s, 44100 Hz joint-stereo

    Illegal instruction


    Why is that? is anything changed recently? Or there something wrong I cannot see?

    Vittorio


    ---------------------------------------------------------
    Incontri: amicizie, relazioni, trasgressione
    [url]http://incontri.supereva.it/cgi-bin/index.chm?partner=904[/url]

    messaggio inviato con Freemail by [url]www.superEva.it[/url]
    ---------------------------------------------------------


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    vdemart@supereva.it Guest

  2. Similar Questions and Discussions

    1. Conversion Mac to PC
      My dept. is switching from mac to pc for networking reasons. How can I convert the pagemaker 6.5 documents on the mac to indesign documents on the...
    2. RGB Conversion
      Help! We're on a mac and changed our text in Illustrator to RGB 0/0/102, saved and closed the file. When we reopened the file, the RGB percentages...
    3. dxf conversion
      hello, I have been using AutoCAD LT to create .dxf files which are then imported into FH MX. However, I have noticed that the size of features...
    4. conversion from mid to Wav
      "yogie" <yogie2@wp.pl> a écrit dans le message de news:1083b616.0308171241.64e5fb73@posting.google.com... There are some examples to do this using...
    5. [PHP] Mp3 Conversion, using PHP
      I'm wondering if there's any crazy dude out there that would like to join me in making a class for PHP to convert Mp3's to Mp3Pro. Have you...
  3. #2

    Default Re: A bit OT: conversion mp3 to wav

    Sebastian Kapfer [debian-user] <05/07/03 18:59 +0200>:
    > On Sat, 05 Jul 2003 13:50:08 +0200, vdemar wrote:
    >
    > > E.g., If I issue the basic command
    > >
    > > mpg123 -w weare.wav weare.mp3
    > [...]
    > > Illegal instruction
    >
    > Did this break with a recent update? It sounds like mpg123 uses an
    > instruction that your CPU (which?) doesn't support. Does normal playback
    > work?
    This break appeared after an update (I don't know if recent).

    The CPU is a Pentium III.

    I don't know what you mean by "normal playback" but xmms is able to reproduce both mp3 and wav files if I guess correctly.

    Vittorio
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/CXRWVyOET38wRXQRAq/lAJ92fc1uQT8gechrIxmcA9LP26WltgCfaHcm
    R01uSG3dMMX/y6sL87hb/eA=
    =F5Is
    -----END PGP SIGNATURE-----

    Vittorio Guest

  4. #3

    Default Re: A bit OT: conversion mp3 to wav

    On Mon, Jul 07, 2003 at 01:23:34PM +0000, Vittorio wrote:
    > Sebastian Kapfer [debian-user] <05/07/03 18:59 +0200>:
    > > On Sat, 05 Jul 2003 13:50:08 +0200, vdemar wrote:
    > >
    > > > E.g., If I issue the basic command
    > > >
    > > > mpg123 -w weare.wav weare.mp3
    > > [...]
    > > > Illegal instruction
    > >
    > > Did this break with a recent update? It sounds like mpg123 uses an
    > > instruction that your CPU (which?) doesn't support. Does normal playback
    > > work?
    >
    > This break appeared after an update (I don't know if recent).
    >
    > The CPU is a Pentium III.
    >
    > I don't know what you mean by "normal playback" but xmms is able to reproduce both mp3 and wav files if I guess correctly.
    I think he means 'does mpg123 play mp3 files in general, ie does "mpg123
    file.mp3" work?'.

    That said, assuming you're using the Debian packages of mpg123 (which
    are built for i386), I'd look for disk corruption. 'debsums' is useful
    for checking this. If you built it yourself from source, then try
    again; you probably used optimisations that your CPU doesn't actually
    support.

    --
    Rob Weir <rweir@ertius.org> | [email]mlspam@ertius.org[/email] | Do I look like I want aCC?
    Words of the day: armed overthrow PGP undercover ASPIC argus AIEWS White House

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/ClMqvQ+DhR5zt80RAv9uAJ9EwXG8PevY76VAYoHKB9Z13C75LQ CeNpNX
    LnFSiYQzgfbui+uvpjH+raU=
    =u+3C
    -----END PGP SIGNATURE-----

    Rob Weir Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139