You are not logged in.

#1 2019-05-25 02:26:43

hhh
Meep!
Registered: 2015-09-17
Posts: 7,673
Website

Simple audio conversion via Perl Audio Conveter

Archiving this, it's from 2011...

https://ubuntuforums.org/showthread.php?t=1826641

Install pacpl. Rename all folders you're converting so they have no spaces.

Via a terminal, cd into the music folder you wish to convert and convert it. In this case, FLAC to mp3...

cd /home/rachel/Downloads/Police/1980-ZenyattaMondatta[2003Remaster]/
pacpl -t mp3 --bitrate 192 -r *.flac

Remove the flac files (after copying them somewhere else)...

rm *.flac

For more info...

man pacpl

Offline

#2 2019-05-25 06:28:05

ohnonot
...again
Registered: 2015-09-29
Posts: 3,735
Website

Re: Simple audio conversion via Perl Audio Conveter

if it's from 2011, what does it use internally? ffmpeg?

Offline

#3 2019-05-26 07:10:36

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,303
Website

Re: Simple audio conversion via Perl Audio Conveter

I used pacpl quite a bit for a while, some years ago, and it was very handy, and powerful. While it can use ffmeg it's very flexible about {de,en}coders.

These days I find ffmpeg by itself does the job for the conversions I want to do. @ohnonot, do you have some other preferred library in 2019?

Last edited by johnraff (2019-05-26 07:12:39)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#4 2019-05-27 17:52:24

ohnonot
...again
Registered: 2015-09-29
Posts: 3,735
Website

Re: Simple audio conversion via Perl Audio Conveter

johnraff wrote:

@ohnonot, do you have some other preferred library in 2019?

i have a few scripts written around ffmpeg.
they used to work well for my needs, but I haven't tested for a while.
(this is for recursive transcoding of audio. for the occasional manual (video) coding job I hunt & pick the suitable ffmpeg options for an ad-hoc oneliner)

pacpl looks interesting enough.
the website is a bog of wix.com, but afaiu the developer is telling us to get the latest code by issuing

git clone git://git.code.sf.net/p/pacpl/code pacpl-code

the sourceforge page doesn't look outdated either.

But manually hunting down perl dependencies can be a b!tch.

Last edited by ohnonot (2019-05-27 17:54:55)

Offline

Board footer

Powered by FluxBB