LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I convert wma to wav audio files (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-convert-wma-to-wav-audio-files-4175559430/)

bscho 11-20-2015 11:19 AM

How do I convert wma to wav audio files
 
I am trying to make an audio cd of a friends music which is
recorded in wma files. Is it possible to convert the files to wav files
that I can record a cd with brasero?

schneidz 11-20-2015 11:34 AM

avconv/ffmpeg can probably do this.

pholland 11-20-2015 11:37 AM

Yes, though I've never done it myself. Here is a link to a tutorial. I only searched the web for a few minutes, so there may be easier ways to do the same thing.

http://www.ehowtowiki.com/how_491030...wav-linux.html

schneidz 11-20-2015 11:44 AM

sorry i'm at work so i can test it out at 5:00.

there mite be a few gui's that use those programs but not sure which ones.

bscho 11-20-2015 12:04 PM

Quote:

Originally Posted by schneidz (Post 5452765)
avconv/ffmpeg can probably do this.

I have done it with ffmpeg couldn't find avconv. Thanks for your help.

schneidz 11-20-2015 12:09 PM

lunchtime: this worx for me:
Code:

[schneidz@hyper soca]$ ffmpeg -i 20-machel_montano-bottle_of_rhum.flac test.wav
ffmpeg version 2.6.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      54. 20.100 / 54. 20.100
  libavcodec    56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter    5. 11.102 /  5. 11.102
  libavresample  2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample  1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, flac, from '20-machel_montano-bottle_of_rhum.flac':
  Metadata:
    ALBUM          : carnival
    ARTIST          : machel montano
    DATE            : 2012
    comment        : Tags edited by MixZing (www.socialmuseinc.com)
    DISCID          : 9f12881f
    GENRE          : soca
    MUSICBRAINZ_DISCID: u.4q8EYGJWfFyKcK1oXWkqELiBk-
    TITLE          : 20-bottle of rum
    track          : 20
    TRACKTOTAL      : 31
  Duration: 00:02:41.47, start: 0.000000, bitrate: 781 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, wav, to 'test.wav':
  Metadata:
    IPRD            : carnival
    IART            : machel montano
    ICRD            : 2012
    ICMT            : Tags edited by MixZing (www.socialmuseinc.com)
    DISCID          : 9f12881f
    IGNR            : soca
    MUSICBRAINZ_DISCID: u.4q8EYGJWfFyKcK1oXWkqELiBk-
    INAM            : 20-bottle of rum
    IPRT            : 20
    TRACKTOTAL      : 31
    ISFT            : Lavf56.25.101
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder        : Lavc56.26.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=  27815kB time=00:02:41.46 bitrate=1411.2kbits/s   
video:0kB audio:27815kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000850
[schneidz@hyper soca]$ file *
20-machel_montano-bottle_of_rhum.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7120680 samples
test.wav:                              RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz


bscho 11-20-2015 04:41 PM

Quote:

Originally Posted by schneidz (Post 5452791)
lunchtime: this worx for me:
Code:

This is code of yours.

How do you do that enter the code I mean?
I have done this by entering and the undermentioned has been pasted
in. Is there another way of putting in the code window as mine does not have the scroll bars?

Code:

Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, asf, from 'long_time.WMA':
  Duration: 00:03:38.20, start: 0.000000, bitrate: 32 kb/s
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1 channels, fltp, 32 kb/s
Output #0, wav, to 'Long_Time.wav':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder        : Lavc56.60.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (wmav2 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=  18792kB time=00:03:38.12 bitrate= 705.8kbits/s   
video:0kB audio:18792kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000405



All times are GMT -5. The time now is 01:22 AM.