You are not logged in.

#1 2008-09-04 17:08:49

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

need a program to do this

basically, i got a new phone. i want to make some ringtones. i have mp3s already clipped with audacity. but i need to convert them to whatever format detailed in the following link.

http://www.howardforums.com/showpost.ph … stcount=19

i tried using soundconverter, but i cant bring teh sampling frequency down


this is a signature

Offline

#2 2008-09-04 19:20:48

filou.linux
Member
From: Zurich
Registered: 2008-04-17
Posts: 87

Re: need a program to do this

Hi.

I'm sorry, but I havent got a program for you that does that native under linux. I dont know whether such a programs exists in the wide world. But have you considered using WINE (and running the program from your link on it)?

Just in case you need more information on WINE: http://wiki.archlinux.org/index.php/Wine . Hope this helps smile

Offline

#3 2008-09-04 21:41:31

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: need a program to do this

FFmpeg can encode in 3G2. GPAC can make it ISO compliant if FFmpeg doesn't get it on the first shot. If I remember correctly, Super uses FFmpeg. I'm not sure if the versions in the repos are new enough though. You can check with:

ffmpeg -formats | grep 3g2

Last edited by skottish (2008-09-04 21:42:47)

Offline

#4 2008-09-05 10:45:15

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: need a program to do this

cool, i guess il have some reading to do with ffmpeg, i always have a hard time with not. but i did try using super under wine yesterday, and it opens, but can't read anything on th ewindow, so its not exactly functional. i had to run it on a windows box i had to dig out of a closet. i did notice super was using ffmpeg too, so i figure that might be my best bet

anywya, i did get a couple converted last night, thought my phone won't recognize them, it recognized the first 3g2 files i put in there, wouldnt play them though since they werent encoded properly, now i put good files there, it doesnt see them


this is a signature

Offline

#5 2008-09-05 19:38:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: need a program to do this

The command is straight forward:

ffmpeg -i <INPUT>.mp3 -vn -ar 22000 -ac 2 -ab 128k -acodec libfaac <OUTPUT>.3g2

The trouble is that FAAC in the repos is broken and has been for a very long time. For reasons beyond me the libmp4v2 patch won't apply either. As it stands right now FAAC can only produce mp2 audio. The information is in post #5 on this page if you're interested:

http://bbs.archlinux.org/viewtopic.php?id=51954

As I said, these will not work though. I ended up unpacking the source tarball, manually editing configure.in, repacking it, and removing the md5sums, as well as the patch command from the PKGBUILD to get it to work.

Last edited by skottish (2008-09-05 19:39:56)

Offline

Board footer

Powered by FluxBB