-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (2) .- Knowledge Base  . 

transKode

   0.7  

Amarok Script

Score 78%
transKode
zoom


transKode
zoom


transKode
zoom


Link:  http://
Downloads:  14965
Submitted:  Aug 9 2005
Updated:  Feb 26 2008

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




Changelog:

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




LicenseGPL
(transkode-0.7)
Send to a friend
Subscribe
Other  Apps  from attendant
Report inappropriate content



goto page:  1  2  3  4  5  6  7  8 

-

 Option isn't shown

 
 by Runico on: Aug 9 2005
 
Score 50%

I don't have the option to transcode in playlist popup menu.
Also, when I start the script I get some errors in console, all errors are equal:
object not accessible
object not accessible
[...]
object not accessible


Runico
Reply to this

-

 Re: Option isn't shown

 
 by seb on: Aug 9 2005
 
Score 50%

You need to be running a 1.3.x stream of amaroK, (ie - one of the betas), or wait until 1.3 is released very soon!


Reply to this

-

 Re: Re: Option isn't shown

 
 by attendant on: Aug 9 2005
 
Score 50%

thanks for answering, i forgot to mention that.
you'll have to use one of the 1.3 betas or current svn. try get-amarok-svn.sh script (http://www.kde-apps.org/content/show.php?content=27313)


Reply to this

-

 bug

 
 by seb on: Aug 11 2005
 
Score 50%

works nicely, but the script does not remove the popup menu entry in the context menu once i stop the script.


Reply to this

-

 Re: bug

 
 by attendant on: Aug 11 2005
 
Score 50%

can you tell me how to reproduce this behavior? i'll release v0.2 ASAP, please tell me then if it's been fixed or is still present.


Reply to this

-

 Re: Re: bug

 
 by madpenguin8 on: Aug 11 2005
 
Score 50%

Start the script, and then stop the script, I think he means the menu entries are still there afterward.


Reply to this

-

 Re: Re: bug

 
 by lfranchi on: Aug 11 2005
 
Score 50%
lfranchilfranchi
Tomahawk/Ama rok/KDE
Home
-
leo franchi -1

Tomahawk/Amarok/KDE
United States of America, Boston
Last visit Jun 5 2011
4 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

it seems to me like SIGTERM is not being caught. now, there is a problem with pyqt and sigterm: namely, the thread that imports pyqt is unable to capture SIGTERM. the line that you have (that you say fixes it without knowing why), is :

signal.signal( signal.SIGTERM, signal.SIG_IGN )

but since that does not seem to work, i suggest un-commenting what you have later on:

main_tread = threading.Thread( target=Transcode( sys.argv ).run() )
main_tread.start()

commenting out:

Transcode( sys.argv ).run()

and adding this line:

signal.signal(15, onSignal)

then you can define a function onSignal(signum, stackframe), to call dcop amarok script removeCustomMenuItem for every item that you added.


Reply to this

-

 Re: Re: Re: bug

 
 by lfranchi on: Aug 11 2005
 
Score 50%
lfranchilfranchi
Tomahawk/Ama rok/KDE
Home
-
leo franchi -1

Tomahawk/Amarok/KDE
United States of America, Boston
Last visit Jun 5 2011
4 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

also, if this is not clear enough, just take a look at either the amarok_live script, bundled with amarok, or the python template script also bundled with amarok.


Reply to this

-

 Re: Re: Re: Re: bug

 
 by attendant on: Aug 11 2005
 
Score 50%

