You are not logged in.

#1 2017-11-02 10:09:09

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

copy/paste audio file tags cli tool?

Something like that in repos or outside?

Example usage:
a. make mp3/ogg/aac out of flac
b. copy/paste tags from flac to mp3/ogg/aac  ?

I'd prefer not to write a silly script for each format. I don't want to use ffmpeg for tagging or conversion.

Last edited by brontosaurusrex (2017-11-02 12:36:28)

Offline

#2 2017-11-02 13:07:02

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: copy/paste audio file tags cli tool?

Deadbeef music player have those features of converting mp3/ogg etc... from .flac very easy from his right click menu.
Also have a plugin called ddb_copy_info that looks right for the task you're asking. This later haven't used and have no idea how it works.

DeaDBeeF isn't on Debian repo but can be used without any worries on Debian/based distro.
Dev of this music player have made a binary portable build in case one not want ti install but just run... from a selected folder.

My knowledge of other players/tools is very tough, Perhaps Audacious will help aswell?
Edit: Sorry just saw a cli tools. ^The above is a GUI tool not a cli ones.

Last edited by Nili (2017-11-02 13:19:52)


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#3 2017-11-02 17:57:11

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: copy/paste audio file tags cli tool?

i'm not sure i understand your question, but i use ffmpeg to convert from flac to lossy preserving metadata.

#!/bin/bash -u

# convert flac 2 ogg, preserve ALL metadata.
# almost (9 out of 10) highest quality.
# should reduce *.flac size to less than 50%.

for FILE in *.flac;
do
    ffmpeg -i "$FILE" -codec:a libvorbis -qscale:a 9 -map_metadata 0 "${FILE%.*}.ogg"
    # https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
done

exit 0

Offline

#4 2017-11-02 18:08:20

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: copy/paste audio file tags cli tool?

@ohnonot, Long time ago on windows I used a lil cli tool called tag which was able to transfer tags from one format to another, I don't wan't to use ffmpeg here due to many reasons, which I'll skip, since it may come out harsh.

p.s. Actually oggenc should be able to take flacs directly, including metadata.

Last edited by brontosaurusrex (2017-11-02 18:09:07)

Offline

#5 2017-11-03 06:52:04

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: copy/paste audio file tags cli tool?

brontosaurusrex wrote:

I don't wan't to use ffmpeg here

i missed that bit in your op.
but why not?

Offline

#6 2017-11-03 08:26:14

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: copy/paste audio file tags cli tool?

In case of mp3, i'd like to keep lame mp3 vbr graph visual and other reasons (weird headers), in case of AAC it's easier to compile latest fdkaac without ffmpeg, in case of ogg or opus no need, also easier to compile latest opus standalone.

I think I went through everything that says 'tag cli' in repositories and still zip.

Last edited by brontosaurusrex (2017-11-03 15:15:55)

Offline

#7 2017-11-19 08:21:32

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: copy/paste audio file tags cli tool?

@misko; appreciated, will take a look.

Offline

Board footer

Powered by FluxBB