You are not logged in.

#1 2016-07-06 12:25:13

anthillsocial
Member
Registered: 2013-02-18
Posts: 140
Website

[SOLVED] Cnverted .wav to .ogg or .mp3 fails

Hi,

I'm attempting a simple convert of .wav files to .ogg and .mp3.
However every time I attempt to convert the new .ogg or .mp3 is simply output as noisy static.
I've tried multiple applications, including Audacity, Sox, lame and ffmg but they all behave the same which makes me think there's something wrong with the codecs.

Any advice in terms of fixing this?

Tom

Last edited by anthillsocial (2016-07-06 16:08:30)

Offline

#2 2016-07-06 14:08:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,075

Re: [SOLVED] Cnverted .wav to .ogg or .mp3 fails

Any error messages? Do you convert into different sample rates? What is the actual format of your input file (use file or mediainfo or similar)? What are the commands you are using? Can you provide a test file? There's nothing in your post that could be used to even try to help you...

Last edited by V1del (2016-07-06 14:11:46)

Offline

#3 2016-07-06 16:00:11

anthillsocial
Member
Registered: 2013-02-18
Posts: 140
Website

Re: [SOLVED] Cnverted .wav to .ogg or .mp3 fails

There's no error. Here's an example

# Create the file
arecord -f dat -d 20 -D hw:0,0 test.wav
# Convert to 
ffmpeg -i test.wav -acodec libvorbis -aq 100 test.ogg

Which creates a file with hiss. As does:

arecord -f cd -t raw | oggenc - -r -o test.ogg

Hang on a minute. I've been testing playback using aplay which is why I hear static...
Doh - silly mistake!

Offline

#4 2016-07-06 16:06:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [SOLVED] Cnverted .wav to .ogg or .mp3 fails

https://encrypted-tbn0.gstatic.com/imag … f7sTfmiuiG

tongue

Don't forget to mark it solved.

Last edited by ewaller (2016-07-06 16:07:11)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB