Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537556 - media-video/ffmpeg-1.2.6-r1 - ffmpeg fails to dump vorbis metadata
Summary: media-video/ffmpeg-1.2.6-r1 - ffmpeg fails to dump vorbis metadata
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 15:41 UTC by georg
Modified: 2015-02-15 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description georg 2015-01-24 15:41:46 UTC
I try to recode a ogg vorbis file to a different audio rate. I want to keep the metadata. The plan is to dump the metadata to a file and then include it again in the second step. 

The used file: 
http://alternativlos.cdn.as250.net/alternativlos-30.ogg

Contained metadata:
----------------
Input #0, ogg, from 'alternativlos-30.ogg':
  Duration: 02:55:17.21, start: 0.000000, bitrate: 75 kb/s
    Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp, 80 kb/s
    Metadata:
      ALBUM           : Alternativlos
      ARTIST          : Frank+Fefe
      COMMENT         : Alternativlos 30 über SIGINT, Kryptographie und die NSA
      GENRE           : Speech
      TITLE           : Alternativlos, Folge 30
      DATE            : 2013
      track           : 30
      METADATA_BLOCK_PICTURE: AAAAAwAAAAlpbWFnZS9wbmcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfp6JUE5HDQoaCgAAAA1JSERSAAACCQAAAesQAgAAAJr0RfgAACAASURBVHgB7L1tkJXVuaevMzFUjYiipIqXKulORdpMRJsGTx1NYndrxWRGGgStMRIjiK9TdYII8Xw6kW4931RazKkxaBTRiJ4pRegmM5nkQHeTlKYqvClOTcD87SZVNlSNCgpOlfHD+afXz1SWZ7u393r
------------------

Command i tried to dump the metadata:
ffmpeg -i alternativlos-30.ogg -f ffmetadata metadata.txt

Now the file "metadata.txt" should contain the metadata information. But it is nearly empty. Just a header cot printed
------------------
cat metadata.txt 
;FFMETADATA1
------------------


When i try the same thing on a mp3 file. it works.

Reproducible: Always

Steps to Reproduce:
1. Download file http://alternativlos.cdn.as250.net/alternativlos-30.ogg
2. ffmpeg -i alternativlos-30.ogg -f ffmetadata metadata.txt
3. cat metadata.txt
Actual Results:  
metadata.txt file contains 
;FFMETADATA1

Expected Results:  
metadata.txt file contains 
      ALBUM           : Alternativlos
      ARTIST          : Frank+Fefe
      COMMENT         : Alternativlos 30 über SIGINT, Kryptographie und die NSA
      GENRE           : Speech
      TITLE           : Alternativlos, Folge 30
      DATE            : 2013
      track           : 30
      METADATA_BLOCK_PICTURE: AAAAAwAAAAlpbWFnZS9wbmcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfp6JUE5HDQoaCgAAAA1JSERSAAACCQAAAesQAgAAAJr0RfgAACAASURBVHgB7L1tkJXVuaevMzFUjYiipIqXKulORdpMRJsGTx1NYndrxWRGGgStMRIjiK9TdYII8Xw6kW4931RazKkxaBTRiJ4pRegmM5nkQHeTlKYqvClOTcD87SZVNlSNCgpOlfHD+afXz1SWZ7u393r

in the ffmetadata format

Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.17.7-hardened-r1-slim x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-hardened-r1-slim-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8074748 total,   4476556 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Thu, 22 Jan 2015 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo science java x-portage user-schorsch-tech user-schorsch_76
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-sci /var/lib/layman/java /usr/local/portage /var/lib/layman/user/schorsch-tech /var/lib/layman/user/schorsch_76"
USE="X acl amd64 apng berkdb bindist bzip2 cairo cli cracklib crypt cxx dri gdbm gpg hardened iconv ipv6 jpeg justify mmx modules mp3 multilib ncurses nls nptl opengl openmp pam pax_kernel pcre png qt3support qt4 readline sdl session smtp sse sse2 ssl tcpd tiff truetype unicode urandom x264 xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="synaptics wacom mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" QEMU_USER_TARGETS="x86_64 arm i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-1.2.6-r1 was built with the following:
USE="X aac alsa bindist bzip2 encode hardcoded-tables iconv mmx mp3 network sdl truetype vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -avx -bluray -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libsoxr -libv4l -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -rtmp -schroedinger -speex -ssse3 -static-libs -test -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx" ABI_X86="64 -32 -x32" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher"
Comment 1 Alexis Ballier gentoo-dev 2015-02-15 11:08:17 UTC
please submit a bug/feature request at https://trac.ffmpeg.org/ since I get the same result with git master :/
Comment 2 georg 2015-02-15 18:03:18 UTC
Reported upstream
https://trac.ffmpeg.org/ticket/4312