You are not logged in.

#26 2012-02-27 19:22:41

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 553
Website

Re: Audio Sync and Conversion Utility

nice! thanks a lot and keep up the good work!

Offline

#27 2012-03-28 22:34:19

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

For some reason this isn't working for me. I'm trying "audioconvert --all=copy --flac=ogg Music ogg" but the only thing that happens is the first folder in my music library is created in the ogg folder (e.g. Music/3 Doors Down/Away From the Sun/ creates the folder ogg/3 Doors Down/Away From the Sun) and it is empty.  The only output is

Found config: /home/bslackr/.config/audioconvert/config.rc
convert (direct):
  from: /mnt/data/Music/3 Doors Down/Away From the Sun/01. When I'm Gone.flac
    to: /mnt/data/ogg/3 Doors Down/Away From the Sun/01. When I'm Gone.ogg

And then it just does nothing more. No file is converted.

Offline

#28 2012-03-29 02:14:00

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

bslackr wrote:

For some reason this isn't working for me. I'm trying "audioconvert --all=copy --flac=ogg Music ogg" but the only thing that happens is the first folder in my music library is created in the ogg folder (e.g. Music/3 Doors Down/Away From the Sun/ creates the folder ogg/3 Doors Down/Away From the Sun) and it is empty.  The only output is

Found config: /home/bslackr/.config/audioconvert/config.rc
convert (direct):
  from: /mnt/data/Music/3 Doors Down/Away From the Sun/01. When I'm Gone.flac
    to: /mnt/data/ogg/3 Doors Down/Away From the Sun/01. When I'm Gone.ogg

And then it just does nothing more. No file is converted.

Do you have oggenc installed?

Offline

#29 2012-03-29 11:17:31

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

That was the problem. I normally read the stuff in the optdepends, guess it slipped past me this time. Thanks. Now I run into another problem. It worked for the first few songs, but now I'm getting an "Error: input file is not a supported format" even though the file is a flac.

Edit: I just tried converting it manually with oggenc. If I try to use the flac file directly, it gives me that error. If I use flac to decode the file, and pipe that to oggenc it works

flac -d -c test.flac | oggenc - -o test.ogg
--works

oggenc test.flac -o test.ogg
--doesn't work

Don't know if that helps you or not

Last edited by bslackr (2012-03-29 11:28:22)

Offline

#30 2012-03-29 11:37:31

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Audio Sync and Conversion Utility

Awesome, I was about to write something like this myself. I'll try it out on my next run. Thanks a lot!

Last edited by Runiq (2012-03-29 11:37:57)

Offline

#31 2012-03-29 12:18:08

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

bslackr wrote:

That was the problem. I normally read the stuff in the optdepends, guess it slipped past me this time. Thanks. Now I run into another problem. It worked for the first few songs, but now I'm getting an "Error: input file is not a supported format" even though the file is a flac.

Edit: I just tried converting it manually with oggenc. If I try to use the flac file directly, it gives me that error. If I use flac to decode the file, and pipe that to oggenc it works

flac -d -c test.flac | oggenc - -o test.ogg
--works

oggenc test.flac -o test.ogg
--doesn't work

Don't know if that helps you or not

Some google searching indicates, that this may be a flac file with id3v2 tags. Not sure how many you have of those, but I probably can add a workaround for that:

a. Either force a indirect conversion (flac->wav->ogg),
b. try a direct conversion and see if it works, if not try indirect
c. check for idv3 tag for flac files and use indirect if found.

Offline

#32 2012-03-29 19:46:21

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

That was the issue. I stripped the file of its id3v2 tag and it converted properly. I'm not sure how many of those I have either, but if you could provide a workaround that would be awesome. I'll probably just batch remove the id3 tags, but this would be useful in the future. B or C would probably be better speedwise.

Offline

#33 2012-03-29 19:48:51

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

bslackr wrote:

That was the issue. I stripped the file of its id3v2 tag and it converted properly. I'm not sure how many of those I have either, but if you could provide a workaround that would be awesome. I'll probably just batch remove the id3 tags, but this would be useful in the future. B or C would probably be better speedwise.

I've implemented C. Should be available sometime tonight or tomorrow.

Offline

#34 2012-03-29 19:51:22

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

Wow, that was fast. Thanks a lot!

Offline

#35 2012-03-30 12:32:26

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

0.4.1 is out now. Comes with parallel execution and fixes for the above mentioned issues.

Offline

#36 2012-03-30 19:41:32

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

Just tried this and I get a segfault

Info: Found config /home/bslackr/.config/audioconvert/config.rc
Info: found flac in /usr/bin/flac
Info: found oggenc in /usr/bin/oggenc
[1]    3176 segmentation fault  audioconvert --all=copy --flac=ogg Music ogg

Offline

#37 2012-03-30 19:47:52

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

bslackr wrote:

Just tried this and I get a segfault

Info: Found config /home/bslackr/.config/audioconvert/config.rc
Info: found flac in /usr/bin/flac
Info: found oggenc in /usr/bin/oggenc
[1]    3176 segmentation fault  audioconvert --all=copy --flac=ogg Music ogg

Oops...! Uploaded a new version. Should be fixed now.

Offline

#38 2012-03-30 20:16:53

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: Audio Sync and Conversion Utility

Looks like it's working good now, the id3's are being detected and converted properly and no seg faults. Very useful program, thanks again,

Offline

#39 2013-01-13 17:12:57

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

0.4.3 is out a with small bug fix regarding the copy task not overwriting files when it really needs to, and limited opus support (no metadata transfer yet, waiting for taglib to support it)

Offline

#40 2014-08-01 18:31:55

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 605
Website

Re: Audio Sync and Conversion Utility

0.4.4 is out. Drops FOX-1.6 and compiles with the latest fox-devel package in community.

Offline

Board footer

Powered by FluxBB