public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] FLAC to mp3 converters?
@ 2008-11-04 18:04 Mark Knecht
  2008-11-04 18:15 ` Dirk Heinrichs
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: Mark Knecht @ 2008-11-04 18:04 UTC (permalink / raw
  To: gentoo-user

Hi,
   I'm wondering if anyone has a good way to convert a large hierarcy
of directories populated with FLAC files to a new set of directories
using mp3 instead? The FLAC directory contains something like 20000
files so I need the converted structure to replicate the original.
Most likely the tool has to be very tolerant of file naming, unicode,
etc., as there are likely to be any number of strange things in there.

   Possibly something in perl or, for the likes of me, even something GUI based.

Thanks,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
@ 2008-11-04 18:15 ` Dirk Heinrichs
  2008-11-05  3:40   ` young sun
  2008-11-05 17:12 ` Jorge Peixoto de Morais Neto
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 27+ messages in thread
From: Dirk Heinrichs @ 2008-11-04 18:15 UTC (permalink / raw
  To: gentoo-user

Am Dienstag, 4. November 2008 19:04:04 schrieb Mark Knecht:

>    I'm wondering if anyone has a good way to convert a large hierarcy
> of directories populated with FLAC files to a new set of directories
> using mp3 instead? The FLAC directory contains something like 20000
> files so I need the converted structure to replicate the original.
> Most likely the tool has to be very tolerant of file naming, unicode,
> etc., as there are likely to be any number of strange things in there.
>
>    Possibly something in perl or, for the likes of me, even something GUI
> based.

Try http://www.gurulabs.com/goodies/downloads.php (scroll down to the bottom).

HTH...

	Dirk



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:15 ` Dirk Heinrichs
@ 2008-11-05  3:40   ` young sun
  0 siblings, 0 replies; 27+ messages in thread
From: young sun @ 2008-11-05  3:40 UTC (permalink / raw
  To: gentoo-user

I don`t know how to convert flac to mp3,I  used to  convert flac to
ogg with oggenc.

2008/11/5 Dirk Heinrichs <dirk.heinrichs@online.de>:
> Am Dienstag, 4. November 2008 19:04:04 schrieb Mark Knecht:
>
>>    I'm wondering if anyone has a good way to convert a large hierarcy
>> of directories populated with FLAC files to a new set of directories
>> using mp3 instead? The FLAC directory contains something like 20000
>> files so I need the converted structure to replicate the original.
>> Most likely the tool has to be very tolerant of file naming, unicode,
>> etc., as there are likely to be any number of strange things in there.
>>
>>    Possibly something in perl or, for the likes of me, even something GUI
>> based.
>
> Try http://www.gurulabs.com/goodies/downloads.php (scroll down to the bottom).
>
> HTH...
>
>        Dirk
>
>



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
  2008-11-04 18:15 ` Dirk Heinrichs
@ 2008-11-05 17:12 ` Jorge Peixoto de Morais Neto
  2008-11-05 17:16   ` Neil Bothwick
  2008-11-05 18:12 ` Ricardo Bevilacqua
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 27+ messages in thread
From: Jorge Peixoto de Morais Neto @ 2008-11-05 17:12 UTC (permalink / raw
  To: gentoo-user

On Tue, Nov 4, 2008 at 4:04 PM, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>   I'm wondering if anyone has a good way to convert a large hierarcy
> of directories populated with FLAC files to a new set of directories
> using mp3 instead? The FLAC directory contains something like 20000
> files so I need the converted structure to replicate the original.
> Most likely the tool has to be very tolerant of file naming, unicode,
> etc., as there are likely to be any number of strange things in there.
>
>   Possibly something in perl or, for the likes of me, even something GUI based.

I wouldn't trust something GUI-based; it would probably call the mp3
encoder with suboptimal default settings. I would write a script
myself. For flac decoding use (of course) media-libs/flac; for mp3
encoding, media-sound/lame. You can probably chain them in a pipe,
using flac -dc infile.flac | mp3lame <lameopts> - outfile.mp3 . Read
lame's man page and write a shell (or perhaps python/perl) script.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 17:12 ` Jorge Peixoto de Morais Neto
@ 2008-11-05 17:16   ` Neil Bothwick
  2008-11-05 17:50     ` Jorge Peixoto de Morais Neto
  0 siblings, 1 reply; 27+ messages in thread
From: Neil Bothwick @ 2008-11-05 17:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote:

> I wouldn't trust something GUI-based; it would probably call the mp3
> encoder with suboptimal default settings.

Any decent program would let you adjust the MP3 settings.

> I would write a script
> myself. For flac decoding use (of course) media-libs/flac; for mp3
> encoding, media-sound/lame. You can probably chain them in a pipe,
> using flac -dc infile.flac | mp3lame <lameopts> - outfile.mp3 . Read
> lame's man page and write a shell (or perhaps python/perl) script.

You also need to extract the ID3 tags from the FLAC file and then write
them to the MP3 file.


-- 
Neil Bothwick

I am Flatulus of Borg. Pull my finger.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 17:16   ` Neil Bothwick
@ 2008-11-05 17:50     ` Jorge Peixoto de Morais Neto
  2008-11-05 17:59       ` Eric Martin
  0 siblings, 1 reply; 27+ messages in thread
From: Jorge Peixoto de Morais Neto @ 2008-11-05 17:50 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 3:16 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote:
>
>> I wouldn't trust something GUI-based; it would probably call the mp3
>> encoder with suboptimal default settings.
>
> Any decent program would let you adjust the MP3 settings.
My experience so far is that most GUI multimedia-encoding programs
offer far less options than a command-line program. Sometimes the only
choice is codec and bitrate, and the bitrate sometimes comes in a
drop-down menu of "low", "medium", "high".

I have done many video encodings with mplayer, and in this case
adjusting settings yield drastic benefits to quality/bitrate.

> You also need to extract the ID3 tags from the FLAC file and then write
> them to the MP3 file.
I don't care about these, but I imagine it wouldn't be too hard to
preserve them.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 17:50     ` Jorge Peixoto de Morais Neto
@ 2008-11-05 17:59       ` Eric Martin
  2008-11-05 18:06         ` Dirk Heinrichs
  0 siblings, 1 reply; 27+ messages in thread
From: Eric Martin @ 2008-11-05 17:59 UTC (permalink / raw
  To: gentoo-user

IIRC, there is a fuse filesystem in portage that does exactly that. I
don't have any experience with it but it warrants a look.

On 11/5/08, Jorge Peixoto de Morais Neto <please.no.spam.here@gmail.com> wrote:
> On Wed, Nov 5, 2008 at 3:16 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
>> On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote:
>>
>>> I wouldn't trust something GUI-based; it would probably call the mp3
>>> encoder with suboptimal default settings.
>>
>> Any decent program would let you adjust the MP3 settings.
> My experience so far is that most GUI multimedia-encoding programs
> offer far less options than a command-line program. Sometimes the only
> choice is codec and bitrate, and the bitrate sometimes comes in a
> drop-down menu of "low", "medium", "high".
>
> I have done many video encodings with mplayer, and in this case
> adjusting settings yield drastic benefits to quality/bitrate.
>
>> You also need to extract the ID3 tags from the FLAC file and then write
>> them to the MP3 file.
> I don't care about these, but I imagine it wouldn't be too hard to
> preserve them.
>
>



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 17:59       ` Eric Martin
@ 2008-11-05 18:06         ` Dirk Heinrichs
  2008-11-05 23:54           ` Neil Bothwick
  2008-11-07 20:17           ` Eric Martin
  0 siblings, 2 replies; 27+ messages in thread
From: Dirk Heinrichs @ 2008-11-05 18:06 UTC (permalink / raw
  To: gentoo-user

Am Mittwoch, 5. November 2008 18:59:42 schrieb Eric Martin:

> IIRC, there is a fuse filesystem in portage that does exactly that. I
> don't have any experience with it but it warrants a look.

Wow, indeed! sys-fs/mp3fs.

Bye...

	Dirk



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
  2008-11-04 18:15 ` Dirk Heinrichs
  2008-11-05 17:12 ` Jorge Peixoto de Morais Neto
@ 2008-11-05 18:12 ` Ricardo Bevilacqua
  2008-11-05 18:46   ` Andrew Gaydenko
  2008-11-05 20:08 ` Alex Schuster
  2008-11-06  2:14 ` darren kirby
  4 siblings, 1 reply; 27+ messages in thread
From: Ricardo Bevilacqua @ 2008-11-05 18:12 UTC (permalink / raw
  To: gentoo-user

2008/11/4 Mark Knecht <markknecht@gmail.com>:
> Hi,
>   I'm wondering if anyone has a good way to convert a large hierarcy
> of directories populated with FLAC files to a new set of directories
> using mp3 instead? The FLAC directory contains something like 20000
> files so I need the converted structure to replicate the original.
> Most likely the tool has to be very tolerant of file naming, unicode,
> etc., as there are likely to be any number of strange things in there.
>
>   Possibly something in perl or, for the likes of me, even something GUI based.
>
> Thanks,
> Mark

Mark,

I don't know any good FLAC to MP3 converter. But anytime I need to
convert from one format to another I simply use FFMPEG.

It's a command line program, but it is very easy to use. If you want,
you can give me the quality parameters you want to use for the
conversion and I can tell you the options you have to pass ffmpeg to
convert from FLAC to MP3.

About the directories and stuff, you could just use an script, but
unfortunatelly I can't help you with that.

Regards.

Richard.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:12 ` Ricardo Bevilacqua
@ 2008-11-05 18:46   ` Andrew Gaydenko
  2008-11-05 19:55     ` Mark Knecht
                       ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Andrew Gaydenko @ 2008-11-05 18:46 UTC (permalink / raw
  To: gentoo-user

> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
> > Hi,
> >   I'm wondering if anyone has a good way to convert a large hierarcy
> > of directories populated with FLAC files to a new set of directories
> > using mp3 instead? The FLAC directory contains something like 20000
> > files so I need the converted structure to replicate the original.
> > Most likely the tool has to be very tolerant of file naming, unicode,
> > etc., as there are likely to be any number of strange things in there.
> >
> >   Possibly something in perl or, for the likes of me, even something GUI
> > based.

GUI-based: media-sound/soundkonverter




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:46   ` Andrew Gaydenko
@ 2008-11-05 19:55     ` Mark Knecht
  2008-11-05 20:13       ` Andrew Gaydenko
  2008-11-05 20:24     ` Paul Hartman
  2008-11-06  4:55     ` Mark Knecht
  2 siblings, 1 reply; 27+ messages in thread
From: Mark Knecht @ 2008-11-05 19:55 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko <a@gaydenko.com> wrote:
>> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
>> > Hi,
>> >   I'm wondering if anyone has a good way to convert a large hierarcy
>> > of directories populated with FLAC files to a new set of directories
>> > using mp3 instead? The FLAC directory contains something like 20000
>> > files so I need the converted structure to replicate the original.
>> > Most likely the tool has to be very tolerant of file naming, unicode,
>> > etc., as there are likely to be any number of strange things in there.
>> >
>> >   Possibly something in perl or, for the likes of me, even something GUI
>> > based.
>
> GUI-based: media-sound/soundkonverter

Thanks to all for the answers and ideas so far.

Andrew - can soundkonverter target the output files to a completely
different directory structure? I.e., can it take input from
/audio/flac/Artist/album/*.flac and send it to
/audio/mp3/artist/album/*.mp3 where it needs to create the directories
in the output tree?

If so this would be great for my needs.

I'll build it later this evening.

Thanks,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
                   ` (2 preceding siblings ...)
  2008-11-05 18:12 ` Ricardo Bevilacqua
@ 2008-11-05 20:08 ` Alex Schuster
  2008-11-06  2:14 ` darren kirby
  4 siblings, 0 replies; 27+ messages in thread
From: Alex Schuster @ 2008-11-05 20:08 UTC (permalink / raw
  To: gentoo-user

Mark Knecht writes:

>    I'm wondering if anyone has a good way to convert a large hierarcy
> of directories populated with FLAC files to a new set of directories
> using mp3 instead? The FLAC directory contains something like 20000
> files so I need the converted structure to replicate the original.
> Most likely the tool has to be very tolerant of file naming, unicode,
> etc., as there are likely to be any number of strange things in there.
>
>    Possibly something in perl or, for the likes of me, even something GUI
> based.

This might work:

- emerge -u media-sound/transkode && transkode
- Configure transkode:
  - edit the profile (like mp3-standard) you want to use to your needs
  - set the naming scheme to %{src_dir}/%{src_name}.%{dst_ext}
- Drag the root folder of your MP3s into the application window (works
  with KDE, not sure about other desktops).
- Mark all files with Ctrl-A.
- Click right and set the profile to the one you want.
- Click the play button.
- Wait until all is done. You may stop and resume the process, but
  when you quit transkode, I think it does not remember which files
  were already converted.
- Beware of the strange naming things, I do not know how well transkode
  will handle this.
- You will also get a nice amarok plugin if the amarok use flag is set.

	Wonko



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 19:55     ` Mark Knecht
@ 2008-11-05 20:13       ` Andrew Gaydenko
  0 siblings, 0 replies; 27+ messages in thread
From: Andrew Gaydenko @ 2008-11-05 20:13 UTC (permalink / raw
  To: gentoo-user

On Wednesday 05 November 2008 22:55:34 Mark Knecht wrote:
> On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko <a@gaydenko.com> wrote:
> >> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
> >> > Hi,
> >> >   I'm wondering if anyone has a good way to convert a large hierarcy
> >> > of directories populated with FLAC files to a new set of directories
> >> > using mp3 instead? The FLAC directory contains something like 20000
> >> > files so I need the converted structure to replicate the original.
> >> > Most likely the tool has to be very tolerant of file naming, unicode,
> >> > etc., as there are likely to be any number of strange things in there.
> >> >
> >> >   Possibly something in perl or, for the likes of me, even something
> >> > GUI based.
> >
> > GUI-based: media-sound/soundkonverter
>
> Thanks to all for the answers and ideas so far.
>
> Andrew - can soundkonverter target the output files to a completely
> different directory structure? I.e., can it take input from
> /audio/flac/Artist/album/*.flac and send it to
> /audio/mp3/artist/album/*.mp3 where it needs to create the directories
> in the output tree?
>
> If so this would be great for my needs.
>
> I'll build it later this evening.
>
> Thanks,
> Mark

There ia an option (among others) "copy directory structure" 
(I have not used it).




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:46   ` Andrew Gaydenko
  2008-11-05 19:55     ` Mark Knecht
@ 2008-11-05 20:24     ` Paul Hartman
  2008-11-05 23:20       ` Beau Henderson
  2008-11-06  3:18       ` Mark Knecht
  2008-11-06  4:55     ` Mark Knecht
  2 siblings, 2 replies; 27+ messages in thread
From: Paul Hartman @ 2008-11-05 20:24 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
>> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
>> > Hi,
>> >   I'm wondering if anyone has a good way to convert a large hierarcy
>> > of directories populated with FLAC files to a new set of directories
>> > using mp3 instead? The FLAC directory contains something like 20000
>> > files so I need the converted structure to replicate the original.
>> > Most likely the tool has to be very tolerant of file naming, unicode,
>> > etc., as there are likely to be any number of strange things in there.
>> >
>> >   Possibly something in perl or, for the likes of me, even something GUI
>> > based.
>
> GUI-based: media-sound/soundkonverter

Try also media-sound/soundconverter for a gnome version



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 20:24     ` Paul Hartman
@ 2008-11-05 23:20       ` Beau Henderson
  2008-11-06  3:18       ` Mark Knecht
  1 sibling, 0 replies; 27+ messages in thread
From: Beau Henderson @ 2008-11-05 23:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

Audacity does an excellent job ( and lets you select many different encoding
qualities )

On Thu, Nov 6, 2008 at 6:24 AM, Paul Hartman
<paul.hartman+gentoo@gmail.com<paul.hartman%2Bgentoo@gmail.com>
> wrote:

> On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
> >> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
> >> > Hi,
> >> >   I'm wondering if anyone has a good way to convert a large hierarcy
> >> > of directories populated with FLAC files to a new set of directories
> >> > using mp3 instead? The FLAC directory contains something like 20000
> >> > files so I need the converted structure to replicate the original.
> >> > Most likely the tool has to be very tolerant of file naming, unicode,
> >> > etc., as there are likely to be any number of strange things in there.
> >> >
> >> >   Possibly something in perl or, for the likes of me, even something
> GUI
> >> > based.
> >
> > GUI-based: media-sound/soundkonverter
>
> Try also media-sound/soundconverter for a gnome version
>
>


-- 
Beau Dylan Henderson

[-- Attachment #2: Type: text/html, Size: 1588 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:06         ` Dirk Heinrichs
@ 2008-11-05 23:54           ` Neil Bothwick
  2008-11-07 20:17           ` Eric Martin
  1 sibling, 0 replies; 27+ messages in thread
From: Neil Bothwick @ 2008-11-05 23:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

On Wed, 5 Nov 2008 19:06:49 +0100, Dirk Heinrichs wrote:

> > IIRC, there is a fuse filesystem in portage that does exactly that. I
> > don't have any experience with it but it warrants a look.  
> 
> Wow, indeed! sys-fs/mp3fs.

Nice,anything similar for Ogg Vorbis?


-- 
Neil Bothwick

30 minutes of begging is not considered foreplay.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
                   ` (3 preceding siblings ...)
  2008-11-05 20:08 ` Alex Schuster
@ 2008-11-06  2:14 ` darren kirby
  2008-11-06  3:14   ` Mark Knecht
  4 siblings, 1 reply; 27+ messages in thread
From: darren kirby @ 2008-11-06  2:14 UTC (permalink / raw
  To: gentoo-user

quoth the Mark Knecht:
> Hi,
>    I'm wondering if anyone has a good way to convert a large hierarcy
> of directories populated with FLAC files to a new set of directories
> using mp3 instead? The FLAC directory contains something like 20000
> files so I need the converted structure to replicate the original.
> Most likely the tool has to be very tolerant of file naming, unicode,
> etc., as there are likely to be any number of strange things in there.

CLI based, but very simple. It will mirror your directory structure and 
preserve any meta-tags:  http://badcomputer.org/unix/code/sneetchalizer/

Something like:
$ sneetchalizer -r -D /my/mp3s/ --in=flac --out=mp3 /my/flacs/

will do everything you specified above with one command.

Ruby powered ;)

> Thanks,
> Mark


HTH,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-06  2:14 ` darren kirby
@ 2008-11-06  3:14   ` Mark Knecht
  0 siblings, 0 replies; 27+ messages in thread
From: Mark Knecht @ 2008-11-06  3:14 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 6:14 PM, darren kirby <bulliver@badcomputer.org> wrote:
> quoth the Mark Knecht:
>> Hi,
>>    I'm wondering if anyone has a good way to convert a large hierarcy
>> of directories populated with FLAC files to a new set of directories
>> using mp3 instead? The FLAC directory contains something like 20000
>> files so I need the converted structure to replicate the original.
>> Most likely the tool has to be very tolerant of file naming, unicode,
>> etc., as there are likely to be any number of strange things in there.
>
> CLI based, but very simple. It will mirror your directory structure and
> preserve any meta-tags:  http://badcomputer.org/unix/code/sneetchalizer/
>
> Something like:
> $ sneetchalizer -r -D /my/mp3s/ --in=flac --out=mp3 /my/flacs/
>
> will do everything you specified above with one command.
>
> Ruby powered ;)
>
>> Thanks,
>> Mark
>
>
> HTH,
> -d
> --
> darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
> "...the number of UNIX installations has grown to 10, with more expected..."
> - Dennis Ritchie and Ken Thompson, June 1972
>

Darrin,
   Thanks. I'll give it a try.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 20:24     ` Paul Hartman
  2008-11-05 23:20       ` Beau Henderson
@ 2008-11-06  3:18       ` Mark Knecht
  1 sibling, 0 replies; 27+ messages in thread
From: Mark Knecht @ 2008-11-06  3:18 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 12:24 PM, Paul Hartman
<paul.hartman+gentoo@gmail.com> wrote:
> On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
>>> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
>>> > Hi,
>>> >   I'm wondering if anyone has a good way to convert a large hierarcy
>>> > of directories populated with FLAC files to a new set of directories
>>> > using mp3 instead? The FLAC directory contains something like 20000
>>> > files so I need the converted structure to replicate the original.
>>> > Most likely the tool has to be very tolerant of file naming, unicode,
>>> > etc., as there are likely to be any number of strange things in there.
>>> >
>>> >   Possibly something in perl or, for the likes of me, even something GUI
>>> > based.
>>
>> GUI-based: media-sound/soundkonverter
>
> Try also media-sound/soundconverter for a gnome version
>
>

I tried this. It converts a single album correctly but fails horribly
at collections of dozens and dozens of directories. It seems to get
very confused.

I guess I'll try the KDE version to see if it works any better.

Thanks for the help,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:46   ` Andrew Gaydenko
  2008-11-05 19:55     ` Mark Knecht
  2008-11-05 20:24     ` Paul Hartman
@ 2008-11-06  4:55     ` Mark Knecht
  2008-11-06  9:56       ` Neil Bothwick
  2 siblings, 1 reply; 27+ messages in thread
From: Mark Knecht @ 2008-11-06  4:55 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko <a@gaydenko.com> wrote:
>> 2008/11/4 Mark Knecht <markknecht@gmail.com>:
>> > Hi,
>> >   I'm wondering if anyone has a good way to convert a large hierarcy
>> > of directories populated with FLAC files to a new set of directories
>> > using mp3 instead? The FLAC directory contains something like 20000
>> > files so I need the converted structure to replicate the original.
>> > Most likely the tool has to be very tolerant of file naming, unicode,
>> > etc., as there are likely to be any number of strange things in there.
>> >
>> >   Possibly something in perl or, for the likes of me, even something GUI
>> > based.
>
> GUI-based: media-sound/soundkonverter

thanks Andrew. I tried this version but so far it's not cooperating.
Probably it's mostly me but I now understand I have one more
requirement that the Gnome version handles but I don't see an option
in the KDE version. Most of the tracks were ripped over the last
couple of years using KDE which prepends a track number on the file
name

01_Track1Name.flac
02_Track2Name.flac

I'd like to remove the track numbers but I don't see a way to do this
yet. The Gnome version has that feature but crashes when given more
than a single album.

too bad....

- Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-06  4:55     ` Mark Knecht
@ 2008-11-06  9:56       ` Neil Bothwick
  2008-11-07  1:12         ` Mark Knecht
  0 siblings, 1 reply; 27+ messages in thread
From: Neil Bothwick @ 2008-11-06  9:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

On Wed, 5 Nov 2008 20:55:33 -0800, Mark Knecht wrote:

> Most of the tracks were ripped over the last
> couple of years using KDE which prepends a track number on the file
> name
> 
> 01_Track1Name.flac
> 02_Track2Name.flac
> 
> I'd like to remove the track numbers but I don't see a way to do this
> yet.

You can change this in Kcontrol->Sound->Audio CDs under the Names tab.

Use something like krename to rename the existing tracks, or do it with
renamexm on the command line

renamexm -s'/^[0-9][0-9]_//r' **/*.mp3


-- 
Neil Bothwick

I've found a solution to Fermat's Last Theorem but I see I've run out of room o

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-06  9:56       ` Neil Bothwick
@ 2008-11-07  1:12         ` Mark Knecht
  2008-11-07  8:30           ` Neil Bothwick
  0 siblings, 1 reply; 27+ messages in thread
From: Mark Knecht @ 2008-11-07  1:12 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 6, 2008 at 1:56 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 5 Nov 2008 20:55:33 -0800, Mark Knecht wrote:
>
>> Most of the tracks were ripped over the last
>> couple of years using KDE which prepends a track number on the file
>> name
>>
>> 01_Track1Name.flac
>> 02_Track2Name.flac
>>
>> I'd like to remove the track numbers but I don't see a way to do this
>> yet.
>
> You can change this in Kcontrol->Sound->Audio CDs under the Names tab.
>
> Use something like krename to rename the existing tracks, or do it with
> renamexm on the command line
>
> renamexm -s'/^[0-9][0-9]_//r' **/*.mp3
>
>
> --
> Neil Bothwick
>
> I've found a solution to Fermat's Last Theorem but I see I've run out of room o
>

Neil,
   Thanks. I'll give it a try and report back any results. I guess I'm
only moderately confident as I'm not clear how the group of MP3 files
keeps the original track order. Are those written into the MP3 file by
the converter? Where does it get the info if I've removed the track
numbers from the file names. Is it already in the FLAC files?

   Anyway, I'll give it a try on a few directories and see how it works.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-07  1:12         ` Mark Knecht
@ 2008-11-07  8:30           ` Neil Bothwick
  2008-11-07 13:55             ` Mark Knecht
  0 siblings, 1 reply; 27+ messages in thread
From: Neil Bothwick @ 2008-11-07  8:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

On Thu, 6 Nov 2008 17:12:32 -0800, Mark Knecht wrote:

>    Thanks. I'll give it a try and report back any results. I guess I'm
> only moderately confident as I'm not clear how the group of MP3 files
> keeps the original track order. Are those written into the MP3 file by
> the converter? Where does it get the info if I've removed the track
> numbers from the file names. Is it already in the FLAC files?

It doesn't, track order is a feature of a CD, not a bunch of mp3s. If you
want to keep the files in track order, leave the numbers there, that's
what they're for.


-- 
Neil Bothwick

Why is it that when you transport something by car it's called shipment,
but when you transport it by ship it's called cargo?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-07  8:30           ` Neil Bothwick
@ 2008-11-07 13:55             ` Mark Knecht
  2008-11-07 15:54               ` Paul Hartman
  0 siblings, 1 reply; 27+ messages in thread
From: Mark Knecht @ 2008-11-07 13:55 UTC (permalink / raw
  To: gentoo-user

On Fri, Nov 7, 2008 at 12:30 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Thu, 6 Nov 2008 17:12:32 -0800, Mark Knecht wrote:
>
>>    Thanks. I'll give it a try and report back any results. I guess I'm
>> only moderately confident as I'm not clear how the group of MP3 files
>> keeps the original track order. Are those written into the MP3 file by
>> the converter? Where does it get the info if I've removed the track
>> numbers from the file names. Is it already in the FLAC files?
>
> It doesn't, track order is a feature of a CD, not a bunch of mp3s. If you
> want to keep the files in track order, leave the numbers there, that's
> what they're for.
>
>
> --
> Neil Bothwick

Then there's something going on elsewhere. Using soundconverter I
converted a few CDs removing the track numbers from the names. I sent
the CD over to a Windows box and played them using iTunes. I note that
the tracks are displayed in the original order. It's possible, I
suppose, that since the artist and title directory names are in place
that iTunes looked up the track order from the CD database, but I
assumed it was actually embedded in the file by soundconverter.
soundfile-info cannot read MP3 file so I don't know what too would
tell me that the data is in the file or not.

I'll do the same experiment with your renaming and see what happens.

thanks,
Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-07 13:55             ` Mark Knecht
@ 2008-11-07 15:54               ` Paul Hartman
  2008-11-07 17:00                 ` Mark Knecht
  0 siblings, 1 reply; 27+ messages in thread
From: Paul Hartman @ 2008-11-07 15:54 UTC (permalink / raw
  To: gentoo-user

On Fri, Nov 7, 2008 at 7:55 AM, Mark Knecht <markknecht@gmail.com> wrote:
> On Fri, Nov 7, 2008 at 12:30 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
>> On Thu, 6 Nov 2008 17:12:32 -0800, Mark Knecht wrote:
>>
>>>    Thanks. I'll give it a try and report back any results. I guess I'm
>>> only moderately confident as I'm not clear how the group of MP3 files
>>> keeps the original track order. Are those written into the MP3 file by
>>> the converter? Where does it get the info if I've removed the track
>>> numbers from the file names. Is it already in the FLAC files?
>>
>> It doesn't, track order is a feature of a CD, not a bunch of mp3s. If you
>> want to keep the files in track order, leave the numbers there, that's
>> what they're for.
>>
>>
>> --
>> Neil Bothwick
>
> Then there's something going on elsewhere. Using soundconverter I
> converted a few CDs removing the track numbers from the names. I sent
> the CD over to a Windows box and played them using iTunes. I note that
> the tracks are displayed in the original order. It's possible, I
> suppose, that since the artist and title directory names are in place
> that iTunes looked up the track order from the CD database, but I
> assumed it was actually embedded in the file by soundconverter.
> soundfile-info cannot read MP3 file so I don't know what too would
> tell me that the data is in the file or not.
>
> I'll do the same experiment with your renaming and see what happens.
>
> thanks,
> Mark

Track number can be stored in the ID3 tag of MP3 files (as well as
total number of tracks on the album, and disc number for sets).



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-07 15:54               ` Paul Hartman
@ 2008-11-07 17:00                 ` Mark Knecht
  0 siblings, 0 replies; 27+ messages in thread
From: Mark Knecht @ 2008-11-07 17:00 UTC (permalink / raw
  To: gentoo-user

On Fri, Nov 7, 2008 at 7:54 AM, Paul Hartman
<paul.hartman+gentoo@gmail.com> wrote:
> On Fri, Nov 7, 2008 at 7:55 AM, Mark Knecht <markknecht@gmail.com> wrote:
>> On Fri, Nov 7, 2008 at 12:30 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
>>> On Thu, 6 Nov 2008 17:12:32 -0800, Mark Knecht wrote:
>>>
>>>>    Thanks. I'll give it a try and report back any results. I guess I'm
>>>> only moderately confident as I'm not clear how the group of MP3 files
>>>> keeps the original track order. Are those written into the MP3 file by
>>>> the converter? Where does it get the info if I've removed the track
>>>> numbers from the file names. Is it already in the FLAC files?
>>>
>>> It doesn't, track order is a feature of a CD, not a bunch of mp3s. If you
>>> want to keep the files in track order, leave the numbers there, that's
>>> what they're for.
>>>
>>>
>>> --
>>> Neil Bothwick
>>
>> Then there's something going on elsewhere. Using soundconverter I
>> converted a few CDs removing the track numbers from the names. I sent
>> the CD over to a Windows box and played them using iTunes. I note that
>> the tracks are displayed in the original order. It's possible, I
>> suppose, that since the artist and title directory names are in place
>> that iTunes looked up the track order from the CD database, but I
>> assumed it was actually embedded in the file by soundconverter.
>> soundfile-info cannot read MP3 file so I don't know what too would
>> tell me that the data is in the file or not.
>>
>> I'll do the same experiment with your renaming and see what happens.
>>
>> thanks,
>> Mark
>
> Track number can be stored in the ID3 tag of MP3 files (as well as
> total number of tracks on the album, and disc number for sets).
>
>
OK. Now, with 20,000 FLAC files to convert the track number needs to
be removed from the name and stored in the ID3 tag field.

Are there tools that can actually do this reliably? So far none of the
GUI based ones I've tried actually work across the directory
hierarchy. I assumed not when I asked the question originally thinking
maybe a command line script?

- Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] FLAC to mp3 converters?
  2008-11-05 18:06         ` Dirk Heinrichs
  2008-11-05 23:54           ` Neil Bothwick
@ 2008-11-07 20:17           ` Eric Martin
  1 sibling, 0 replies; 27+ messages in thread
From: Eric Martin @ 2008-11-07 20:17 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs wrote:
> Am Mittwoch, 5. November 2008 18:59:42 schrieb Eric Martin:
>
>   
>> IIRC, there is a fuse filesystem in portage that does exactly that. I
>> don't have any experience with it but it warrants a look.
>>     
>
> Wow, indeed! sys-fs/mp3fs.
>
> Bye...
>
> 	Dirk
>
>   
I'm thinking of using that to have my music in flac, and use mp3fs to
have itunes look at it.



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2008-11-07 20:17 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 18:04 [gentoo-user] FLAC to mp3 converters? Mark Knecht
2008-11-04 18:15 ` Dirk Heinrichs
2008-11-05  3:40   ` young sun
2008-11-05 17:12 ` Jorge Peixoto de Morais Neto
2008-11-05 17:16   ` Neil Bothwick
2008-11-05 17:50     ` Jorge Peixoto de Morais Neto
2008-11-05 17:59       ` Eric Martin
2008-11-05 18:06         ` Dirk Heinrichs
2008-11-05 23:54           ` Neil Bothwick
2008-11-07 20:17           ` Eric Martin
2008-11-05 18:12 ` Ricardo Bevilacqua
2008-11-05 18:46   ` Andrew Gaydenko
2008-11-05 19:55     ` Mark Knecht
2008-11-05 20:13       ` Andrew Gaydenko
2008-11-05 20:24     ` Paul Hartman
2008-11-05 23:20       ` Beau Henderson
2008-11-06  3:18       ` Mark Knecht
2008-11-06  4:55     ` Mark Knecht
2008-11-06  9:56       ` Neil Bothwick
2008-11-07  1:12         ` Mark Knecht
2008-11-07  8:30           ` Neil Bothwick
2008-11-07 13:55             ` Mark Knecht
2008-11-07 15:54               ` Paul Hartman
2008-11-07 17:00                 ` Mark Knecht
2008-11-05 20:08 ` Alex Schuster
2008-11-06  2:14 ` darren kirby
2008-11-06  3:14   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox