You are not logged in.

#1 2010-03-08 11:22:06

Insane-Boy
Member
Registered: 2006-02-27
Posts: 243

k3b problem

Well, I have some problems with burning Audio cd from wma files.I justs stays and nothing happens although the program counts the time that has already elapsed.Do I need any additional plugin as to record wma files or .. ?

Offline

#2 2010-03-09 03:14:02

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: k3b problem

Well, you should have ffmpeg installed, as it is a dependency for k3b. Not sure whether repo's k3b was compiled to support direct conversion of wma files, but I'm suspecting not (correct me if I'm wrong).
So either you go and rebuild it yourself or you just use ffmpeg to convert the music files into mp3, ogg, or wav, or whatever file format you want/need. You can use something like

find -name '*wma' -exec ffmpeg -i {} -acodec vorbis -ab 128k {}.ogg \;

to batch convert wma files in your current and sub-directories.

It's probably a good idea to do that anyway as wma is propritary.

Offline

#3 2010-03-09 11:49:58

Insane-Boy
Member
Registered: 2006-02-27
Posts: 243

Re: k3b problem

That worked!Thanks;)

Offline

#4 2010-07-15 19:57:06

Rudanar
Member
From: Nagykovácsi, Hungary
Registered: 2009-11-13
Posts: 7

Re: k3b problem

JackH79 wrote:
find -name '*wma' -exec ffmpeg -i {} -acodec vorbis -ab 128k {}.ogg \;

Wow, that is useful. With this command, the converted files look like XY.wma.ogg. How can I cut the .wma out of the converted filename?

Last edited by Rudanar (2010-07-15 19:57:29)


Coordinator of the Wesnoth Hungarian Translation Team
http://wesnoth.fsf.hu/
http://www.wesnoth.org

Offline

#5 2010-07-16 08:22:55

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: k3b problem

try:

for i in * ; do j=`echo $i | sed 's#wma.##g' - ` ; mv "$i" "$j" ; done

EDIT: BTW: you can reuse this command. ... 's#search#replace#g' ...

Last edited by JackH79 (2010-07-16 08:32:15)

Offline

Board footer

Powered by FluxBB