[gpodder] audio_converter.py adding FLAC support

  • From: David Hendon <david.hendon3@xxxxxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Thu, 4 Jul 2019 16:12:18 -0700

Hey all,

I've been playing around with gPodder on Mac OS, and experimenting with
running commands on download, as well as tweaking the existing extensions.

I'd like to be able to convert a downloaded episode to FLAC, but when I run
the vanilla audio_converter.py I get the following error:
1562281395.974710 [audio_converter] WARNING: Error converting audio file:
b'' / b'dyld: Library not loaded:
/usr/local/opt/fontconfig/lib/libfontconfig.1.dylib\n  Referenced from:
/usr/local/bin/ffmpeg\n  Reason: Incompatible library version: ffmpeg
requires version 14.0.0 or later, but libfontconfig.1.dylib provides
version 13.0.0\n'

Any ideas on how to fix this? I'm able use ffmpeg to convert via command
line, but not here. Before I add FLAC support, wanted to make sure the
original version can run

I've already tried the steps here
<https://gis.stackexchange.com/questions/316682/gdal-installation-on-mac-osx-via-conda-fails-linked-due-to-libpoppler-and-font>
from
a somewhat related stackexchange error, but to no avail unfortunately

Many thanks,
David

Other related posts: