soundKonverter

Audio Extractors/Converters music transcode

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/dfaust/soundkonverter

53
8 .8
Last changelog:

3.0.1 3 years ago

-Fix: Destination mode "Source directory" creates filenames consisting only of the file extension
-Fix: All files "Failed" to convert when dragging a folder (Invalid URL)

centic

11 years ago

I have at least one more patch which adds an "Eject" button to the GUI to let the user eject the CD if possible. Do you have another place where patches should go than this discussion forum?

Thanks... Dominik.

Report

C

HessiJames

11 years ago

you could file a bug at https://launchpad.net/soundkonverter
or send me a mail to hessijames at gmail dot com.

Report

centic

11 years ago

Thanks, see https://bugs.launchpad.net/soundkonverter/+bug/382242 for a bug-report and https://launchpad.net/~dominik-stadler/+archive/ppa for a corresponding Ubuntu package.

Thanks... Dominik.

Report

centic

11 years ago

Thanks for the tool, overall it is very well done and allows to rip CDs very quickly.

However it seems soundkonverter does not close some of it's file handles. If I rip from Audio CDs, it leaves some file-handles open.

One effect of this seems to be that I cannot eject the CD using the button on the cd drive after ripping it, only typing "eject" on the commandline ejects the CD.

before:
ls -al /proc/27757/fd
...
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 12 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 13 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 14 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 15 -> /dev/sr0
l-wx------ 1 dstadler dstadler 64 2009-05-30 12:24 16 -> /dev/sr0
l-wx------ 1 dstadler dstadler 64 2009-05-30 12:24 17 -> /dev/sr0


after opening the CD selection dialog:
ls -al /proc/27757/fd
...
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 12 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 13 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 14 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 15 -> /dev/sr0
l-wx------ 1 dstadler dstadler 64 2009-05-30 12:24 16 -> /dev/sr0
l-wx------ 1 dstadler dstadler 64 2009-05-30 12:24 17 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 18 -> /dev/sr0
lrwx------ 1 dstadler dstadler 64 2009-05-30 12:24 19 -> /dev/sr0

Thanks... Dominik.

Report

centic

11 years ago

I have produced a patch which fixes this problem, it ensures that file handles are closed early and removes a file handle leak and a memory leak related to QFile objects.

--- a/src/paranoia.cpp 2008-03-02 11:34:31.000000000 +0100
+++ b/src/paranoia.cpp 2009-05-30 12:47:39.000000000 +0200
@@ -103,8 +103,11 @@
char dev[4][4]={"","","",""};

f = new QFile( "/proc/sys/dev/cdrom/info" );
- if ( !f->open(IO_ReadOnly) )
+ if ( !f->open(IO_ReadOnly) ) {
+ f->close();
+ delete f;
return false;
+ }

QTextStream t( f );
while ( !t.eof() && !stop ) {
@@ -112,18 +115,25 @@
if ( s.contains("drive name:") )
stop = true;
}
- if ( !stop )
+ if ( !stop ) {
+ f->close();
+ delete f;
return false;
+ }

pos = s.find(":");
c = s.right( s.length()-pos-1 );
sscanf( c.latin1(), "%s %s %s %s", dev[0], dev[1], dev[2], dev[3] );

for ( i=0; i<4; i++ )
- if ( procCdrom( dev[i] ) )
+ if ( procCdrom( dev[i] ) ) {
+ f->close();
+ delete f;
return true;
+ }

f->close();
+ delete f;
return false;
}

--- a/src/cdmanager.h 2008-03-02 11:34:32.000000000 +0100
+++ b/src/cdmanager.h 2009-05-30 16:25:21.000000000 +0200
@@ -29,7 +29,7 @@
virtual ~CDDevice();

QString device;
- Paranoia* para;
+ //Paranoia* para;
QValueList<TagData*> tags;
TagData* discTags;
int trackCount;
--- a/src/cdmanager.cpp 2008-03-02 11:34:32.000000000 +0100
+++ b/src/cdmanager.cpp 2009-05-30 16:26:05.000000000 +0200
@@ -61,7 +61,7 @@
}
}

