Opened 6 years ago

Last modified 6 years ago

#3694 closed defect

When transcoding from FLAC to MP3 the Year tag gets lost in the resulting mp3 file — at Initial Version

Reported by: dslkjlskdjfllk Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: id3v2 metadata
Cc: batguano999@zoho.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Pretty simple: Convert any properly tagged flag file to an mp3 file, and see that the resulting mp3 file does not have its YEAR tag set properly.

I tried:
D:\temp\playlists>ffmpeg -i "04 - Punk Rock Song (German Language Version)).flac" -qscale:a 2 output\PunkRockSong?.mp3

As per the documentation, here is the result of the following command on my input file:
D:\temp\playlists>ffmpeg -v 9 -loglevel 99 -i "04 - Punk Rock Song (German Language Version)).flac"
ffmpeg version N-63593-g98a6806 Copyright (c) 2000-2014 the FFmpeg developers

built on May 29 2014 22:09:02 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth

--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --e
nable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopenc
ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-lib
rtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --e
nable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --en
able-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --
enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib

libavutil 52. 87.100 / 52. 87.100
libavcodec 55. 65.100 / 55. 65.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100

Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with ar
gument '99'.
Reading option '-i' ... matched as input file with argument '04 - Punk Rock Song (German Language Versio
n)).flac'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 04 - Punk Rock Song (German Language Version)).flac.
Successfully parsed a group of options.
Opening an input file: 04 - Punk Rock Song (German Language Version)).flac.
[flac @ 0000000000310960] Format flac probed with size=2048 and score=50
[flac @ 0000000000310960] Before avformat_find_stream_info() pos: 8713 bytes read:32768

seeks:0

[flac @ 0000000000321960] sample/frame number mismatch in adjacent frames

Last message repeated 14 times

[flac @ 0000000000310960] All info found
[flac @ 0000000000310960] After avformat_find_stream_info() pos: 69632 bytes read:98304

seeks:0 frames:1

Input #0, flac, from '04 - Punk Rock Song (German Language Version)).flac':

Metadata:

ARTIST : Bad Religion
TITLE : Punk Rock Song (German Language Version))
ALBUM : Punk Rock Song (Single)
DATE : 1996
track : 04
GENRE : Punk Rock

Duration: 00:02:27.03, start: 0.000000, bitrate: 1056 kb/s

Stream #0:0, 1, 1/44100: Audio: flac, 44100 Hz, stereo, s16

Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000000319000] Statistics: 98304 bytes read, 0 seeks

I am using the latest version of ffmpeg under windows: FFmpeg Build Version: git-2e532aa (2014-05-31).

This can easily be reproduced.

Change History (0)

Note: See TracTickets for help on using tickets.