fftag 1.5e (edit metadata on audio and video files, rip CDs)

Audio editors, music players, video players, burning software, etc.
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

fftag 1.5e (edit metadata on audio and video files, rip CDs)

#1 Post by plinej »

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.

1.3b - French translations added

1.4 - changed the extract audio option to a button and improved some of the code in that section

1.5 - updated the code in the tagging of video chapters section

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

Code: Select all

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
Attachments
fftag_1.5e.pet
(19.22 KiB) Downloaded 438 times
Screenshot(3).jpg
(196.45 KiB) Downloaded 469 times
Last edited by plinej on Mon 29 Jun 2020, 22:45, edited 39 times in total.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

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

Another fun thing to do is to show the waveform

Code: Select all

ffmpeg -i stereo_input.foo -filter_complex showwavespic -frames:v 1 output.png
See https://stackoverflow.com/questions/322 ... ing-ffmpeg for more info
Attachments
e3vU8.png
(1.73 KiB) Downloaded 761 times

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

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:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#4 Post by plinej »

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:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#5 Post by zigbert »

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: Select all

<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>

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#6 Post by plinej »

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.
Last edited by plinej on Wed 13 Nov 2019, 02:46, edited 1 time in total.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

updated to 0.3
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#8 Post by plinej »

updated to 0.3a
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#9 Post by plinej »

updated to 0.4
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#10 Post by plinej »

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:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#11 Post by plinej »

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:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#12 Post by plinej »

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:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#13 Post by plinej »

lots of updates in 0.6
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#14 Post by plinej »

0.6a is up
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#15 Post by plinej »

0.7 is up
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#16 Post by plinej »

0.8 is up
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#17 Post by plinej »

0.8a bugfix is up
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#18 Post by plinej »

0.9 is up with new features
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#19 Post by plinej »

0.9a is up. bugfix on the cd ripping portion...
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#20 Post by plinej »

0.9b - a couple of bug fixes and added an option to enable/disable paranoia when ripping a CD.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

Post Reply