- para = new Paranoia();
+ Paranoia* para = new Paranoia();
for( i = 0; i < (int)s.count(); i++ ) {
if( init = para->init(s[i]) ) {
device = s[i];
@@ -103,9 +103,9 @@
else {
KMessageBox::information( 0, i18n("No audio CD found."), i18n("Warning") );
device = "";
- delete para;
- para = 0;
}
+
+ delete para;
}

CDDevice::~CDDevice()

Report

C

HessiJames

11 years ago

thank you very much,

i have applied the patch and i'll release an update soon.

greetings Daniel

Report

centic

11 years ago

You can retrieve updated packages for soundkonverter at https://launchpad.net/~dominik-stadler/+archive/ppa for Ubuntu 9.04 which include this patch.

Report

Grexe

11 years ago

Just discovered this great little gem through an article on Linux.com ("Audio conversion tools for Linux") as I had to convert a bunch of files and though there must be an easier way than writing a Perl script or converting by hand, one by one... strange both ffmpeg, sox and mpeg123 don't accept patterns for batch conversion...

I only stumbled across a usability issue: When selecting a target directory and then selecting a pattern from the popup, the path gets cleared and conversion does not work (stops at 4%) - when changing the path to "same as source directory" it worked very fast (on a core i7 920) and without any problems.

And yes, a KDE4-port would be nice but it is surely some effort to port over to the new frameworks for sound processing et al. So no top priority but nice to have imho...

Report

alizard

11 years ago

The problem goes beyond desktop integration. When converting a batch of flvs to mp3s, the filename starts as Unknown Author.new.mp3 , the next file is Unknown Author.new.new.mp3 , and it keeps incrementing by adding a .new to the filename until it runs out of files. There may be another problem, but I want to verify it before reporting it.

I suggest cautioning packagers to make it unavailable for KDE4.2.2 or later installations until you have a KDE4.2.2 version. The package I used was installed on Kubuntu 9.0.4 Jaunty with KDE4.2.2 .

On 3.5.10, it's a great program, I'm using it right now on my desktop. I look forward to seeing it working correctly on 4.2.2 .

Report

C

HessiJames

11 years ago

this behaviour is perfectly normal. taglib can't read tags from flv files. you may prefer selecting "%f" instead of "%d - %n - %a - %t" or whatever at the output location. "%f" will be replaced by the input file name.
or select "source directory" as output.

Report

Israphel

11 years ago

When? I'm keeping qt3 only for this :(

Report

C

HessiJames

11 years ago

sorry, but i'm busy.
so this will still take some time.

Report

franco44444

11 years ago

It would be great if the app asks before quit while there is a job running.

Report

C

HessiJames

11 years ago

i'll have a look at this, i haven't implemented it yet because i don't want soundkonverter to block the logout. i haven't really looked at it but i hope to be able to implement a proper session managemant.

Report

z-vet

11 years ago

It looks like SoundKonverter can't understand cyrillic file names. I use UTF-8. Any help please?

Report

C

HessiJames

11 years ago

hi, which version of soundkonverter are you using? an could you send me an example file name?

Report

juantxorena

11 years ago

Greetings, great app, I use it all the time, etc.

The only thing that bothers me about this is that, when encoding (at least to flac), the replay gain tags are only written in track mode, not in album mode, even if all the tracks belong to the same album. I have to remove the tags and recalculate them using sounkonverter itself.

Is this a bug, something TODO, or is something too hard to code?

Thanks,

Report

C

HessiJames

11 years ago

hi, that conflicts with the current file handling, so it is not very easy to implement. but it's on my todo list now.

Report

DWHogan

11 years ago

I am current trying to migrate my music collection for .wma to .ogg to take advantage of ReplayGain (and switch to entirely free software). When I load my collection into SoundKonverter, it is only able to read some, but not all, of my wma tags. I find this very weird, as they were all tagged using the same program, and other programs are able to read all of the tags.

The songs for which the tags are unreadable would have to be retagged by hand after conversion. I have already done this once and am not willing to do so again (it took 30 hours).

The same tags are always unreadable (a reboot does not fix the problem), and I can't find a much of a pattern in which are readable. For some artists, all tags are readable, for others, some tags, and for yet others, no tags. (All Pink's song's tags are readable, but none of the Red Hot Chili Peppers' song's tags are readable).


Is there a known problem/limitation with reading wma tags? Does anyone know of a way to fix this?

Hope all this info wasn't too confusing, and thanks in advance,

Report

elitenoobboy

11 years ago

The .3.8 version won't convert everything that I tell it to and will randomly and silently fail for about 1 song out of 100, and I can't get the .9 version installed because there is no .deb and the source fails with the make command. Anybody know if the .3.9 solves this problem?

Report

elitenoobboy

11 years ago

The end of one of the logs of one of the failed files looks like this.
SK doesn't even seem to realize that it not being able to move a nonexisting file is a problem.


Output: Writing tags to '/tmp/kde-enb/soundkonverterkylHEa.ogg'

Output: Analyzing files...

Gain | Peak | Scale | New Peak | Track
----------+--------+-------+----------+------
-7.33 dB | 37536 | 0.43 | 16142 | /tmp/kde-enb/soundkonverterkylHEa.ogg

Output: Couldn't rename '/tmp/kde-enb/vorbisgain.tmp' to '/tmp/kde-enb/soundkonverterkylHEa.ogg': No such file or directory

Executing next step
Writing tags
Executing next step
Moving file
cp "/tmp/kde-enb/soundkonverterkylHEa.ogg" "/home/enb/Music/New//Artist/Other/Collection 1/soundtest.ogg"
Output: cp:
Output: cannot stat `/tmp/kde-enb/soundkonverterkylHEa.ogg'
Output: : No such file or directory

File moved
Executing next step
Removing file from conversion list. Exit code 0
Finished logging


Report

C

HessiJames

11 years ago

hm, strange. the "Couldn't rename" error comes from vorbisgain. i have no idea why that happens. i can only suggest to not apply replaygain tags while converting. use the replaygain tool to add replaygain to the converted files, this way the error will not interrupt the conversion.
and if you want you can file a bug report for vorbisgain and send them a file that doesn't work.

Report

elitenoobboy

11 years ago

I haven't seen any missed songs when replay gain was off, but I haven't really tried that many. This only happens to less than 1 out of 100 songs.

One thing I have noticed though is another anomaly. When playing a few recently converted songs, there was what sounded like a drum beat at the very beginning of a few songs. When I tried reripping the songs using the same settings, the errant sound was still present, so the glitch is persistent. When trying other ripping software, such as gnome's soundconverter, it didn't show up. assuming that both programs would use the same encoder, oggenc, it seems weird that sound distortions would show up in a song ripped from one program but not the other.
Whatever turns out to be causing it, I restored the old mp3s from a backup and am probably going to try something else to convert them. I just wish gnome's soundconverter had the advanced configurability that SK has. It won't even allow custom bitrates.

Report

C

HessiJames

6 years ago

I found this comment while trying to fix a recently reported bug. Turns out it's the same bug you reported. In case you are interested: https://github.com/HessiJames/soundkonverter/issues/12

Report

lingenfr

11 years ago

Wow, it is great that the previous AC posted that same message a dozen times...

It would be great if SK had the option to write an m3u as part of the conversion. It should include the ability for the user to specify the file name or naming method, path method, and whether or not to include extended information. This is a nice app. Thanks.

Report

3.0.1 3 years ago

-Fix: Destination mode "Source directory" creates filenames consisting only of the file extension
-Fix: All files "Failed" to convert when dragging a folder (Invalid URL)

4 years ago

new in 2.2.2:
-Change: Move Polish (Poland) translation to Polish
-Change: Move Swedish (Sweden) translation back to Swedish
-Change: Remove so-version for libsoundkonvertercore to satisfy obs lint

new in 2.2.1:
-Add: Dutch, Spanish (Argentina) and Polish (Poland) translations
-Change: Swedish translation moved to Swedish (Sweden)
-Change: Update translations

new in 2.2.0:
-Add: Decode webm audio stream
-Add: --file-list argument
-Change: Remove both APE and ID3 Replay Gain tags with mp3gain and aacgain
-Change: Disable "modify audio stream" option by default in mp3gain and aacgain
-Change: Don't write icedax info file
-Change: Set so-version for libsoundkonvertercore
-Fix: Don't require an output path when using a user defined profile as command line argument
-Fix: Don't crash when tags can't be read
-Fix: Error message when trying to write to a directory without permissions
-Fix: Store album artist information to file list files
-Fix: Some crashes
-Fix: Handle newer ffmpeg versions
-Fix: Don't wait with Replay Gain calculation for items with same album name but no Replay Gain conversion option set
-Fix: Don't convert all files at once if the conversion starts with copying files with the same input an output codec
-Fix: Infinite loop when waiting for album gain for a failed item

new 2.1.90 (2.2.0 rc1):
-Add: Detect (DRM)-encrypted wma and m4a files
-Add: Adjust gain for mp3 files
-Add: Option to copy files instead of re-encoding them if input and output codec are the same
-Change: Fall-back from album artist to artist in "meta data" naming mode if album artist is empty

Full changelog: https://github.com/HessiJames/soundkonverter/blob/master/src/CHANGELOG

12345678910
631
product-maker pu4yes Jun 16 2020 10 the best
10 the best
product-maker verdia13 Feb 07 2019 9 excellent
+
product-maker cyberbeat Oct 16 2017 9 excellent
product-maker xeng Dec 11 2016 9 excellent
product-maker pondogor Oct 07 2016 9 excellent
product-maker x-varlesh-x Jul 28 2016 9 excellent
product-maker darthroe Apr 07 2016 9 excellent
product-maker patdec Nov 02 2015 9 excellent
product-maker SeeLook Feb 27 2014 9 excellent
product-maker paulus3005 Dec 22 2013 9 excellent
product-maker Henri Nov 21 2013 9 excellent
product-maker bmbeverst Sep 19 2013 9 excellent
product-maker CostGranda Aug 27 2013 9 excellent
product-maker saabzero May 06 2013 9 excellent
product-maker RAIDENSUB Apr 26 2013 9 excellent
product-maker softmetz Feb 11 2013 9 excellent
product-maker CyberAng3l Feb 01 2013 9 excellent
product-maker duzak Jan 24 2013 9 excellent
product-maker tetris4 Jan 21 2013 9 excellent
product-maker Ambasador Jul 21 2012 9 excellent
product-maker dandrade Jul 18 2012 9 excellent
product-maker kraftor Jul 13 2012 9 excellent
product-maker posixru Jun 21 2012 9 excellent
product-maker Pafrape Jun 21 2012 9 excellent
product-maker step-2 Jun 10 2012 9 excellent
product-maker e1nste1n May 30 2012 9 excellent
product-maker nikore90 May 30 2012 9 excellent
product-maker SeaJey May 06 2012 9 excellent
product-maker apfelmaus May 02 2012 9 excellent
product-maker narya Apr 20 2012 9 excellent
product-maker eRSZ Feb 27 2012 9 excellent
product-maker Sload Feb 14 2012 9 excellent
product-maker fri Feb 12 2012 9 excellent
product-maker 3 Feb 05 2012 9 excellent
product-maker marcs Nov 21 2011 9 excellent
product-maker roentgen Nov 18 2011 9 excellent
product-maker dudacardoso Nov 16 2011 9 excellent
product-maker abelau Nov 16 2011 9 excellent
product-maker tobaj Oct 23 2011 9 excellent
product-maker Xepher Oct 12 2011 9 excellent
product-maker symbianflo Oct 04 2011 9 excellent
product-maker quarkslot Sep 06 2011 9 excellent
product-maker groo Aug 30 2011 9 excellent
product-maker zubi Aug 19 2011 9 excellent
product-maker 442206 May 29 2011 9 excellent
product-maker HATRED May 29 2011 9 excellent
product-maker 747419 Apr 26 2011 9 excellent
product-maker unikum111 Apr 26 2011 9 excellent
product-maker FatAlbert Mar 27 2011 9 excellent
product-maker BenderBendingRodriguez Feb 18 2011 9 excellent
product-maker stribianese91 Jan 31 2011 9 excellent
product-maker dooder Jan 08 2011 9 excellent
product-maker ParkaBoy Dec 24 2010 9 excellent
product-maker aqeeliz Dec 17 2010 9 excellent
product-maker mcder Dec 12 2010 9 excellent
product-maker BorgQueen Dec 02 2010 9 excellent
product-maker lelamal Nov 26 2010 9 excellent
product-maker melanias Nov 02 2010 9 excellent
product-maker MichauSm Nov 02 2010 9 excellent
product-maker spawn57 Nov 01 2010 9 excellent
product-maker KDesk Nov 01 2010 9 excellent
product-maker LazyKent Nov 01 2010 9 excellent
product-maker aldebaran Oct 12 2010 9 excellent
product-maker clearthought Oct 09 2010 9 excellent
Be the first to comment
janet
Apr 08 2016
darthroe
Apr 07 2016
chuugar
Oct 02 2014
jmpjanny
Jun 03 2014
luter
Oct 05 2013
bmbeverst
Sep 19 2013
duzak
Jan 24 2013
tetris4
Jan 21 2013
dandrade
Jul 18 2012
kraftor
Jul 13 2012
Adenilson
Jun 20 2012
Wonko
May 19 2012
nicoduv
May 03 2012
apfelmaus
May 02 2012
Sload
Mar 25 2012
3
Feb 05 2012
roentgen
Nov 18 2011
denisfalqueto
Nov 18 2011
abelau
Nov 16 2011
tobaj
Oct 23 2011
symbianflo
Oct 04 2011
quarkslot
Sep 06 2011
otomi
May 18 2011
gericom
May 03 2011
HATRED
May 03 2011
komodo169
May 02 2011
unikum111
Apr 26 2011
MoonBlossom
Apr 11 2011
BenderBendingRodriguez
Feb 18 2011
cmyker
Jan 26 2011
urlwolf
Jan 02 2011
aqeeliz
Dec 17 2010
tlyons
Dec 16 2010
mcder
Dec 12 2010
BorgQueen
Dec 02 2010
KDesk
Nov 01 2010
m00nraker
Sep 26 2010
pman
Sep 05 2010
opaflamme
Aug 19 2010
quadra
Jul 06 2010
eugenez
May 08 2010
cyberbeat
Feb 26 2010
v6lur
Feb 09 2010
swiftscythe
Jan 01 2010
groo
Dec 07 2009
Gilde
Sep 19 2009
RRios
Sep 05 2009
centic
May 31 2009
usrkl
Apr 25 2009
z-vet
Mar 14 2009
kapat
Feb 14 2009
mtux
Jan 03 2009
pvt14
Jan 02 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 only
version
3.0.1
updated Oct 01 2017
added Sep 12 2005
downloads 24h
1
mediaviews 24h 0
pageviews 24h 22