GNOME Bugzilla – Bug 641341
Image meta tags not preserved correctly
Last modified: 2013-10-08 19:21:44 UTC
After some investigation after a bug reported from a soundconverter user: - no image is ever wrote when converting to flac. - if multiple images are present, only the first pass to the target file. - the image type is not understood by easytag when converted to mp3: COVERARTTYPE=3" is transformed to "COVERARTTYPE[xxx]=3". https://bugs.launchpad.net/soundconverter/+bug/711537
What is the muxing pipeline you use for flac? Can you attach a sample for the last case?
I output bare flacenc output, no muxing.
Created attachment 180838 [details] file converted from ogg vorbis to mp3 $ gst-launch-0.10 -t filesrc location=test22.ogg.mp3 ! decodebin ! fakesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... FOUND TAG : found by element "id3demux0". extended comment: COVERARTTYPE[xxx]=4 : COVERARTDESCRIPTION[xxx]=image_name (back).jpg album: Beyond Good and Evil track number: 1 title: Ultimate Downfall date: 2010-01-01 artist: paniq preview image: buffer of 348669 bytes, type: image/jpeg, width=(int)700, height=(int)700 encoder: Xiph.Org libVorbis I 20100325 (Everywhere) container format: ID3 tag FOUND TAG : found by element "mpegaudioparse0". audio codec: MPEG 1 Audio, Layer 3 (MP3) FOUND TAG : found by element "mpegaudioparse0". bitrate: 64000 has crc: FALSE channel mode: joint-stereo FOUND TAG : found by element "flump3dec0". audio codec: MPEG 1 Audio, Layer 3 (MP3) FOUND TAG : found by element "flump3dec0". bitrate: 64000 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 118675606 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
> - no image is ever wrote when converting to flac. To flac from what? Could you provide an input file and a pipeline and the expected result please? This works fine for me now with current pre-releases / git. > - if multiple images are present, only the first pass to the target file. Could you provide an input file with multiple image tags please, and an encoding pipeline where this fails? > - the image type is not understood by easytag when converted to mp3: > COVERARTTYPE=3" is transformed to "COVERARTTYPE[xxx]=3". Are you saying GStreamer wrote these "COVERARTTYPE[xxx]=3" things into an ID3v2 tag? Both id3v2mux and id3mux in their current versions write APIC tags just fine as far as I can see. Only problem I can see is that the coverarttype is not converted correctly. Again, could you provide an input file, and an encoding pipeline? Moving to -base where most of the tagging/transformation stuff lives.
Gautier, can you please provide requested information as per comment#4 ?
$ gst-launch --version gst-launch-0.10 version 0.10.36 GStreamer 0.10.36 http://download.fedora.redhat.com/fedora 1. Converting a flac file with back and front covers to vorbis. gst-launch filesrc location=test.flac ! decodebin2 ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.flac.ogg Result: No images in resulting file. 2. Converting a vorbis file with back and front covers to flac. $ gst-launch filesrc location=test.ogg ! decodebin2 ! audioconvert ! flacenc ! filesink location=test.ogg.flac Result: Two images in resulting file, but the second is a duplicate of the first. Converting from flac to flac works as expected, vorbis to vorbis not. Test files: https://dl.dropbox.com/u/182583/gst-covers-test.zip
> Test files: https://dl.dropbox.com/u/182583/gst-covers-test.zip Thanks, but I get 404 - Not found for this link.
Arg. The sync was probably not finished when I turned my home computer down. Try again tomorrow. Sorry about that. Anyway, the files have nothing interesting. I've just added two jpegs to random flac&vorbis files with easytag.
The file is ready.
File not found still. Is this still a problem with latest 1.0? There seems to be support for putting multiple image tags into flac and preserving their type now.
It's OK in 1.0.