LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2007, 10:08 AM   #1
Matz
Member
 
Registered: Oct 2006
Distribution: Kubuntu 9.04, Debian Etch
Posts: 178

Rep: Reputation: 31
converting a voice recording wav into mp3


Hope to be clear here:

I'm trying to create an audio cd out of a wav file. This sounds easy. However I tried any software (Brasero, gnomebaker, k3b), without success. No problem in reproducing it with mplayer, but no way of making an audio cd.

The problem is the wav file: k3b says it is an unsupported format. This is a wav file obtained from a voice recorder and downloaded with a windows software. It is a strange wav file, extremely small for being about 11 minutes long.

I also tried to convert it into mp3 with lame but when I play the mp3 file I only get noise.

By the way, I also tried to burn it with nero (under windows) but still no success.

Any clue?
 
Old 10-18-2007, 11:07 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
do you have all of the proper codec's installed on your computer? i have had no problem creating an audio disk with K3B from wav files.

not from a voice recorder, but from older CDs that are in wav format.
 
Old 10-18-2007, 06:23 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
weird
maybe report this wav stuff to k3b
K3b is able of more than nero normally, and should still continue.

Please find this:
http://www.kraus.tk/projects/konverter/

./configure
make
make install

like always
 
Old 10-18-2007, 06:25 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
here we go :

MEncoder Frontends

* KMencoder
KDE MEncoder frontend
* Konverter
KDE MEncoder frontend
* Kmenc15
KDE MEncoder frontend, most useful for editing and encoding large high quality AVIs capped from TV. Allows cutting and merging at exact frames, applying filters and preview.
* tvapp
Videorecorder-like KDE MEncoder frontend that allows timed or calendar-controlled recordings.
* kavenc
KDE application which allows easy video/audio file conversion and audio track extraction from video files.
* GMencoder
GNOME MEncoder frontend
* GRADEn
GNOME2 MEncoder DVD-ripping GUI
* AcidRip
DVD ripping frontend for MEncoder
* iriverter
cross-platform MEncoder frontend
* MenGUI
Amiga MEncoder frontend
* OGMRip
OGMRip is a library providing a common API for ripping and encoding DVD into DivX/OGM files using a wide variety of codecs.
* QuickRip
QuickRip is a quick and easy DVD ripper based on MPlayer/MEncoder and transcode featuring GUI and CLI interfaces.
* Movieconvert
sophisticated and easy to use graphical MEncoder frontend
* Tuxrip
console based MEncoder/MPlayer/transcode DVD ripping frontend
* DPEncoder
perlQt MEncoder frontend to easily encode DVDs into DivX files.
* DVD2DiVX3Pass
GTK-Perl frontend to MEncoder for DVD to DivX ripping with support for 3-pass encoding.
* File2DiVX3Pass
Simple GTK-Perl frontend to MEncoder that can encode any media file supported by MEncoder to DivX, in 1-, 2- or 3-pass mode.
* mencgen
Genetic algorithm to explore MEncoder options and find the combinations that achieve the best PSNR results.
* encode2mpeg
encode2mpeg is a frontend to MPlayer/MEncoder and mjpegtools able to convert any kind of video that MPlayer can play into a format suitable for VCD/SVCD/DVD or DivX AVI.
* DVDRipper
DVDRipper is a DVD to DivX, VCD, KVCD, or SVCD MEncoder GUI.
* DVDKUP
DVDKUP is a GTK interface for MEncoder for DVD to MPEG-4 backup.
* dvd-a-divx
Qt MPlayer/MEncoder frontend to convert DVD titles to DivX files.
* gbDVDenc
Gambas MEncoder GUI for ripping DVDs to MPEG-4 AVI files
* dvd2divx
config file driven command line tool for MPEG-4 encoding with MEncoder
* konqconv
KDE service menu which allows conversion of video files into DVD or VCD compliant MPEG files.
* SMSG
Simple Mencoder Shell GUI, batch video transcoding application without all tabs, buttons and other fuzz
* Blackberry Video Converter
No-cost utility to encode video to play on a RIM Blackberry.
* JMencode
JMencode is a simple Java frontend for MEncoder.
 
