Giter Site home page Giter Site logo

Comments (2)

Vargol avatar Vargol commented on July 28, 2024

It should be already in there as part of libavcodec.

build-ffmpeg % out/bin/ffmpeg -encoders 2>/dev/null | grep flac
 A..... flac                 FLAC (Free Lossless Audio Codec)
build-ffmpeg % out/bin/ffmpeg -i test-opus.opus -c:a flac output.flac
Stream mapping:
  Stream #0:0 -> #0:0 (opus (native) -> flac (native))
Press [q] to stop, [?] for help
[flac @ 0x12f879200] encoding as 24 bits-per-sample
Output #0, flac, to 'output.flac':
  Metadata:
    encoder         : Lavf58.76.100
    WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x3f
  Stream #0:0(ger): Audio: flac, 48000 Hz, 5.1, s32 (24 bit), 128 kb/s
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
      compatible_brands: isomiso2avc1mp41
      major_brand     : isom
      minor_version   : 512
      encoder         : Lavc58.134.100 flac
size=    1691kB time=00:00:04.88 bitrate=2835.3kbits/s speed=  81x    
video:0kB audio:1683kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.483429%
build-ffmpeg % file output.flac 
output.flac: FLAC audio bitstream data, 24 bit, 6 channels, 48 kHz, 234496 samples

from ffmpeg-apple-arm64-build.

zjns avatar zjns commented on July 28, 2024

It should be already in there as part of libavcodec.

build-ffmpeg % out/bin/ffmpeg -encoders 2>/dev/null | grep flac
 A..... flac                 FLAC (Free Lossless Audio Codec)
build-ffmpeg % out/bin/ffmpeg -i test-opus.opus -c:a flac output.flac
Stream mapping:
  Stream #0:0 -> #0:0 (opus (native) -> flac (native))
Press [q] to stop, [?] for help
[flac @ 0x12f879200] encoding as 24 bits-per-sample
Output #0, flac, to 'output.flac':
  Metadata:
    encoder         : Lavf58.76.100
    WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x3f
  Stream #0:0(ger): Audio: flac, 48000 Hz, 5.1, s32 (24 bit), 128 kb/s
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
      compatible_brands: isomiso2avc1mp41
      major_brand     : isom
      minor_version   : 512
      encoder         : Lavc58.134.100 flac
size=    1691kB time=00:00:04.88 bitrate=2835.3kbits/s speed=  81x    
video:0kB audio:1683kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.483429%
build-ffmpeg % file output.flac 
output.flac: FLAC audio bitstream data, 24 bit, 6 channels, 48 kHz, 234496 samples

Thank you for your reminder. I just looked at the readme document and didn't notice this.

from ffmpeg-apple-arm64-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.