After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641341 - Image meta tags not preserved correctly
Image meta tags not preserved correctly
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-03 12:44 UTC by Gautier Portet
Modified: 2013-10-08 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
file converted from ogg vorbis to mp3 (465.64 KB, audio/mp3)
2011-02-14 16:30 UTC, Gautier Portet
Details

Description Gautier Portet 2011-02-03 12:44:16 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
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2011-02-14 14:50:09 UTC
What is the muxing pipeline you use for flac?

Can you attach a sample for the last case?
Comment 2 Gautier Portet 2011-02-14 16:16:51 UTC
I output bare flacenc output, no muxing.
Comment 3 Gautier Portet 2011-02-14 16:30:26 UTC
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 ...
Comment 4 Tim-Philipp Müller 2012-02-18 19:43:26 UTC
>  - 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.
Comment 5 Akhil Laddha 2012-06-18 16:48:18 UTC
Gautier, can you please provide requested information as per comment#4 ?
Comment 6 Gautier Portet 2012-06-27 22:17:30 UTC
$ 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
Comment 7 Tim-Philipp Müller 2012-06-28 09:47:32 UTC
> Test files: https://dl.dropbox.com/u/182583/gst-covers-test.zip

Thanks, but I get 404 - Not found for this link.
Comment 8 Gautier Portet 2012-06-28 09:56:38 UTC
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.
Comment 9 Gautier Portet 2012-06-28 19:41:57 UTC
The file is ready.
Comment 10 Sebastian Dröge (slomo) 2013-08-16 11:41:47 UTC
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.
Comment 11 Gautier Portet 2013-10-08 18:55:15 UTC
It's OK in 1.0.