Page 1 of 2

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

Posted: Sun 03 Nov 2019, 03:28
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

Posted: Mon 04 Nov 2019, 22:00
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

Posted: Tue 05 Nov 2019, 00:59
by plinej
I was thinking of doing a pixmap for the next version. Thanks for the good ideas.

Posted: Tue 05 Nov 2019, 02:24
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.

Posted: Tue 05 Nov 2019, 15:04
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>

Posted: Tue 05 Nov 2019, 16:12
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.

Posted: Wed 13 Nov 2019, 02:27
by plinej
updated to 0.3

Posted: Wed 13 Nov 2019, 23:18
by plinej
updated to 0.3a

Posted: Fri 15 Nov 2019, 01:41
by plinej
updated to 0.4

Posted: Sat 16 Nov 2019, 00:46
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.

Posted: Sat 16 Nov 2019, 00:46
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.

Posted: Mon 18 Nov 2019, 22:56
by plinej
Updated to 0.5 which adds the ability to tag files from data found on discogs or musicbrainz.

Posted: Mon 25 Nov 2019, 17:48
by plinej
lots of updates in 0.6

Posted: Sat 30 Nov 2019, 14:54
by plinej
0.6a is up

Posted: Sun 01 Dec 2019, 14:47
by plinej
0.7 is up

Posted: Mon 09 Dec 2019, 23:55
by plinej
0.8 is up

Posted: Sun 22 Dec 2019, 19:07
by plinej
0.8a bugfix is up

Posted: Fri 27 Dec 2019, 12:56
by plinej
0.9 is up with new features

Posted: Fri 27 Dec 2019, 14:11
by plinej
0.9a is up. bugfix on the cd ripping portion...

Posted: Fri 27 Dec 2019, 20:05
by plinej
0.9b - a couple of bug fixes and added an option to enable/disable paranoia when ripping a CD.