Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 09:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
keeptags-0.2.2 (2013-01-15)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 18 Aug 2011, 20:57    Post subject:  keeptags-0.2.2 (2013-01-15)
Subject description: scripts for audio conversion to use with ptag + gtkdialog gui
 

Use these scripts with ptag:
http://www.murga-linux.com/puppy/viewtopic.php?t=69948

These scripts will convert between the following formats and retain the tag information:

m4a lossless (alac), requires alac to decode:
http://www.murga-linux.com/puppy/viewtopic.php?t=70803
and ffmpeg 0.6 or greater to encode.

m4a lossy (aac), requires faac to encode:
http://www.murga-linux.com/puppy/viewtopic.php?t=70802
and faad to decode.

ape, requires mac:
http://www.murga-linux.com/puppy/viewtopic.php?t=70839

mpc, requires musepack:
http://www.murga-linux.com/puppy/viewtopic.php?t=70416

ofr (lossless) & ofs (lossy), requires optimfrog:
http://www.murga-linux.com/puppy/viewtopic.php?t=70429

shn, requires shorten:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1797491841&t=26698

tta, requires tta:
http://www.murga-linux.com/puppy/viewtopic.php?t=70420

wv, requires wavpack:
http://www.murga-linux.com/puppy/viewtopic.php?t=70426

ogg, requires oggdec & oggenc.
mp3, requires lame.
flac, requires flac.

I will probably add support for ffmpeg to encode/decode some of these formats instead of using the dedicated programs. The issues with ffmpeg seem to be some formats don't decode to an exact bit for bit copy of the original wav file and you probably don't want that for lossless audio. Also, ffmpeg does not handle all of these formats and some of the others it only decodes. It seems that ffmpeg will easily accept a stdin pipe but some programs seem to choke on ffmpeg's stdout. I was trying to avoid the extra step of decoding to wav then encoding to the new format but that may be the best solution for implementing decoding with ffmpeg. Currently the only conversion that requires decoding to wav first is encoding to ape since mac's stdin pipe seems to be broken on the linux ported version (hasn't been updated in years).

This package includes 2 scripts, keeptags & keeptagsdir.

To use keeptags, the first parameter is what file type you would like to convert to and the second is the filename:

<keeptags mp3 01-audio_file.flac>

The above example would convert the flac file to mp3 with the default settings. The config file will be copied to $HOME/.config/keeptags.conf after the first run of keeptags. You can edit the config file to put your desired settings for the various encoders instead of my chosen defaults. For example, the default lame settings in the config file are: <-b 192 -q 2 -mj>. You could also change the settings right on the command line incase you want different settings then the defaults like this:

<keeptags mp3 01-audio_file.flac -b 160 -q 2 -mj>

The above example would use the command line settings for lame instead of the settings in the config file.

keeptagsdir will convert the whole directory to the desired format.

<keeptagsdir flac2mp3>

The above example would convert all of the flac files in the current directory to mp3.

<keeptagsdir flac2mp3 -b 160 -q 2 -mj>

The above example would do the same but use the lame settings on the command line instead of from the config file.

Since m4a can be lossy aac files or lossless alac files (ffmpeg will figure out which type your file to convert is) we need to tell keeptags which type you want to convert to. For lossy use <m4a> for lossless use <alac>.

0.2 - added a gtkdialog gui and "Open With" options in rox (files and directories). I also added the ability to convert from and to wav format (without meta tag information of course).
keeptags-0.2.2.pet
Description 
pet

 Download 
Filename  keeptags-0.2.2.pet 
Filesize  13.14 KB 
Downloaded  278 Time(s) 

Last edited by plinej on Tue 15 Jan 2013, 23:46; edited 4 times in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 06 Sep 2011, 22:25    Post subject:  

updated to 0.2
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 21 Sep 2011, 21:27    Post subject:  

posted 0.2.1 - small bugfix
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 15 Jan 2013, 23:46    Post subject:  

0.2.2 uploaded - another bugfix
_________________
An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0506s ][ Queries: 13 (0.0045s) ][ GZIP on ]