LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2016, 06:46 AM   #1
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Apple Lossless and encoding software


Hi all, me again...

Was wondering if anyone knew of a way to get encoding software to use ALAC lossless for encoding... specifically for SoundConverter on Slackware 14.2 and Ubuntu 16.04. The feature used to be included in Ubuntu 14.04 however it is no longer available or I have overlooked the obvious or not done enough homework. AFAIK this feature has never been implemented in Slackware. If I can't have this then a command line syntax to batch convert a directory/sub-directories would be lovely. I've seen several examples already, why don't you all post what you IMO works best?
 
Old 11-22-2016, 01:05 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,984

Rep: Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570Reputation: 4570
I haven't actually tried this, but it's an idea that comes to mind:
Code:
ffmpeg -i input.ext -acodec alac output.m4a
And if that works:

Code:
for f in /path/to/directory/**/*.ext; do
ffmpeg -i $f -acodec alac $(basename $f .ext).m4a
done

Last edited by dugan; 11-22-2016 at 01:09 PM.
 
1 members found this post helpful.
Old 11-22-2016, 01:17 PM   #3
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,075

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
I can confirm that a command like:

Code:
ffmpeg -i foo.flac -vn -acodec alac bar.m4a
creates an Apple Lossless encoded file, at least with ffmpeg-3.1.1

*on Slackware 14.2

No idea how to integrate that with Sound Converter, which I assume is a GUI application? if it has an option to use an external encoder (like Audacity does), then maybe that would work.
 
Old 11-22-2016, 01:23 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
You have directories full of wav files?
 
Old 11-26-2016, 08:58 AM   #5
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
one question...

is this command recursively doing subdir's until it runs out of files?

Quote:
Originally Posted by dugan View Post
I haven't actually tried this, but it's an idea that comes to mind:
Code:
ffmpeg -i input.ext -acodec alac output.m4a
And if that works:

Code:
for f in /path/to/directory/**/*.ext; do
ffmpeg -i $f -acodec alac $(basename $f .ext).m4a
done
thanks (lots)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Apple II software run on an Apple IIe? ESC201 General 2 07-02-2010 08:50 PM
[SOLVED] Audacious can't play apple lossless Daedra Slackware 1 04-03-2010 07:54 PM
Divx encoding software A6Quattro Linux - Software 5 07-10-2005 10:08 AM
Video Encoding Software NomadABC Linux - Software 3 01-24-2005 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration