Opened 2 years ago

Closed 5 months 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 2 years ago.
Log

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by Akita

Log

comment:1 Changed 2 years ago by richardpl

Upload files somewhere else if they are too big.

comment:2 Changed 2 years ago by cehoyos

There is no size limit on the ftp server.

comment:3 Changed 2 years ago by richardpl

  • Resolution set to needs_more_info
  • Status changed from new to closed

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

comment:4 Changed 5 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords debian id3v2 added
  • Reproduced by developer set
  • Resolution needs_more_info deleted
  • Status changed from closed to reopened
  • Version changed from unspecified to git-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 Changed 5 months ago by richardpl

  • Keywords id3v2 removed
  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in 5d3efe9e1f0b56595bd5d1287ae07a8f4277d71a / 00099ef0d0ddf6f5bdd8ddfb5b0179c560674af0.

Padded zeros where not ignored for last packet.

Note: See TracTickets for help on using tickets.