xiph / flac

Free Lossless Audio Codec
https://xiph.org/flac/
GNU Free Documentation License v1.3
1.61k stars 276 forks source link

Support for mbedded pictures in ogg-flac #574

Open Rollinnn opened 1 year ago

Rollinnn commented 1 year ago

Is FLAC in ogg container supposed to support embedded pictures at all? Metalflac cannot embed picture into FLAC in ogg. ogg-flac with embedded picture can be created when reencoding from native FLAC that has embedded picture or on encoding to FLAC with option --picture. But then this embedded picture cannot be viewed or removed.

ktmf01 commented 1 year ago

metaflac doesn't support writing to Ogg FLAC at all, not just pictures. So yes, the only way to embed pictures in Ogg FLAC currently is reencoding. This has been on the TODO list for 20 years now I guess.

See for example here:

Note that currently only the Chain interface (level 2) supports Ogg FLAC files, and it is read-only i.e. no writing back changed metadata to file.