Opened 9 years ago

Closed 7 years ago

#5489 closed defect (fixed)

Transcode from DSF (.dsf), audible error on output

Reported by: Akita Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: dsf debian
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
DSF to FLAC conversion. DSF header and DSF/ID3V2 metadata is decoded as audio and will produce audible error on output file.

It happens with all output formats.

How to reproduce:
ffmpeg -i test.dsf test.flac
ffmpeg version git-78baa45
built on 2016-04-28

Included files log, test.dsf, test.flac

Attachments (1)

ffmpeg-20160429-104259.log (41.5 KB ) - added by Akita 9 years ago.
Log

Download all attachments as: .zip

Change History (6)

by Akita, 9 years ago

Attachment: ffmpeg-20160429-104259.log added

Log

comment:1 by Elon Musk, 9 years ago

Upload files somewhere else if they are too big.

comment:2 by Carl Eugen Hoyos, 9 years ago

There is no size limit on the ftp server.

comment:3 by Elon Musk, 9 years ago

Resolution: needs_more_info
Status: newclosed

Without files there is nothing to fix. Please provide files and reopen bug report.

comment:4 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: debian id3v2 added
Reproduced by developer: set
Resolution: needs_more_info
Status: closedreopened
Version: unspecifiedgit-master

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896190
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket5489/

$ ffmpeg -i 2L-125_stereo-11289k-1b_04.dsf -ar 48k out.wav
ffmpeg version N-90797-g21da248 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-libxml2
  libavutil      56. 15.100 / 56. 15.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 19.100 /  7. 19.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[dsf @ 0x39ff400] Estimating duration from bitrate, this may be inaccurate
Input #0, dsf, from '2L-125_stereo-11289k-1b_04.dsf':
  Metadata:
    encoded_by      : Merging Technologies Album Publishing
    comment         : Generated by Merging Technologies Album Publishing
                    : Label Code: 2L
    title           : Frank Bridge Variations: 4. Romance
    artist          : TrondheimSolistene
    album_artist    : TrondheimSolistene
    composer        : Benjamin Britten
    album           : REFLECTIONS
    track           : 4/22
    disc            : 1
    TSRC            : NOMPP1603040
                    : 7041888521525
    publisher       : 2L
    date            : 2016
    genre           : Classical
  Duration: 00:01:38.00, bitrate: 22579 kb/s
    Stream #0:0: Audio: dsd_lsbf_planar, 1411200 Hz, stereo, fltp, 22579 kb/s
    Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1200x1200, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
Stream mapping:
  Stream #0:0 -> #0:0 (dsd_lsbf_planar (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    ITCH            : Merging Technologies Album Publishing
    ICMT            : Generated by Merging Technologies Album Publishing
                    : Label Code: 2L
    INAM            : Frank Bridge Variations: 4. Romance
    IART            : TrondheimSolistene
    album_artist    : TrondheimSolistene
    composer        : Benjamin Britten
    IPRD            : REFLECTIONS
    IPRT            : 4/22
    disc            : 1
    TSRC            : NOMPP1603040
                    : 7041888521525
    publisher       : 2L
    ICRD            : 2016
    IGNR            : Classical
    ISFT            : Lavf58.13.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc58.19.100 pcm_s16le
size=   18331kB time=00:01:37.76 bitrate=1536.0kbits/s speed=25.4x
video:0kB audio:18330kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001790%

comment:5 by Elon Musk, 7 years ago

Keywords: id3v2 removed
Resolution: fixed
Status: reopenedclosed

Fixed in 5d3efe9e1f0b56595bd5d1287ae07a8f4277d71a / 00099ef0d0ddf6f5bdd8ddfb5b0179c560674af0.

Padded zeros where not ignored for last packet.

Note: See TracTickets for help on using tickets.