Old 10-19-2007, 02:20 AM   #5
Matz
Member
 
Registered: Oct 2006
Distribution: Kubuntu 9.04, Debian Etch
Posts: 178

Original Poster
Rep: Reputation: 31
@frenchnoob:
It seems to me that mencoder is "A simple movie encoder, designed to encode MPlayer-playable movies" (quoted from synaptic). I don't think I need this tool, since I have to deal with an audio file. I thought that lame was the right tool in this case, but as i said before the otput I get from it is pure noise. Good suggestion to report it to k3b (and brasero and gnomebaker) staff.

@lleb: I don't know whether a need a codec that I don't have. Normally I have no problem in creating an audio cd from a wav file, but THIS wav file is different from others. It is, for instance, very small. A wav file of 11 minutes is usually about 30 mb, but this one (11 minutes long) is only 3 mb big.
 
Old 10-19-2007, 03:00 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
wav files have various different sub-formats, some of which will not play in some apps. I had a bunch of .wav files which I found to be very hard to read with most programs. I found that sox was pretty much the only thing which could handle them. It's a command line program, so you need to use it from the terminal. Might be worth a try though. You can use sox to convert the files into a different format, which k3b can process. k3b is the app to use to create the audio CD IMO.
 
Old 10-19-2007, 03:49 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Matz View Post
It seems to me that mencoder is "A simple movie encoder, designed to encode MPlayer-playable movies" (quoted from synaptic). I don't think I need this tool, since I have to deal with an audio file.
If you deal with video, generally you deal with audio too, so you can get mencoder/mplayer to just pretend there's no video.

If mplayer can play the files, then it can either dump the output as a new wav file, or you can use mencoder to do more or less the same.

edit: try:
Code:
mplayer -ao pcm:file=output_file.wav input_file.wav
from http://www.tomtaylor.co.uk/blog/2006...treams-to-mp3/ (untested!)

Last edited by pwc101; 10-19-2007 at 04:17 AM. Reason: clarified example
 
Old 10-19-2007, 05:58 AM   #8
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
A wav file of 11 minutes is usually about 30 mb, but this one (11 minutes long) is only 3 mb big.
I agree, that is weird. Maybe it is the wav file itself that is borked. Does the wav file play in any players? Is there any way you can recreate the wav file and try again?
 
Old 10-19-2007, 12:39 PM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If you think your file may not be a wav file, but has been mistakenly named something.wav, but is in fact something else (e.g. an mp3 file) you should use the file command line utility on it - this looks inside the file and tries to determine that it is from the contents.
 
Old 10-20-2007, 12:23 PM   #10
Matz
Member
 
Registered: Oct 2006
Distribution: Kubuntu 9.04, Debian Etch
Posts: 178

Original Poster
Rep: Reputation: 31
Thanks for all your replies.
The mplayer trick did work and created a bigger wav file from the smaller one, and from the bigger one I was able to make an audio cd and even to convert it into a mp3. The output from the file command is
Code:
RIFF (little-endian) data, WAVE audio, IMA ADPCM, mono 11025 Hz
I can reproduce this wav file. The problem was making an audio cd out of it.
Anyway the issue is sorted, thanks for help
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting an RA file to a WAV or an MP3 one hhegab Linux - Software 2 04-26-2005 05:55 AM
Lame 3.96.1 killed when converting wav to mp3 sludink Linux - Software 0 01-14-2005 10:07 AM
Converting WAV to MP3 ? dolphans1 Mandriva 8 08-03-2004 03:52 AM
Converting mp3 to wav J.W. Linux - Software 2 03-10-2004 01:41 AM
Converting mp3 to wav. ??? rayflynn Linux - General 2 12-11-2001 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration