transKode

Amarok 1.x Scripts

Source:

1
Score 50%
Description:

After many failed attempts, it seems I've finally managed to built a binary package that works in most common distros (tested in Slacware 12, Kubuntu 7.10 and openSUSE 10.3 -32bits only!)
Sorry for the inconveniences...


Adds a menu entry, 'transKode', to the playlist popup menu which allows reencoding of selected tracks using predefined profiles (use the 'configure' option to add, remove or edit them).

Required dependencies:
* amaroK >= 1.3 (http://amarok.kde.org/)
* TagLib >= 1.4 (http://developer.kde.org/~wheeler/taglib.html)

NOTE: x86 32bits executable provided, for other archs you can use your distro packages or compile from source:
http://sourceforge.net/projects/transkode
Last changelog:

12 years ago

Version 0.7:
- Fix: bug preventing Amarok TTMD to finish if there was a transcoding error
- Fix: decoding/encoding processes priority setting was not correctly applied

Version 0.7beta:
- New: make gstreamer decoder work for both 0.8 and 0.10 version (and drop spider plugin dependency)
- New: support ffmpeg both as decoder and encoder
- New: support xine as decoder (through an ad hoc utility: xineadump)
- New: support winamp plugins as decoder (through an ad hoc utility: wadump -also needs wine)
- New: support twolame encoder
- New: add ASCII function for output path generation
- New: allow editing output metadata (and extend support for composer and disc number to more formats)
- New: various gui improvements (such as using KDE widgets where possible)
- New: show status image (found/missing) for each program in the configuration dialog
- New: add additional profiles for Amarok transfer to media device (aac, flac, wav & wma)
- New: allow multiple simultaneous jobs (seems to crash when showing realtime progress though...)
- Fix: wrong use of wvunpack switches caused deletion of the input file!
- Fix: wrong use of wavpack switches
- Fix: send Amarok TTMD temporary files to the temp dir!
- Fix: when adding a directory, audio files with dots were not added
- Fix: consider double quote character (") when using vfat compatible path/file names

manub686

9 years ago

Hi,

transKode is converting fine between wma and mp3, but on doing so, it is not copying the existing tags. It is not throwing any error messages in the log either. Any idea how I can fix this?

I am using v0.7 on Amarok 1.4.8, with libtaglib1-1.5-0 and ffmpeg built on Jul 29 2008 with these:
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1

Thanks,
Manu

Report

RaraRasputin

9 years ago

Hi,

I use this script mainly to transcode flac files to mp3 before transferring them to my mp3 player. Often I remove one file from the player, but later decide to readd it to my playlist. This results in reencoding the file, even if do not select "remove transcoded files after transfer" in the options for the device.
Would it be possible to implement a cache for transkode, which ensures that each file has not to be encoded more than once?

-Rasputin

Report

MacAnthony

9 years ago

Can TransKode be used to transcode files when transferring to an MTP mp3 player? I have been trying to get it to work with my sansa view and it just says that the files aren't supported by the device.

I think I have it configured correctly, and it works to do it manually (via the context menu).

Report

MacAnthony

9 years ago

It says "Transcode to preferred format (txt) for device". I'm assuming that is my issue, right?

Any one know a way around that?

Report

madgunnar

9 years ago

Hi,
I've built and installed transKode for my amd64 like:

./configure
make
make install

transKode can be found as a script in Amarok and works as it should, except on one point. The transKode GUI shows up everytime I log in to KDE. Maybe it's because Amarok starts up and starts the app. Any way to make it not show up?

Report

dartmusic

9 years ago

I am running Amarok 1.4.9 on Ubuntu Hardy and whenever I am using transkode to transcode flac files when transferring to an iPod, transkode will crash. Sometimes it will do a few tracks, sometimes it will do none. Usually restarting Amarok will fix this, but that's uncomfortable.

Any ideas?

Thanks!

Report

gzu

10 years ago

Hi,

Is there anyway to add a call to the neroAACEnc AAC encoder for linux through the transkode plugin for Amarok. It looks like there is no way to add a generic commandline command for neroAAcEnc && AtomicParley for tagging.

Any suggestions,

Thanks.

Report

everlastingvoid

10 years ago

I have looked for libaudio for this amarok script but have failed several times. Can someone please point me in the correct derection?

Report

everlastingvoid

10 years ago

I found what I was looking for. But thnaks for the possible help.

Report

shadowcat

10 years ago

The Gentoo packages required for this application to work are:

pylibacl
nas
nfs-utils

Most of these correspond with other forms of linux like debian or RedHat RPMs. Once I emerged all of these the script worked just fine.

Report

RaraRasputin

10 years ago

I'm using gentoo linux, and version 0.7 of transkode seems to have lots of dependencies which it should not have. I downloaded the script via amarok->scriptmanager->Get More Scripts.

I get lots of errormessages like this one when I try to start the transKode script:

/home/tv-control/.kde/share/apps/amarok/scripts/transkode/transkode: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory

These are the libraries transKode was missing so far:
libacl.so.1
libaudio.so.2
liblcms.so.1
libnfsidmap.so.0
libldap-2.3.so.0

Each time I install one lib, transkode wants another one. But I am sure it does not need libldap :) And who knows what comes next...

Do problems like this exist on other distros? Is there a solution for this issue?

-Rasputin

Report

C

attendant

10 years ago

you're right. transkode has 3 dependencies: qt3, kde3 and taglib.
i have not the slightest idea why so many unneded dependencies are added to the resulting binary but the whole thing has become really frustrating. i've tried compiling it with 3 different distros (kubuntu, opensuse & gentoo) and i still was not able to build a binary that would work in the other 2 distros without installing additional packages :-( let alone without unneded dependencies...
if anyone has any clue of what can be causing those dependencies, i'll be happy to hear about it. otherwise i'll just release a new package with the binary built in kubuntu (the one with the least amount of unneded dependencies) as a momentary "fix" (something i should probably have done before anyway...)
at this point, i'm seriously considering going back to python (or ruby or other interpreted language) for the KDE4 port...

Report

tzd

10 years ago

I had problems when I tried installing it via Amarok script GUI.
Got an error code. Think it was 127 (?).
Tried installing the suggested "Gentoo" packages... Found 2 out of 3 to Kubuntu 7.10. Wouldn't work though.

Instead I've installed from source and it worked instantly!
Thanks for a great tool :)

Report

gnail

10 years ago

How come my Amarok 1.4.8 running on Ubuntu doesn't even recognise Transkode 0.7 anymore?
When I transfer music to my W950i (mounted as Mass Storage), all the flacs just get an error message and Amarok complain "No transcode script running".
The log file just throws "[script] TTMD request received from Amarok
[script] Amarok's TTMD job completed with error
[script] sending error notification to Amarok's TTMD"
which is not very helpful at all. However the context menu works perfectly, just TTMD fails to work.
I've installed Transkode with the script manager's "get more scripts" feature.

Report

fuzzix

10 years ago

Same problem here - transkode logs say exactly the same thing, amarok says no transcode script running.

Slackware 11, KDE 3.5.4, amarok 1.4.8, taglib 1.4, transKode 0.7, using 'amaroK TTMD - m4a' to transfer to ipod.

Report

gnail

10 years ago

A system reinsatall fixed it, faac is still quite slow but at least it works. Awfully huge amount of work just to get this working though...

Report

fuzzix

10 years ago

Hmmm... I don't really consider that a viable fix. Still, good to know it can be gotten to work with m4a :)

Report

fuzzix

10 years ago

There's an actual solution in another thread in this list...

Reset your TTMD profiles to default - my profiles were hangovers from a previous transKode version, were validated in the config dialogue but still led to errors. After a reset (and a tweak to the quality I wanted) all is well.

Hopefully someone will find this information useful.

Report

vendion

10 years ago

I sure that there are others, but when upgrading from transKode 0.6 to 0.7 I needed to install libaudio in order to get the libaudio.so.2 that transKode 0.7 needs. After installing that it runs fine.

Report

rados

10 years ago

Hi,

I am giving a try to this script, but when I want to start it, it tels me:

error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

I am running gentoo, have anybody of you, what should I recompile?

Thanks

Report

RaraRasputin

10 years ago

Hi, just emerge pylibacl, that package will pull in the missing lib.

But: next problem is missing libaudio.so.2, and I have no idea which package provides that file. Any ideas?

-Rasputin

Report

KNT

10 years ago

Today's download and while trying to run:

/home/knt/.kde/share/apps/amarok/scripts/transkode/transkode: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory

This file nor libutempter.so doesn't exist in Debian nor Ubuntu packages.

Report

smasher

10 years ago

Same problem here. No libutempter.so.0. Anyone got a fix for this for debian/kubuntu?

Report

spase

10 years ago

The following steps fixed this for me:

1) download, compile, and install libutempter from here: http://linux.softpedia.com/progDownload/libutempter-Download-4132.html

- unzip to a directory
- open a console/shell there
- run "make"
- either run "sudo make install" or "sudo checkinstall" (I recommend checkinstall method... it will make and install a .deb package for easy removal at a later date if necessary)

(I know, softpedia isn't the best place to download source from, but it was the most straightforward choice google gave me and it worked too.)

2) I then got an error about libnfsidmap. You will need to install the package called "libnfsidmap2"

3) I got an error about libldap. You will need to install the package "libldap-2.3-0"


The real question now is why are all of these libraries required all of a sudden to transkode audio files...

Report

KNT

10 years ago

Ok, this is weird enough to hold any updates.

Report

12 years ago

Version 0.7:
- Fix: bug preventing Amarok TTMD to finish if there was a transcoding error
- Fix: decoding/encoding processes priority setting was not correctly applied

Version 0.7beta:
- New: make gstreamer decoder work for both 0.8 and 0.10 version (and drop spider plugin dependency)
- New: support ffmpeg both as decoder and encoder
- New: support xine as decoder (through an ad hoc utility: xineadump)
- New: support winamp plugins as decoder (through an ad hoc utility: wadump -also needs wine)
- New: support twolame encoder
- New: add ASCII function for output path generation
- New: allow editing output metadata (and extend support for composer and disc number to more formats)
- New: various gui improvements (such as using KDE widgets where possible)
- New: show status image (found/missing) for each program in the configuration dialog
- New: add additional profiles for Amarok transfer to media device (aac, flac, wav & wma)
- New: allow multiple simultaneous jobs (seems to crash when showing realtime progress though...)
- Fix: wrong use of wvunpack switches caused deletion of the input file!
- Fix: wrong use of wavpack switches
- Fix: send Amarok TTMD temporary files to the temp dir!
- Fix: when adding a directory, audio files with dots were not added
- Fix: consider double quote character (") when using vfat compatible path/file names

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
0.7
updated Feb 26 2008
added Aug 09 2005
downloads today
0
page views today 5
System Tags addon