i have looked at how this was handled by other scripts, including amarok_live. it's not that i don't know what that line is doing there, it's there so that the scripts ignores the SIGTERM, and that's intentional (or it was until now at least). the program properly closes itself when (if) stdin is closed so if it ignores the signal but react to that (the closing of stdin) proper cleanup is performed in an "elegant way" (whatever that means). only problem with this is (or should be) that execution of the script doesn't stops when the user presses stop but when the script ends whatever encode it's doing (still, this doesn't explain why the entries remain there in some cases). anyway, i'll probably add the function to handle the SIGTERM signal in version 0.2, since, though i don't like it very much, it kinda makes sense that the program ends when the user says it should.


Reply to this

-
.

 this is using pyxml

 
 by TrioTorus on: Aug 11 2005
 
Score 50%

I discovered that pyxml is a dependancy of this script because of
import xml.dom.ext

The basic xml functions that come with standard python2.4 are not sufficient. For it to work with 2.4 you need pyxml 0.8.4

I had the script sort of half running with amarok 1.3 beta3 but now with 1.4 it doesn't seem to work. (running gentoo 2.6.11 on amd64) Let me get back with more info l8r.


A women's breasts are a journey: their feet are the destination.
Reply to this

-

 Re: this is using pyxml

 
 by TrioTorus on: Aug 11 2005
 
Score 50%

Obviously it doesn't work for me because the provided transcodeconfig binayr is 32-bit, and it gets called when starting the script in show_configuration_dialog().
Is it really necessary to use the binary? The function is called because by default there is no transcoderc file in het scriptdir and Conig.load() is called without arguments, setting the fall_back_on_dialog to true.

PS: just an attempt to be helpfull. I'm trying to learn Python here ;-)


Reply to this

-

 Re: Re: this is using pyxml

 
 by attendant on: Aug 11 2005
 
Score 50%

two separate things:
first: importing of xml.dom.ext package was a mistake. i was using it for debugging and i forgot to remove it. the only required xml package is xml.dom.minidom (i don't know if is standard or not). you may comment or remove that line or wait for v0.2.
second: yes, it is necessary to call the binary from the script to run the configuration dialog. though the main script is in written in python the gui is a stand alone program written in c++, so that pyqt bindings are not a requirement (i always had troubles installing them). i haven't really thought 64bit processors could be a problem until now, but shouldn't a 64bit processor be able to run 32bit applications in compatibility mode? anyway, if it can't, you can still recompile the gui yourself. the code is copied with the rest of the script to $HOME/.kde/share/apps/amarok/scripts/transcode.amarokscript as config-source.tar.bz2

ps: i'm also learning python here ;-) as this is mi first python program


Reply to this

-

 Re: Re: Re: this is using pyxml

 
 by TrioTorus on: Aug 13 2005
 
Score 50%

Hey if this is your first Python thing I wanna say: well done. The script got me totally enthousiastic about Python. It even seems to have threading and a nice structure going on. Till now I just used Python for hacking really.

Good thing you the pyxml wasn't necesarry as at least here on my gentoo system the xml.dom.minidom module is standard and thus not part of pyxml.

In an earlier post I accidently mentioned amarok 1.4 and your script not working with it but that was completely wrong. By accident I had downgraded to version 1.2.4, thinking it was 1.4 while 1.3 isn't officially released yet. Sorry about all that confusion.

Keep it going!

T.


Reply to this

-

 Does not work.

 
 by stefbon on: Sep 15 2005
 
Score 50%

Hello,
When I want to run this script, it gives an error: it needs GLIBC version 2.4, and I've got glibc 2.3.
Does not have to be a problem, when I can compile it myself. When I try this, by unpacking the source code which is included in the tar.bz2 file, all I get is compile errors.
(after I corrected the various paths like /usr/include/kde in the various makefiles, because kde is somewhere else on my system)
Can I only compile this with gcc version 4?
Stef Bon


Reply to this

-

 Re: Does not work.

 
 by attendant on: Sep 16 2005
 
Score 50%

though i only tested it with gcc 4.0.1 (what i currently have installed) i seriously doubt i can't be compiled with older versions of gcc (it would make more sense if it were the other way around).
try editing the *.pro files on the source dirs to match your kde/qt setup and running "qmake *.pro -o Makefile".
then do "make && make install" from the source root dir (the one with transcode.pro).
i you want further help you'll have to give me something more than "i'll i get is compile errors".

regards.


Reply to this

-

 Re: Re: Does not wor

 
 by stefbon on: Sep 20 2005
 
Score 50%

I've adjusted like you said all the pro files, but I also had to add to the LIBS -L/opt/kde/lib -L/opt/qt/lib.

Now I can compile it.

Thanks for this module. It's very usefull.

Stef Bon


Reply to this

-

 nice plugin but...

 
 by Enso on: Sep 16 2005
 
Score 50%

nice plugin but I would change its name because another "transcode" already exists
  • http://www.transcoding.org
  • .


    Reply to this

    -

     Re: nice plugin but.

     
     by attendant on: Sep 19 2005
     
    Score 50%

    point taken.
    any suggestion?


    Reply to this

    -
    .

     wma support

     
     by joetheman on: Dec 4 2005
     
    Score 50%

    amarok 1.4 includes wma support in playlist. (mp4 too) It would be great if your script could transcode into wma. Except for the ipod most portable players support it. Not to give MS props but vbr 2 pass wma @ 96 sounds as good as mp3 @160. This is all I use for my portable. Saves a ton of space.


    Reply to this

    -

     Re: wma support

     
     by attendant on: Dec 4 2005
     
    Score 50%

    there's nothing i can do without a wma encoder for linux...


    Reply to this

    goto page:  1  2  3  4  5  6  7  8 

    Add commentBack






    -
    -
    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.

    resultmore
     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Facebook App
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add App
    Public API
    About KDE-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2003-2014 KDE-Apps.org Team  
    All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.