The error about missing ffmpeg, I got in console was during transferring songs
in flac from local collection, to an iPod (which only support mp3/aac).
It's also show when copying to an other collection, at least when amarok is
executed with --debug option.
After a some code lookup, I think I found the origin of this bug:
In src/core/transcoding/formats/ there is one files per file format supported
with a line like:
"return ffmpegOutput.contains( QRegExp( "^ .EA....*libvorbis" ));"
So, it seem amarok parse the output of "ffmpeg -codecs" (which is
executed by /src/core/transcoding/TranscodingController.cpp) to guess
which file format is supported.
There is two problems:
1. ffmpeg command doesn't exist anymore (libav doesn't provide any
compatibility wrapper), so either amarok or libav-tools should be patched to
make amarok looking for an existing command.
2. The ouput of "ffmpeg -codecs" and "avconv -codecs" differ which break the
regex:
The original ffmpeg put a space before listing available codecs:
" DEA.L. vorbis Vorbis (decoders: vorbis libvorbis ) (encoders:
vorbis libvorbis )"
And avconv on Trusty doesn't:
"DEA.L. vorbis Vorbis (encoders: vorbis libvorbis )"
Maybe amarok is not the only package affected by the switch made by
avconv…
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to amarok in Ubuntu.
https://bugs.launchpad.net/bugs/1285729
Title:
amarok lacks transcode support
Status in “amarok” package in Ubuntu:
Confirmed
Bug description:
Amarok 2.8 in (K)Ubuntu trusty is unable to transcode files before
copying them to an iPod.
When running amarok, on console we get the following error:
"amarok: [CollectionLocation] FFmpeg is not installed or does not support any
of the required formats. "
As there is no more ffmpeg packages on Ubuntu, we can't install it to fix the
problem this way.
I tried to make a symbolic link of avconv to ffmpeg (ln -s /usr/bin/avconv
/usr/bin/ffmpeg) but that doesn't fix the problem.
I've also installed the following packages:
$ dpkg -l |grep -E '^ii[ ]+libav.*'
ii libav-tools 6:9.10-1ubuntu7
amd64 Multimedia player, server, encoder and transcoder
ii libavahi-client3:amd64 0.6.31-4ubuntu1
amd64 Avahi client library
ii libavahi-common-data:amd64 0.6.31-4ubuntu1
amd64 Avahi common data files
ii libavahi-common3:amd64 0.6.31-4ubuntu1
amd64 Avahi common library
ii libavahi-core7:amd64 0.6.31-4ubuntu1
amd64 Avahi's embeddable mDNS/DNS-SD library
ii libavahi-glib1:amd64 0.6.31-4ubuntu1
amd64 Avahi GLib integration library
ii libavbin0 7-1.4build1
amd64 cross-platform media decoding library
ii libavc1394-0:amd64 0.5.4-2
amd64 control IEEE 1394 audio/video devices
ii libavcodec-dev 6:9.10-1ubuntu7
amd64 Development files for libavcodec
ii libavcodec-extra 6:9.10-1ubuntu7
all Libav codec library (additional codecs meta-package)
ii libavcodec-extra-54:amd64 6:9.10-1ubuntu7
amd64 Libav codec library (additional codecs)
ii libavcodec53:amd64 6:0.8.7-1ubuntu2
amd64 Libav codec library
ii libavdevice-dev 6:9.10-1ubuntu7
amd64 Development files for libavdevice
ii libavdevice-extra-53 6:9.10-1ubuntu7
all Libav device handling library (transitional package)
ii libavdevice53:amd64 6:9.10-1ubuntu7
amd64 Libav device handling library
ii libavfilter-extra-3 6:9.10-1ubuntu7
all Libav filter library (transitional package)
ii libavfilter3:amd64 6:9.10-1ubuntu7
amd64 Libav video filtering library
ii libavformat-dev 6:9.10-1ubuntu7
amd64 Development files for libavformat
ii libavformat-extra-54 6:9.10-1ubuntu7
all Libav file format library (transitional package)
ii libavformat53:amd64 6:0.8.7-1ubuntu2
amd64 Libav file format library
ii libavformat54:amd64 6:9.10-1ubuntu7
amd64 Libav file format library
ii libavresample1:amd64 6:9.10-1ubuntu7
amd64 Libav audo resampling library
ii libavutil-dev 6:9.10-1ubuntu7
amd64 Development files for libavutil
ii libavutil-extra-52 6:9.10-1ubuntu7
all Libav utility library (transitional package)
ii libavutil51:amd64 6:0.8.7-1ubuntu2
amd64 Libav utility library
ii libavutil52:amd64 6:9.10-1ubuntu7
amd64 Libav utility library
Hopping that will fix the problem, but it still happen.
The step to reproduce are simple:
1) install amarok (2.8)
2) Put in your local collection somes audios file in flac/ogg/..
3) Try to copy flac/ogg/.. on a device (like iPod) which need transcoding.
4) You get the error message.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: amarok 2:2.8.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Feb 27 16:18:46 2014
InstallationDate: Installed on 2014-02-26 (1 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140121.1)
SourcePackage: amarok
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/1285729/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp