ffmpeg does not store metadata in converting to ogg, when using vorbis encoder

Bug #514259 reported by Jarno Suni
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
FFmpeg
Incomplete
Unknown
ffmpeg (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Lucid by Florian Staudacher
Nominated for Maverick by Florian Staudacher

Bug Description

Binary package hint: ffmpeg

Take e.g. a flac file with proper audio tags and convert it to ogg vorbis by "vorbis" encoder of ffmpeg. Audio tags (title, artist, album etc.) are not saved in the resulting file. They should be. Workaround: use oggenc utility (if the source file format is supported).

ProblemType: Bug
Architecture: i386
Date: Fri Jan 29 13:55:17 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
Package: ffmpeg 4:0.5+svn20090706-2ubuntu2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.55~ppa7~loms~karmic-generic
SourcePackage: ffmpeg
Uname: Linux 2.6.31-17-generic i686

Revision history for this message
Jarno Suni (jarnos) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

needs forwarding upstream

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

forwarded upstream

Changed in ffmpeg:
importance: Undecided → Unknown
status: New → Unknown
Changed in ffmpeg:
status: Unknown → New
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software.

Changed in ffmpeg (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in ffmpeg:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ffmpeg - 4:0.6~svn20100505-1ubuntu1

---------------
ffmpeg (4:0.6~svn20100505-1ubuntu1) maverick; urgency=low

  * merge from debian/experimental. remaining changes:
    - don't disable encoders
    - don't build against libfaad, libdirac and libopenjpeg (all in universe)

ffmpeg (4:0.6~svn20100505-1) experimental; urgency=low

  * update to new upstream. Closes: #569727
    - fixes various segfaults and other minor feature improvements
      Closes: #374931, #522449, #501891, #559712, #420231, #369127, #538082,
              #298095, #294422, #561553, #525385, #495274, #420230
      LP: #305286, #457106, #529200, #301723, #305315, #336479, #420230,
          #412063, #428912, #432181, #440591, #453732, #453732, #453732,
      #514259, #515243, #521472, #530186, #530186, #197842, #483317,
     #483317, #539407, #280098, #331255, #566107, #569823, #570305,
     #573190
  * Fixup lintian overrides for new upstream snapshot
  * Bump Standards-Version to 3.8.4
  * Many upstream changes, see upstream Changelog for details
 -- Reinhard Tartler <email address hidden> Wed, 26 May 2010 00:01:17 +0200

Changed in ffmpeg (Ubuntu):
status: Triaged → Fix Released
Jarno Suni (jarnos)
description: updated
Revision history for this message
Jarno Suni (jarnos) wrote :

Sorry, I told wrong earlier in the description that using libvorbis encoder would be a workaround. At least in Karmic, libvorbis does not preserve tags. However, there is (or was) at least one advantage in libvorbis versus vorbis: "The vorbis (libavc) codec provides an entry in the header of the ogg container reporting the average bitrate, but it doesn't appear to provide a similar bitrate header in the vorbis stream itself. Some programs may not report the bitrate value because of this." (http://www.linuxquestions.org/questions/linux-software-2/ffmpeg-vorbis-vs-libvorbis-782346/) I am not sure, if this is deliberate. You can see the difference in codec information at least when playing by VLC 1.0.2. (It also shows wrong duration for ogg tracks no matter which of the three encoders you use.)

Could someone tell, if the tag issue is fixed for the libvorbis encoder used by ffmpeg, too?

Revision history for this message
Jarno Suni (jarnos) wrote :

The issue is not fixed for vorbis and libvorbis encoders in 10.04.

Revision history for this message
Jarno Suni (jarnos) wrote :

As a correction to #6, VLC does not show track length for track encoded by vorbis, and does show wrong length for track encoded by libvorbis encoder or oggenc. This applies to VLC 1.0.6, too. Anyway, as oggenc is the reference encoder, there must be a bug in VLC.

Changed in ffmpeg:
status: Confirmed → Incomplete
Revision history for this message
Jarno Suni (jarnos) wrote :

The libvorbis issue seems to be fixed in libav-tools and ffmpeg 6:0.8.8 (Tested in ubuntu 13.10), but oggenc seems to be faster nowdays.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.