[FFmpeg-trac] #4441(avfilter:closed): support HDCD

FFmpeg trac at avcodec.org
Fri Jul 1 14:00:46 CEST 2016


#4441: support HDCD
-------------------------------------+------------------------------------
             Reporter:  calestyo     |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:  fixed
             Keywords:  hdcd         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by bp0):

 There is no documentation, how is this used?
 {{{
 $ ffmpeg -i HDCD16.flac -af hdcd OUT.wav
 }}}
 {{{
 ffmpeg version N-80801-gc0cb53c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
   configuration: --enable-libfdk-aac --enable-nonfree
   libavutil      55. 27.100 / 55. 27.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 40.101 / 57. 40.101
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 46.102 /  6. 46.102
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
 Input #0, flac, from 'HDCD16.flac':
   Metadata:
     ARTIST          : Laura Nyro
     DATE            : 2000
     GENRE           : Folk
     TITLE           : Wedding Bell Blues
     ALBUM           : Time And Love: The Essential Masters [2010 Audio
 Fidelity HDCD AFZ 085]
     track           : 02
     ENCODER         : Lavf56.31.100
   Duration: 00:00:20.00, start: 0.000000, bitrate: 932 kb/s
     Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 [wav @ 0x32a4d80] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
 Output #0, wav, to 'OUT.wav':
   Metadata:
     IART            : Laura Nyro
     ICRD            : 2000
     IGNR            : Folk
     INAM            : Wedding Bell Blues
     IPRD            : Time And Love: The Essential Masters [2010 Audio
 Fidelity HDCD AFZ 085]
     IPRT            : 02
     ISFT            : Lavf57.40.101
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo, s16, 1411 kb/s
     Metadata:
       encoder         : Lavc57.48.101 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 size=    3446kB time=00:00:20.00 bitrate=1411.3kbits/s speed= 348x
 video:0kB audio:3445kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.006973%
 }}}

 The output is also 16-bit, although a little quieter.

 The windows-only binary hdcd.exe that floats around has this to say about
 HDCD16.flac (after flac -d)
 {{{
 HDCD Detected
 Decoding Statistics:
   Packets Processed              : 231
   Peak extend                    : Never enabled
   Minimum gain                   : 0.0dB
   Maximum gain                   : 0.0dB
   Transient filter (Unsupported) : Enabled intermittently
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4441#comment:26>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list