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 Sun 26 Jan 2020, 09:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
fftag 1.3 (edit metadata and much more...)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Sat 02 Nov 2019, 23:28    Post subject:  fftag 1.3 (edit metadata and much more...)
Subject description: gtkdialog gui for editing meta data using only ffmpeg
 

As of version 1.0, fftag's features include:

edit metadata for audio and video
add chapter names to video
extract audio from video files
create cue files when tagging a directory of audio files
split single audio file with a selected cue file
rip a CD and encode to (flac, mp3, m4a, or ogg)

To rip a CD your version of ffmpeg needs to be compiled with libcdio (fftag will check).You need to have an audiocd in one of your optical drives. If cdparanoia is installed you can select to use that instead. If cddb_query is installed, fftag will attempt to find the CD information for tagging purposes otherwise you can use discogs or musicbrainz release numbers to get information.

All functions can be accomplished with just ffmpeg but these other programs will be utilized if installed:

1) cddb_query (optional for CD ripping)
2) cdparanoia (optional for CD ripping)
3) metaflac (necessary to add cover image to flac files since ffmpeg doesn't seem to work adding images to flac like it does with other file types - if not installed the files will still get tagged but the cover image will not appear in the file)

0.2 - added a pixmap image of the cover art (if available) as well as an image of the waveform.

0.2a - just some behind the scenes tweaks to the code

0.3 - added a file selector that lists other files of same type in current directory to tag

0.3a - added a file selector below the tree list in case you want to tag a file in another directory or a different file type as well as some other minor tweaks.

0.4 - changed the file selector and added the ability for the user to change the geometry of the main gui

0.4a - added the ability for the user to change the size of the attached image display and the waveform. Also modified the code to copy tags to the next file of the same type in current directory.

0.5 - added the ability to get info from discogs or musicbrainz to tag your files.

0.6 - added an option for a full directory of the same file type can be tagged from a single gui. You can also tag a full directory of files from a cue or txt file. There is a rename tagged files option and the ability to save images of the wave form and spectrogram of selected files.

0.6a - minor tweaks

0.8 - Added alot of functions for video files. You can add or remove chapters in a video file. You can also extract audio from video files.

0.8a - bugfix release

0.9 - CD ripping and splitting of an audio file with a cue file functions added

0.9a - bugfix

1.0 - bugfixes, code cleanup, added some command line features...

1.1 - more bugfixes and code cleanup

1.2 - added option to down convert to CD quality if working with audio files with greater than 16 bit resolution or sample rate greater than 44.1KHz.

1.3 - internationalized & a bugfix.

command line features (mostly to skip the first gui):
Code:

root# fftag -h
fftag 1.0 will edit the meta info in audio and video files with ffmpeg

-i /path/to/media-file
Open specified file for meta tag editing

-D /path/to/media-file
Open entire directory of the same type of file as the specified file

-o (discogs or musicbrainz release number)
Use discogs or musicbrainz information for the meta information in the gui

-C /path/to/cue-or-txt-file
Uses cue or text file for meta information in the gui

-s
Use with -C and -i option to split input file with cue file

-p /path/to/media-file
Prints meta information for specified file

-v
Display the version number and exit
fftag-1.3.pet
Description 
pet

 Download 
Filename  fftag-1.3.pet 
Filesize  15.77 KB 
Downloaded  180 Time(s) 
Screenshot(3).jpg
Description 
jpg

 Download 
Filename  Screenshot(3).jpg 
Filesize  196.45 KB 
Downloaded  280 Time(s) 

_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64

Last edited by plinej on Yesterday, at 09:51; edited 27 times in total
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6627
Location: Valåmoen, Norway

PostPosted: Mon 04 Nov 2019, 18:00    Post subject:  

I suggest you include a pixmap of the embedded image. Would be informative...

Another fun thing to do is to show the waveform
Code:
ffmpeg -i stereo_input.foo -filter_complex showwavespic -frames:v 1 output.png
See https://stackoverflow.com/questions/32254818/generating-a-waveform-using-ffmpeg for more info
e3vU8.png
 Description   
 Filesize   1.73 KB
 Viewed   496 Time(s)

e3vU8.png


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Mon 04 Nov 2019, 20:59    Post subject:  

I was thinking of doing a pixmap for the next version. Thanks for the good ideas.
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Mon 04 Nov 2019, 22:24    Post subject:  

Those ideas were easy to implement. 0.2 is up...

Zigbert, how do I align the pixmap image to the left? Is it possible? It's fine the way it is but I would like it all the way to the left.

_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6627
Location: Valåmoen, Norway

PostPosted: Tue 05 Nov 2019, 11:04    Post subject:  

I did a quick test, and couldn't get it to show embedded image... Because lack of time, I will only point out the basics to align the image to the left and scale the rest when resizing window.
Code:
<hbox space-expand="true" space-fill="true">
 <hbox  space-expand="false" space-fill="false">
  <pixmap></pixmap>
 </hbox>
 <hbox space-expand="true" space-fill="true">
   <text></text>
 </hbox>
</hbox>

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Tue 05 Nov 2019, 12:12    Post subject:  

I'm away for the next several days but will look in to implementing that code when I return. My testing is limited so far with the artwork displaying but it worked fine on the 2 albums I tested on, both of which included jpeg images so maybe the code doesn't work with png. I will have to look at that later as well.

--edit--

It seems to work fine with png images for me as well.

_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64

Last edited by plinej on Tue 12 Nov 2019, 22:46; edited 1 time in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Tue 12 Nov 2019, 22:27    Post subject:  

updated to 0.3
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Wed 13 Nov 2019, 19:18    Post subject:  

updated to 0.3a
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Thu 14 Nov 2019, 21:41    Post subject:  

updated to 0.4
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Fri 15 Nov 2019, 20:46    Post subject:  

updated to 0.4a. I think I've accomplished everything I want with this application. If anyone wants a feature added or finds a bug, let me know.
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Fri 15 Nov 2019, 20:46    Post subject:  

updated to 0.4a. I think I've accomplished everything I want with this application. If anyone wants a feature added or finds a bug, let me know.
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Mon 18 Nov 2019, 18:56    Post subject:  

Updated to 0.5 which adds the ability to tag files from data found on discogs or musicbrainz.
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Mon 25 Nov 2019, 13:48    Post subject:  

lots of updates in 0.6
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Sat 30 Nov 2019, 10:54    Post subject:  

0.6a is up
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1654

PostPosted: Sun 01 Dec 2019, 10:47    Post subject:  

0.7 is up
_________________
You can also download many of my packages at:
https://archive.org/download/python3-git-2019-10-10-x86_64
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
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.0481s ][ Queries: 12 (0.0060s) ][ GZIP on ]