Re: Copying ID3 metadata when encoding with flac command-line tool

Martijn van Beurden <[email protected]> Mon, 5 Sep 2022 10:39:43 +0200
Newsgroups gmane.comp.audio.compression.flac.user
Message-ID <CADQbU68fucV0q8j2KpwxdWqU_C3iG838-rHmsJUTWtg6Q65ZTQ@mail.gmail.com>
--===============4679368556510549208==
Content-Type: multipart/alternative; boundary="000000000000274d7f05e7ea06a7"

--000000000000274d7f05e7ea06a7
Content-Type: text/plain; charset="UTF-8"

Op ma 5 sep. 2022 om 09:51 schreef Seb Francis <[email protected]>:

> ffmpeg seems to copy the metadata (apart from converting jpeg covers to
> png at 10x the size), but I feel more comfortable using the reference
> libFLAC rather than Lavf, so would prefer to use the flac command-line
> tool if possible.
>
> Is there a way to achieve metadata data transfer with this?
>


I see now I did not hit "reply to all", so I'm sending this again so the
mailing list receives it too. Sorry for the inconvenience

---------

No, the flac command line utility does not interpret ID3 data in any way,
as you've noticed.

What you could do is first encode with ffmpeg and then re-encode that FLAC
file with the flac command line program. In my opinion there is no reason
to feel uncomfortable using the ffmpeg FLAC encoder though.

Kind regards, Martijn van Beurden

-----------

By the way, concerning the issue of not having ffmpeg convert the albumart,
maybe try adding -c:v copy to the command just before the output file. So,
ffmpeg -i file.aiff -c:v copy file.flac

If you want to re-encode that file with flac use either flac file.flac -o
otherfile.flac or flac -f file.flac

--000000000000274d7f05e7ea06a7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">Op ma 5 sep. 2022 om 09:51 schreef Seb Francis &lt;<a href=3D"mailto=
:[email protected]">[email protected]</a>&gt;:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">ffmpeg seems to copy the metadata (apart from =
converting jpeg covers to <br>
png at 10x the size), but I feel more comfortable using the reference <br>
libFLAC rather than Lavf, so would prefer to use the flac command-line <br>
tool if possible.<br>
<br>
Is there a way to achieve metadata data transfer with this?<br></blockquote=
><div><br></div><div><br></div><div>I see now I did not hit &quot;reply to =
all&quot;, so I&#39;m sending this again so the mailing list receives it to=
o. Sorry for the inconvenience<br></div><div><br></div><div>---------</div>=
<div><br></div><div>
<div>No, the flac command line utility does not interpret ID3 data in any w=
ay, as you&#39;ve noticed.</div><div><br></div><div>What
 you could do is first encode with ffmpeg and then re-encode that FLAC=20
file with the flac command line program. In my opinion there is no=20
reason to feel uncomfortable using the ffmpeg FLAC encoder though.</div><di=
v><br></div><div>Kind regards, Martijn van Beurden<br><br>-----------<br></=
div>

</div><div></div><div>=C2=A0
<div> By the way, concerning the issue of not having ffmpeg convert the=20
albumart, maybe try adding -c:v copy to the command just before the=20
output file. So, ffmpeg -i file.aiff -c:v copy file.flac</div><div><br></di=
v><div>If you want to re-encode that file with flac use either flac file.fl=
ac -o otherfile.flac or flac -f file.flac </div>

</div></div></div>

--000000000000274d7f05e7ea06a7--

--===============4679368556510549208==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Flac mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac

--===============4679368556510549208==--