![]() ![]() ![]() ![]() the picture), one has to pass the key ("METADATA_BLOCK_PICTURE") and the value (picture data base64 encoded) and both have to match. The problem is that all the frames of the Opus tag are stored in a map in a TagLib object. I can reproduce it and started the debugger to see what's happening. I'm wondering whether external programs write cover art differently? I've amended my music management scripts to write cover art to source files after encoding to Opus. Since the '-discard-pictures' option was only introduced in 0.1.9, encoding to Opus will write cover art from a source file by default. Ubuntu - in the version of Ubuntu I use (14.04 LTS), the version of opus-tools in the repositories is 0.1.8. Windows - ensuring I use the '-discard-pictures' switch when encoding to Opus, thereby ensuring artless output Opus files. Since my source files always have embedded cover art, I'm currently using the following workarounds: If, however, an external program (either the Opus encoder or different taggers such as MP3Tag or Puddletag) has written cover art to an Opus file, then the 'set picture' command behaviour is modified and removing cover art will fail. Adding new art replaces existing art and 'set picture' can also be used to remove existing art. It therefore appears that when Opus files have no cover art to begin with, then the kid3-cli 'set picture' commands work as expected. However, after adding cover art with the other tagger, kid3-cli 'set picture' commands reverted to their previous behaviour. The results were as expected - setting and removing pictures worked, just as they did with Ogg Vorbis, MP3, etc. I found that running the 'set picture' command on these Opus files added cover art without replacing existing art, and the empty 'set picture' command failed to remove cover art (just as it had in Ubuntu 14.04).īack in Ubuntu, I used a GUI tagger to remove existing art then ran the 'set picture' commands in a terminal. I then encoded some files to Opus without using the '-discard-pictures' switch, thereby ensuring that cover art was copied from the source file during encoding. I also found that using the empty 'set picture' command did indeed remove existing art from the Opus files. that is, rather than adding cover art, it replaced existing cover art. I was pleased to find that the 'set picture' command to add cover art behaved as it does with Ogg Vorbis, MP3, etc. I then booted Windows 7 (kid3 3.1.2, opus-tools 0.1.9) and did some tests. ![]() Thanks in advance for any advice and thanks again for a great piece of Unfortunately, thisĬommand has no effect on Opus files yet the same command worksįlawlessly on MP3, AAC, FLAC and Ogg Vorbis files.Īm I doing something wrong? Is there another way to remove cover art This behaviour by emptying the picture frame first (using: kid3-cli -c Running the command multiple times leads to multiple covers in a singleīecause I want to replace existing cover art, I tried to work around However if I use the sameĬommand on my Opus files, the newer art is added to existing art MP3, AAC, FLAC and Ogg Vorbis files, the selected art replaces existingĪrt. When using the kid3-cli 'set picture' command to add cover art to my Some unexpected behaviour when attempting to add cover art to Opus audio Immeasurably easier across both Windows and Linux. Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 768x768, 25 tbr, 25 tbn, 25 tbcįile 'out.opus' already exists.First, thanks for an excellent program. Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp I tried with ffmpeg but it did not work : $ ffmpeg -i myMP3File.opus -i Back_Cover-SMALLER.jpg -map 0:0 -map 1:0 -c copy -metadata:s:v title="Back_Cover-SMALLER.jpg" -metadata:s:v comment="Cover (back)" out.opusĭuration: 00:03:04.25, start: 0.000000, bitrate: 98 kb/s I managed to add an album art cover to an OGG/opus file with Kid3 - Audio Tagger but I'd like to do it via the command line on all the files of an album. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |